V3 capacity model
This is the canonical demand model for ION V3. It separates observed production history, planning assumptions, derived load, service targets, and measurements that still require validation. Service designs use these inputs to produce their own capacity budgets; they do not invent independent platform forecasts.
Capacity-planning principles
Keep observed measurements, planning assumptions, derived rates, and targets visibly distinct.
Derive automation, investigation, ticket, and escalation demand from incident outcomes rather than total ingestion alone.
Budget stores, brokers, projectors, workflows, APIs, user sessions, integrations, and telemetry independently.
Rate-limit backfill, replay, retries, and projection rebuild so recovery work cannot consume ingestion headroom.
Include event fan-out, payload size, retries, projection writes, workflow activities, and query expansion.
A capacity test passes only when latency and backlog return to target after the peak or failure ends.
Evidence vocabulary
| Classification | Meaning |
|---|---|
| Observed | Measured historical or production data with an identified period. |
| Planning assumption | A value selected for architecture sizing but not yet confirmed by production telemetry. |
| Derived | A value calculated from observed data or planning assumptions using a stated formula. |
| Target | A required latency, freshness, availability, recovery, or cost outcome. |
| Measurement required | A load-bearing input that must be collected before selecting or changing capacity. |
Observed incident baseline
The source dataset contains populated periods from September 2024 through June 2026. Empty months are omitted. Daily values are derived from calendar days in the period. The source calls the automated population “filtered, scoped incidents”; the V3 operating model treats this as the approximate automatic closure path.
| Period | Customers | Tenants | Active users | Incidents/month | Incidents/day | Incidents/user | Auto-closed or filtered | Tickets | Customer escalations |
|---|---|---|---|---|---|---|---|---|---|
| Sep 2024 | 185 | — | 688,000 | 346,850 | 11,562 | 0.504 | 336,000 / 96.8% | 11,485 / 3.3% | 2,419 / 0.6% |
| Oct 2024 | 188 | — | 694,000 | 365,000 | 11,774 | 0.525 | 352,000 / 96.6% | 12,874 / 3.5% | 2,898 / 0.8% |
| Feb 2025 | 208 | — | 756,000 | 373,567 | 13,342 | 0.50 | 361,700 / 96.7% | 11,192 / 3.0% | 2,755 / 0.7% |
| Mar 2025 | 210 | — | 760,000 | 426,118 | 13,746 | 0.56 | 412,910 / 96.9% | 12,252 / 2.9% | 2,873 / 0.7% |
| Apr 2026 | 237 | 264 | 734,230 | 649,123 | 21,637 | 0.88 | 617,553 / 95.13% | 18,425 / 2.83% | 2,481 / 0.38% |
| May 2026 | 249 | 273 | 762,000 | 592,310 | 19,107 | 0.78 | 553,622 / 93.46% | 22,768 / 3.84% | 2,489 / 0.42% |
| Jun 2026 | 252 | 294 | 792,000 | 641,586 | 21,386 | 0.81 | 603,762 / 93.95% | 20,569 / 3.20% | 2,686 / 0.42% |
What changed in the observed period
From September 2024 to June 2026:
- customer count increased by approximately 36%;
- active users increased by approximately 15%;
- monthly incidents increased by approximately 85%; and
- incidents per active user increased from approximately 0.50 to 0.81, with an observed high of 0.88.
The original growth forecast uses 0.52 incidents per licensed user per month. Recent observations are higher, so the capacity model preserves 0.52 as the reference case and adds 0.88 as a mandatory sensitivity case.
Incident-processing funnel
| Funnel stage | Observed range | Capacity treatment |
|---|---|---|
| Automatically closed or filtered | 93.46%–96.9% | Use approximately 96% as the strategic planning ratio and test the lower observed outcome as a sensitivity. |
| Ticketed | 2.83%–3.84% | Use 4% of incidents as the conservative ticket-path capacity bound. |
| Escalated to customers | 0.38%–0.8% | Use 0.8% of incidents as the conservative escalation envelope. |
At the 1,000-customer reference envelope, this produces approximately 332,800 auto-closed incidents, up to 14,000 ticket-path candidates, and up to 2,774 customer escalations per day. The 4% population is a capacity bound; not every candidate necessarily becomes a persisted ticket or escalation.
Demand scenarios
| Scenario | Customers | Licensed users | Incidents/user/month | Incidents/month | Incidents/day |
|---|---|---|---|---|---|
| Observed Jun 2026 | 252 | 792,000 | 0.81 | 641,586 | 21,386 |
| Reference 500-customer plan | 500 | 10 million | 0.52 | 5.2 million | Approximately 180,000 |
| Reference 1,000-customer plan | 1,000 | 20 million | 0.52 | 10.4 million | Approximately 350,000 |
| High-incidence 500-customer sensitivity | 500 | 10 million | 0.88 | 8.8 million | Approximately 293,000 |
| High-incidence 1,000-customer sensitivity | 1,000 | 20 million | 0.88 | 17.6 million | Approximately 587,000 |
| Event-sourcing stress envelope | 500 | 25 million | 1.2 equivalent | 30 million | Up to 1 million |
The reference 1,000-customer scenario is the canonical planning envelope. The high-incidence scenario is a mandatory sensitivity test. The event-sourcing stress envelope comes from the event-store design estimate of up to one million incidents per day at 500 larger customers with approximately 50,000 licensed users each. It is a component stress case, not a forecast or service commitment.
Demand inputs
A 30-day planning month contains 2,592,000 seconds.
| ID | Input | Value | Classification |
|---|---|---|---|
| D1 | Customers | 252 observed; 500 and 1,000 planned | Observed and planning assumption |
| D2 | Licensed users | 792,000 observed; 10M and 20M planned | Observed and planning assumption |
| D3 | Incidents per user per month | 0.52 reference; 0.88 sensitivity | Planning assumption from observed data |
| D4 | Automatic-closure ratio | Approximately 96% | Planning assumption |
| D5 | Ticket-path population | Up to 4% | Conservative planning bound |
| D6 | Customer escalation ratio | Up to 0.8% | Conservative observed bound |
| D7 | Alerts per incident | Up to 10 | Event-sourcing stress assumption; measurement required |
| D8 | Entity occurrences per alert | Up to 20, producing up to 200 entity occurrences per incident | Event-sourcing stress assumption; measurement required |
| D9 | Domain events or updates per incident | Up to 20 | Event-sourcing stress assumption; per-store measurement required |
| D10 | Workflows per incident | Approximately 5 | Planning assumption; Temporal measurement required |
| D11 | Activities per workflow | Approximately 10 | Planning assumption; Temporal measurement required |
| D12 | Sustained peak factor | Up to 5× average | Planning assumption |
| D13 | Read/write ratio | Approximately 3:1 during business hours | Planning assumption; datastore measurement required |
| D14 | Interactive users per customer | Approximately 20 | UI planning assumption |
| D15 | Visits per interactive user per day | Approximately 5 | UI planning assumption |
| D16 | Backend calls per representative visit | Approximately 45 | UI reference model |
| D17 | Normal concurrent users | Up to 2,000 | Target |
| D18 | Peak concurrent users | Up to 6,000 | Target |
Derived processing load
The reference envelope contains 10.4 million incidents per 30-day month, or approximately 4.0 incidents per second on average. The sustained peak applies the 5× multiplier to rates, not to monthly volume.
| Workload | Amplification | Monthly volume | Average/second | Sustained 5× peak/second |
|---|---|---|---|---|
| Incidents | 1 per incident | 10.4M | 4.0 | 20 |
| Alerts | Up to 10 per incident | 104M | 40 | 201 |
| Entity occurrences | Up to 20 per alert, or 200 per incident | 2.08B | 802 | 4,012 |
| Domain events or updates | Up to 20 per incident | 208M | 80 | 401 |
| Workflows started | 5 per incident | 52M | 20 | 100 |
| Workflow activities | 50 per incident | 520M | 201 | 1,003 |
| Ticket-path candidates | 4% of incidents | 416K | 0.16 | 0.8 |
| Customer escalations | 0.8% of incidents | 83.2K | 0.032 | 0.16 |
An entity occurrence is one entity attached to one alert; it is not necessarily a globally distinct entity. Deduplication may reduce stored or processed unique entities, but capacity must first tolerate the pre-deduplication relationship volume.
At the high-incidence sensitivity envelope, the five-times peak approaches 34 incidents, 340 alerts, 6,790 entity occurrences, 679 domain events, and 1,698 workflow activities per second.
Event-sourcing stress envelope
The event-sourcing reference also defines a direct stress case of up to one million incidents per day. Applying the same amplification and a separate 5× intra-day peak produces:
| Workload | Amplification | Daily volume | Average/second | Sustained 5× peak/second |
|---|---|---|---|---|
| Incidents | 1 per incident | 1M | 11.6 | 58 |
| Alerts | Up to 10 per incident | 10M | 116 | 579 |
| Entity occurrences | Up to 20 per alert, or 200 per incident | 200M | 2,315 | 11,574 |
| Domain events or updates | Up to 20 per incident | 20M | 231 | 1,157 |
| Workflows started | 5 per incident | 5M | 58 | 289 |
| Workflow activities | 50 per incident | 50M | 579 | 2,894 |
| Ticket-path candidates | 4% of incidents | 40K | 0.46 | 2.3 |
| Customer escalations | 0.8% of incidents | 8K | 0.093 | 0.46 |
The stress estimate treats one million incidents/day as the daily volume and the 5× factor as intra-day concentration; it does not multiply the customer or user population again. These are logical object and workflow rates, not Azure service operations. Subscriber fan-out, settlement, retries, indexing, projection writes, deduplication, and persistence operations add further amplification at their owning boundary.
UI and dashboard envelope
The reference models a six-page UI envelope. Dashboard views generate approximately 30 backend calls, while other pages generate approximately three calls each. The planning model uses approximately 45 backend requests per representative visit.
Daily interaction volume at 1,000 customers
| Input or derived workload | Value |
|---|---|
| Interactive users | 20,000 |
| Visits per day | 100,000 |
| Backend requests per day | 4.5 million |
| 24-hour average | Approximately 52 requests/second |
| Ten-hour active-window average | Approximately 125 requests/second |
Daily averages do not size APIM, BFFs, SQL, Redis, or SignalR because page calls arrive in bursts. Until browser telemetry establishes actual visit duration, use the following session sensitivities.
Concurrent-session envelope
| Concurrent browser sessions | 45 calls over 15 minutes | 45 calls over 10 minutes | 45 calls over 5 minutes |
|---|---|---|---|
| 2,000 normal envelope | 100 RPS | 150 RPS | 300 RPS |
| 6,000 peak envelope | 300 RPS | 450 RPS | 900 RPS |
Capacity tests must therefore cover 450 RPS and 900 RPS until telemetry narrows the session-duration model. They must also cover up to 6,000 shell-owned SignalR connections, dashboard request bursts, group reassignment, and simultaneous reconnection after a gateway or SignalR interruption. Cache-hit assumptions must be reported separately; they do not reduce the uncached correctness envelope.
Data volume and lifecycle
Storage must be calculated from measured payload and index sizes instead of a single platform-wide terabyte estimate.
event-store monthly storage =
events per month
× average stored event size
× indexing and metadata factor
hot event storage =
monthly event-store growth × 6 months
cold archive storage =
monthly archived growth × 12 months
projection storage =
projected rows per month
× average row and index size
× projection retention
current live event storage =
monthly event-store growth × months since store inception
The six-month hot plus one-year cold policy is the target. Verified Blob archival followed by Cosmos DB TTL is the intended mechanism, but it is not implemented; live events currently remain indefinitely. Current capacity planning must therefore include monotonic live-store growth. Snapshots are designed but not implemented, so event-store tests must reconstruct aggregates from complete streams.
Track storage separately for Incident, Investigation, and Ticket event stores, operational projections, reporting projections, Temporal persistence, Blob archive, broker backlog and dead letters, and logs and traces. The checked-in Temporal infrastructure currently uses MySQL, while architecture material also asserts PostgreSQL; capacity approval remains blocked until that conflict is resolved.
Subsystem capacity budgets
Every owning service or platform component derives a budget from this model.
| Budget field | Required content |
|---|---|
| Demand | Average, business-hours, sustained peak, short burst, backfill, and rebuild rates |
| Amplification | Subscription fan-out, projection count, retries, workflow activities, query expansion, and recipient fan-out |
| Payload | Average, P95, and maximum item, message, row, request, response, and telemetry size |
| Scaling unit | RU/s, broker operations, SQL transactions, workflow tasks, HTTP requests, connections, messages, or bytes |
| Deployed capacity | SKU, units, replicas, partitions, autoscale range, worker concurrency, and connection limits from infrastructure as code |
| Tested capacity | Highest sustained and burst load that met latency, freshness, recovery, and error targets |
| Service ceiling | Relevant Azure, database, namespace, partition, connection, throughput, or storage limit |
| Headroom | Difference between calculated demand and tested sustainable capacity |
| Scale trigger | Lag, latency, saturation, throttling, storage, partition skew, backlog age, or connection utilization |
| Response | Tune, scale, isolate, repartition, migrate, or redesign |
Capacity formulas by boundary
| Boundary | Minimum derivation and measurements |
|---|---|
| Cosmos DB event stores | event writes/s × measured RU/write plus reconstruction reads, Change Feed reads, retention growth, indexing policy, event size, stream length, partition skew, and throttling; model Incident, Investigation, and Ticket stores separately. |
| Change Feed processors | Writes by physical partition, lease distribution, processor instances, average and oldest-event lag, outage catch-up rate, and projection-rebuild throughput. |
| Service Bus | Publications, matching-subscription deliveries, settlements, retries, scheduled messages, and dead-letter operations; include message size, sessions, subscriber fan-out, backlog age, and namespace limits. |
| Temporal and persistence database | incident rate × workflows/incident × activities/workflow; derive open workflows using arrival rate × mean duration; measure P50/P95 duration, long-wait tail, history size, retries, task queues, worker concurrency, schedule-to-start latency, database operations, IOPS, and connections. |
| Azure SQL projections | Projector writes, reporting writes, UI and service reads, row and index size, query shape, read/write mix, tenant skew, rebuild rate, CPU, data and log I/O, and replica use. |
| APIM and BFF compute | UI, advisor, customer, webhook, and workload request rates; token-policy cost, backend OAuth, request fan-out, response size, cache behavior, compute concurrency, and dependency latency. Count an ingestion path only when it actually traverses APIM. |
| SignalR | Concurrent connections, groups per connection, messages per event, recipient fan-out, catch-up, reconnect rate, authorization, service units, send throttling, and delivery lag. |
| External integrations | Per-tenant, endpoint, operation, subscription, and commercial-plan quotas; batching, concurrency, retry budgets, circuit breaking, and dead-letter growth. |
| Observability | Log and trace GB/day, sampling, metric cardinality, APIM trace volume, retention, daily caps, query load, and cost; bearer tokens and domain payloads must not become capacity inputs because they must not be logged. |
Do not reuse V4 stamp SKU assumptions for V3. V3 has different event-sourcing boundaries, retention, topology, and scale. Discover deployed V3 configuration from infrastructure as code and compare it with measured sustainable throughput before recommending a tier or unit count.
Peak, burst, backfill, and skew policy
| Load shape | Capacity purpose |
|---|---|
| Average | Long-term cost, storage, and normal utilization planning |
| Business hours | UI, reporting, analyst workflow, and external-integration planning |
| Sustained peak at 5× | Canonical production capacity envelope |
| Short 10× burst | Resilience and autoscale test only; not a demand forecast until production evidence establishes burst duration |
| Backfill and replay | Dedicated, rate-capped recovery or onboarding lane that cannot consume live-path headroom |
| Dependency constrained | Demonstrates controlled operation under supplier throttling or outage |
| High-volume tenant | Tests partition skew, fairness, and tenant isolation |
A capacity test must demonstrate that backlog age, freshness, and latency return to target after the load recedes. Merely accepting or buffering traffic during the peak is not sufficient.
Service targets
| Concern | Target |
|---|---|
| Incident freshness under normal load | Less than 30 seconds |
| Incident freshness at sustained peak | Less than 60 seconds |
| Vulnerability freshness | Less than 60 seconds |
| Reporting, asset, and risk-posture freshness | Less than 60 minutes |
| Automated action under normal load | Less than five minutes from ingestion |
| Internal availability | 99.9% engineering target |
| Standard views under normal load | Less than 10 seconds for up to 2,000 concurrent users |
| Standard views at peak load | Less than 30 seconds for up to 6,000 concurrent users |
| Platform recovery objective | Per scenario in ADR-0017: zone loss in minutes with RPO zero; logical failure on a T0 flow in four hours or less at the PITR granularity of the store; Switzerland North outage is an accepted risk |
| Event-store recovery objective | RPO zero for node and zone failures. RTO 30 minutes and RPO zero are targets for the planned multi-region posture |
RTO one hour and RPO zero for the platform are the targets for the planned Switzerland West warm spare. Cross-region disaster recovery is not deployed, and these targets are not current full-region guarantees.
Capacity-test matrix
| Scenario | Required evidence |
|---|---|
| Observed baseline | Production rate, payload, outcome, fan-out, latency, lag, and cost distributions agree with the model. |
| Reference average | Stable latency, freshness, utilization, error rate, and cost. |
| Sustained 5× peak | All ingestion, workflow, projection, API, UI, and dependency targets remain satisfied. |
| Event-sourcing stress envelope | Event stores, Change Feed, broker, projections, workflows, and entity processing tolerate one million incidents/day and their derived amplification. |
| Short 10× burst | Buffering and autoscale protect the live path and recover within the documented target. |
| High-volume tenant | No hot partition, unfair consumer allocation, or cross-tenant starvation. |
| External throttling | Ingestion remains protected, retries stay bounded, and failed work remains recoverable. |
| Retry storm | No duplicate domain effects or runaway message, workflow, or dependency amplification. |
| Projection outage and catch-up | The projection returns to its freshness target without exhausting live-path capacity. |
| Projection rebuild | Replay is rate-capped and produces a correct view without blocking live processing. |
| Temporal worker outage | Workflow backlog recovers without persistence saturation or lost outcomes. |
| UI dashboard burst | The 2,000- and 6,000-user envelopes meet view latency and error targets. |
| SignalR reconnect | Connections, group authorization, catch-up, and message delivery recover without a storm. |
| Archive and restore | Archive verification completes before TTL, and archived events can be restored and replayed. |
| Customer offboarding | Tenant deletion completes without unbounded scans or cross-tenant effects. |
Record end-to-end latency, P50/P95/P99 API latency, oldest-message age, Change Feed lag, projection lag, Temporal schedule-to-start latency, throttling, partition skew, autoscale timing, backlog recovery, duplicate-effect rate, and cost per million incidents and active customer.
Scaling response
Respond to a capacity breach in this order:
- Confirm that observed demand and event outcomes match the canonical model.
- Separate total-capacity pressure from partition or tenant skew, inefficient queries, excess fan-out, retry storms, and external quotas.
- Remove avoidable amplification, oversized payloads, unbounded concurrency, and unnecessary cross-partition or repeated reads.
- Tune batching, worker concurrency, indexes, cache policy, processor count, and autoscale limits within the current topology.
- Increase the service’s tested scaling unit when tuning cannot preserve the target.
- Isolate a workload into another namespace, store, queue, projection, worker pool, or compute boundary when shared scaling becomes unsafe.
- Repartition or redesign before reaching a hard service ceiling.
Measurements required
| ID | Measurement | Capacity consequence |
|---|---|---|
| M1 | Event, alert, entity, command, message, projection-row, request, and response P50/P95/max sizes | Cosmos RU, broker throughput, SQL storage and I/O, network, and cost |
| M2 | Alerts per incident, entity occurrences per alert, unique-entity deduplication ratio, and domain events by Incident, Investigation, and Ticket outcome | Object-processing rate, event-store writes, projection volume, storage growth, fan-out, and reconstruction |
| M3 | Subscribers and projections per event type | Service Bus operations, Change Feed work, and downstream amplification |
| M4 | Mean/P95 workflow duration, long-wait tail, activities, retries, and history size | Temporal workers, open workflows, persistence-database IOPS, connections, and storage |
| M5 | Browser visit duration, parallel page calls, cache hit rate, and response size | APIM, BFF, Redis, SQL, and network envelope |
| M6 | SignalR groups, recipients, message rate, catch-up, and reconnect behavior | Connection and send-unit sizing |
| M7 | Top-customer and top-tenant share of incidents, events, reads, and workflows | Partitioning, fairness, and hot-tenant protection |
| M8 | Backfill, replay, and projection-rebuild volume and completion target | Recovery-lane throughput and live-path headroom |
| M9 | Deployed SKUs, partitions, units, replicas, autoscale ranges, and worker concurrency | Actual headroom and first binding service constraint |
| M10 | Log, trace, and metric volume, sampling, retention, and query usage | Observability capacity and cost |