ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
  1. Architecture
  2. ION Architecture V3
  3. Well-Architected
  4. V3 reliability
  5. Scaling and headroom

Scaling and headroom

reliability
architecturev3

Scaling and headroom

Scaling is a reliability concern when capacity runs out: a spike, a zone loss, or a backlog drain after an outage can push a tier past its limit, and the flow fails even though nothing is broken. This page covers the reliability side of the Well-Architected checklist item RE:06 Design a reliable scaling strategy.

The demand side, meaning the planning envelope, the load shapes, and the capacity-test matrix, is owned by the capacity model. This page does not repeat it.

Four ways capacity fails

Zone-loss headroom

When one of three zones is lost, a zone-redundant tier keeps two thirds of its instances. Whether that is enough depends on how the tier scales.

Tier typeRule
Autoscaled and zone-redundantThe autoscale maximum MUST cover peak demand on two zones. The minimum MUST leave at least one instance in each remaining zone
Fixed size and zone-redundantThe fixed size SHOULD be about 1.5 times the peak need, so two zones carry the peak
Not zone-redundantA zone loss can remove the whole tier. The gap is in the DR gap register
Serverless, scaled by the platformMicrosoft moves instances to healthy zones. Watch backlog during the move

T0 tiers today

Componentprd capacityZone-redundantHeadroom after a zone lossConfidence
Application GatewayAutoscale 2 to 10 capacity units, zones 1, 2, 3YesThe maximum of 10 is not derived from the capacity model, and there is no capacity alert (Application Gateway capacity)Verified
APIMStandard, 2 unitsNo (DR-03)A zone loss can take every unitVerified
Service BusPremium, 1 messaging unitYesMicrosoft-managed. One unit carries every asynchronous flow. Utilization is not alerted (SC-04)Verified
Incidents Function AppsLinux Consumption, app_scale_limit 25 for messaging and 5 for HTTPNo, accepted (DR-12)The scale controller replaces instances in healthy zonesVerified
PigeonP0v3, 2 workers, always_onNo (DR-11)Unknown whether one worker carries the peak (SC-01)Verified
Cosmos DB event storesZone-redundant accountsYes, except cosno-dprso (DR-07)Microsoft-managed. Throughput is unchanged by a zone lossDocumented
Shell SignalRStandard_S1, 1 unitNo (DR-09)A zone loss drops every connection. MFEs keep working over REST with stale live views (no polling fallback, RT-02)Verified

Scale limits

A scale limit is a self-preservation control, not only a cost control. A Function App that scales without a limit can overrun the store behind it: more instances mean more concurrent writes to Cosmos DB or Azure SQL, more 429 responses, and a retry storm.

ServiceLimitProtects
boundedctx-incidents messagingapp_scale_limit 25Incidents event store and projections
boundedctx-incidents HTTPapp_scale_limit 5Query load on Azure SQL
Phoenixapp_scale_limit 6Graph and the Pigeon queues
Pigeon2 fixed workersGraph, Twilio, and email providers

Rules:

  • Every T0 and T1 compute tier MUST have an explicit maximum: a scale limit, an autoscale maximum, or a fixed size.
  • The maximum SHOULD be derived from the capacity of the dependency behind it, and the derivation recorded in the service’s capacity budget (SC-05).
  • Recovery work, such as replay, backfill, and DLQ reprocessing, MUST run in a rate-capped lane that cannot consume live-path headroom. This is the backfill rule in the capacity model.

Cold starts on T0 Consumption apps

The incidents Function Apps are T0 and run on Linux Consumption (Y1). After an idle period, the first execution waits for an instance to start.

EffectFlowRisk
The first incidents after a quiet period are appended laterFL-01, freshness under PERF-4Low: seconds against a 30-second target
The first Alya queries after a quiet period are slowerFL-03, view latency under PERF-2Medium: the HTTP app serves interactive users

Cold starts are not measured (SC-02). The target hosting is Flex Consumption with always-ready instances and zone balancing, which the ADR-0017 amendment sets as the default for new Function Apps.

Quotas and service limits

Some limits cannot be fixed by scaling. They are failure points and MUST be known before they are hit.

LimitWhere it bitesMonitored
Cosmos DB provisioned or autoscale maximum RU/s per containerEvent-store writes during a burst or a replayThrottling alerts in boundedctx-incidents
Service Bus Premium messaging-unit capacityEvery asynchronous flowNot documented (SC-04)
Service Bus maximum message sizeOversize messages fail. See RES-14No
APIM unit capacityEvery portalNot documented (SC-04)
Application Gateway maximum capacity unitsEvery hostname on the gatewayNo capacity alert
SignalR connections per unit: 1,000 on StandardShell live updatesNot sized (SC-03)
Microsoft Graph throttling per app and tenantTeams delivery and subscriptions (FL-02, FL-05)Send failures only. No 429 handling (RES-03)
Twilio account call rateVoice escalation during a burstCall failure alert
ServiceNow API rate limitsTicket creation during a burstTicket Creation Latency alert
Entra ID token issuance throttlingEvery flow during a mass restartNot documented
Check the current numbers

Service limits change. Each limit SHOULD be recorded in the service’s capacity budget with its source and the date it was checked, not copied into this page.

Gaps

IDSeverityGapFixOwner
SC-01MEDIUMZone-loss headroom is not calculated for the fixed-size T0 tiers: APIM, Pigeon, and the single Service Bus messaging unitCalculate peak need on two zones and size to it, as part of DR-03 and DR-11CPE, Pigeon team
SC-02MEDIUMCold starts on the T0 incidents Function Apps are not measuredMeasure the first-request latency after idle. Move to Flex Consumption with always-ready instances when DR-12 is scheduledIncidents team
SC-03MEDIUMShell SignalR has 1 unit, 1,000 connections, and is not sized against the M6 measurement in the capacity modelMeasure concurrent connections and size the units, together with DR-09Alya shell BFF team
SC-04MEDIUMNo utilization alerts on the Service Bus messaging unit or APIM capacityAlerts at 70 to 80% utilization, routed to SRECPE
SC-05LOWScale limits are not derived from the capacity of the dependency behind them, and the T0 capacity budgets are not filled inFill in the capacity budget for each T0 componentOwning teams

The missing load test, which would show the first bottleneck on the T0 path, is tracked as RT-01 in reliability testing.

Related pages

  • Capacity model
  • Capacity, sizing, and scaling architecture
  • Maturity model: assess the impact of scaling
  • Microsoft Learn: Reliable scaling (RE:06)

On this page

  • Four ways capacity fails
  • Zone-loss headroom
  • T0 tiers today
  • Scale limits
  • Cold starts on T0 Consumption apps
  • Quotas and service limits
  • Gaps
  • Related pages
PreviousReliability testing
NextTargets and health model
Edit on GitHubSecurity