Capacity, sizing, and scaling
This capability translates the canonical V3 capacity model into Azure resource sizing, load-test evidence, scale triggers, and operational actions. The context model owns workload demand; this section owns the answer to whether the checked-in V3 configuration can carry that demand.
Planning envelope
The production reference is the 1,000-customer scenario. The event-sourcing scenario is a stress test, not a forecast.
| Workload | Reference sustained peak | Event-sourcing stress peak |
|---|---|---|
| Incidents | 20/s | 58/s |
| Alerts | 201/s | 579/s |
| Entity occurrences | 4,012/s | 11,574/s |
| Domain events or updates | 401/s | 1,157/s |
| Workflow activities | 1,003/s | 2,894/s |
| UI requests | 450 and 900 RPS sensitivities | Revalidate if the UI model changes |
| Concurrent browser and SignalR sessions | 6,000 | Reconnect storm in addition to steady state |
These are logical rates. Cosmos RU, Service Bus operations, SQL transactions, Temporal persistence operations, SignalR sends, and telemetry volume require the amplification calculations in architecture.
Current verdict
The reviewed infrastructure is checked-in production configuration, not proof of live Azure state. Verdicts are anchored at three points — the observed load today, the volume at the checked-in SKU’s first ceiling, and the planned envelope. The architecture page shows the computed storage, RU, operations, bandwidth, connection, and IOPS numbers behind each row.
| Boundary | Checked-in configuration | Verdict | First ceiling and decision |
|---|---|---|---|
| Incident Cosmos | Serverless, one logical partition per incident | Fits → Insufficient | Serverless suits today’s intermittent load; sustained ~150–200k incidents/day needs provisioned autoscale (~8–20k RU/s). |
| Investigation Cosmos | Serverless | Fits | Within a single partition even at stress; confirm events/incident. |
| Ticket Cosmos | Deployment source not found | Unknown | Demand is negligible; locate the source and record topology. |
| Service Bus | Premium, one MU, one immutable partition | Fits → At risk | ~4,411 ops/s at reference reaches the 1-MU envelope near ~150k incidents/day; autoscale 2 MU. |
| Event Hubs | Standard, one TU, auto-inflate to four | Fits → Insufficient at stress | 4-TU bandwidth (4 MB/s) is reached near ~490k incidents/day; raise auto-inflate toward 40 TU or Premium. |
| Incident SQL | P1, 125 DTU, 500 GB | Fits → Insufficient | Reference entity/alert row and storage volume exceeds P1; move to Hyperscale with read replicas. |
| Reporting SQL | External S3; internal S1 at 250 GB | At risk | Internal S1 is already at its 250 GB ceiling; scale off it; external S3 insufficient at 6,000 dashboard users. |
| APIM | Standard, two units, autoscale to three | Fits | 900 RPS is ~30–36% of policy-adjusted two-unit capacity; autoscale 3 units; stream 10 MB exports. |
| Functions | Windows Consumption Y1 | Fits | Scales out today and at reference; watch 600 conns/instance and 10-min timeout; evaluate Flex on evidence. |
| SignalR | Standard S1, one unit | Fits → Insufficient | One unit ≈ 1,000 connections; the 6,000 envelope needs ≥10 units or Premium. |
| Temporal compute | Fixed server and 1–2 workers | Fits → Insufficient | Carries ~62 activities/s today, not ~1,003/s; add replica scale rules. |
| Temporal persistence | MySQL D2ads_v5; docs also assert PostgreSQL | Blocked | Reference demand exceeds 3,200 IOPS / 250 connections regardless of engine; resolve the engine first. |
| Redis | Managed Balanced_B3 and legacy both in IaC | Blocked | Identify the active cache before benchmarking. |
| Observability | Shared PAYG workspaces, mixed caps | Fits → At risk | ~1 GB/day today; reference approaches the 100 GB/day App Insights default. |
| Event archive | No retention workflow deployed | Insufficient | Build verified Blob archival before enabling Cosmos TTL; size for indefinite live growth until then. |
Fits means computed demand is within the configured limit with headroom. At risk means a configured limit or growth pattern is reached within the planning horizon. Insufficient means computed demand already exceeds the configured limit. Blocked identifies a resource conflict that prevents a valid SKU decision. Unknown means the deployment source has not been located.
Contents
- Architecture — planned demand, per-service sizing against checked-in SKUs and Azure limits, SKU decisions, scale ceilings, and fit verdicts.
- Guidelines — mandatory capacity and delivery rules.
- Implementation — the sizing worksheet, worked event-pipeline example, load tests, and scaling procedures.
- UI responsiveness — browser, MFE, BFF, and perceived latency design.
- Data and events — authoritative event delivery, ordering, idempotency, replay, and contract semantics.
The former event-throughput capability has been consolidated here. Event delivery correctness remains in the data-and-events design; throughput, backpressure, backlog recovery, and broker sizing belong in this capability.