Capacity, sizing, and scaling guidelines
The architecture page holds the computed verdicts. This page lists the ION-specific traps that make those verdicts easy to get wrong. Each rule ties back to a number or decision in the architecture.
Method
- MUST anchor every verdict at three points — observed load today, the checked-in SKU’s first ceiling, and the planned envelope — using the canonical capacity model as the demand source.
- MUST compute demand in the resource’s own unit (RU/s, broker ops/s, rows/s, IOPS, RPS, connections, MB/s, GB/day) before assigning a verdict. A limit that exceeds one logical event rate is not a fit.
- MUST use only these verdicts; there is no “Conditional”:
| Icon | Verdict | Meaning |
|---|---|---|
| ✅ | Fits | Computed demand is within the configured limit with headroom. |
| ⚠️ | At risk | A configured limit or growth pattern is reached within the planning horizon. |
| ❌ | Insufficient | Computed demand already exceeds the configured limit. |
| 🚫 | Blocked | A resource conflict prevents a valid SKU decision. |
| ❓ | Unknown | The deployment source has not been located. |
- MUST say “checked-in production configuration”, never “live Azure state”, when the evidence is Terraform.
- MUST-NOT copy V4 stamp SKUs or rates into V3 without a V3 derivation.
ION-specific traps
- Event store holds events only. The ~20 domain events/incident (~2 KB) go to Cosmos; the 10 alerts and 200 entity occurrences go to operational Azure SQL. Never size Cosmos against entity fan-out, and never let SQL row volume be attributed to the event store.
- One logical partition = one incident. The ~40 KB stream stays well under the 20 GB partition cap, but the key is fixed at creation — repartitioning is a migration, not a config change.
- Cosmos serverless is a profile limit, not a wall. The per-incident key means no hot partition, so the binding constraint is serverless’s intermittent profile (no sustained-throughput guarantee), not the 5,000 RU/s physical-partition ceiling. Move to provisioned autoscale above ~150–200k incidents/day; do not claim sustained throughput from serverless.
- Service Bus is the internal backbone; Event Hubs is external-ingress only.
Size Service Bus as
P × (1 + 2S)broker ops, not just publications. The Premium partition count is immutable — going past 1 MU of partitions needs a new namespace and migration, not an autoscale bump. - Full-stream reconstruction is the read cost. Snapshots are designed, not deployed, so every aggregate load replays its whole stream. Size reads and Change Feed catch-up for full replay until snapshots ship.
- Live Cosmos grows forever today. Verified Blob archival and TTL are not deployed, so model permanent event-store growth. Do not delete a live event until archive completeness, order, schema, tenant scope, and replay are proven.
- Temporal persistence SKU is Blocked. The checked-in MySQL
D2ads_v5conflicts with the PostgreSQL named in architecture docs. Do not approve a persistence tier until the engine owner is resolved — demand exceeds 3,200 IOPS / 250 connections at reference regardless. - Temporal node scaling ≠ replica scaling. Container Apps workload-profile nodes do not scale the fixed 1–2 worker replicas. Replica and task-queue scale rules must be explicit.
- SignalR must scale before the claim. One Standard unit ≈ 1,000 connections; 6,000 concurrent needs ≥10 units or Premium. Size connections, recipient fan-out, 2 KB billing chunks, and coordinated reconnect separately.
- Redis identity is Blocked. Managed
Balanced_B3and a legacy Redis both appear in IaC. Identify the active cache before publishing a verdict, and never let cache availability gate authorization or correctness. - Internal reporting SQL S1 is already at its 250 GB ceiling. It is At risk today, not at the planning horizon — size its growth now.
- APIM units are not RPS. Validate 900 RPS against the real global, API, operation, webhook, JWT, and managed-identity policies, and stream 10 MB exports rather than buffering them.
- 10× is a resilience test, not a forecast. Prove recovery to freshness, latency, and oldest-work targets after the burst; buffering alone is not acceptance.