Engineering9 blocks
Mateo SilvaUpdated 25 minutes ago
Contributors

System overview

The Q1 architecture separates the search read index from the document write pipeline to keep p95 query latency under 40ms across workspaces. Each block edit emits an immutable delta alongside a restorable version snapshot.

Regional rollout note

Workspaces in EU and APAC sync search shards through the priority queue before instant Cmd+K indexing is enabled.

Readiness checklist

  • Freeze schema contract for all 6 block types
  • Verify Undo stack and version restore flow
  • Run 10k QPS search failover drill

Index router configuration

tsx
export async function publishBlockDelta(docId: string, revision: number) {  const payload = { docId, revision, indexedAt: Date.now() }  return searchQueue.enqueue("wiki.blocks.upsert", payload)}

Service latency budgets

Servicep95 budgetStatus
Block store22msHealthy
Search index38msMonitoring
Version snapshots45msHealthy