Skip to content
9 changes: 9 additions & 0 deletions .server-changes/fix-dispatch-shard-tenant-based.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
area: webapp
type: feature
---

Two-level tenant dispatch architecture for batch queue processing. Replaces the
single master queue with a two-level index: a dispatch index (tenant → shard)
and per-tenant queue indexes (tenant → queues). This enables O(1) tenant
selection and fair scheduling across tenants regardless of queue count. Improves batch queue processing performance.
Loading