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. Decisions
  2. Volatility-based decomposition as the primary system-boundary rule

Volatility-based decomposition as the primary system-boundary rule

activeoperational excellence
decisionsv2v3v4active0002decompositionsystemsareas-of-volatilitydddv2-foundational

ADR-0002 — Volatility-based decomposition as the primary system-boundary rule

Forces / Drivers

  • Requirement / Constraint:
    • ../context/integration-boundaries.md — ION integrates with multiple external systems it does not control (Sentinel, Defender XDR, Teams, ServiceNow, threat-intel, LLM providers). Each is an independent source of change.
    • ../context/quality-goals.md — Maintainability (< 2 business days for minor updates); Deployability (< 10 min downtime/mo).
    • ../context/constraints.md#bc-5 — BC-5 Vendor lock-in mitigation.
    • ../context/capacity-model.md#demand-scenarios — 25× customer growth and 79× incident-volume growth from Tiberium to V3 planning; each system’s scaling axis is different.
  • Principle(s) embodied: § 1 Volatility-based decomposition, § 3 Domain-Driven Design modelling, § 20 Vendor lock-in mitigation.
  • WAF pillar optimized: operational-excellence (primary); reliability, performance-efficiency (secondary).

Context

ADR-0001 established that ION would be decomposed into independently deployable services collaborating over a broker. It did not answer how to draw the boundaries. Two common answers were on the table when V2 was consolidated:

  1. Draw boundaries by domain (DDD bounded contexts). Each business capability — Incident, Investigation, Ticket, Customer Collaboration, Reporting — becomes a service or a group of services.
  2. Draw boundaries by technical concern. Ingestion service, storage service, projection service, API service, UI service — each a horizontal layer.

The Tiberium/Voyager experience made a third dimension urgent: change did not respect either boundary.

  • The Sentinel connector changed at Microsoft’s release cadence, not ION’s. A new incident schema field would ripple through every service that touched the Sentinel-shaped payload.
  • The Teams Adaptive Card runtime changed at Microsoft’s cadence and differently from Sentinel. A card-format change had no reason to touch the incident-processing pipeline.
  • The ServiceNow ticketing integration changed at the customer’s ServiceNow-instance cadence, per-customer.
  • The UI changed at Ontinue’s product-release cadence, independent of all of the above.
  • The customer-onboarding and access-management logic changed at commercial cadence (new customer tier introduces new RBAC rules).

Each of these is a distinct source of change. A pure-domain decomposition (Option 1) would concentrate all Sentinel-adjacent volatility into the “Incident” service, all Teams-adjacent volatility into the “Customer Collaboration” service — but within a service, unrelated volatility sources would still collide (an incident-processing change and a Sentinel-connector change hit the same code). A pure-technical decomposition (Option 2) would spread every change across every layer.

Juval Löwy’s Righting Software names this problem directly and offers the answer: decompose the system by Areas of Volatility. ION adopted this vocabulary as its primary decomposition rule, with DDD bounded contexts as the modelling layer that lives inside it.

Decision

ION V2 adopts volatility-based decomposition as the primary rule for drawing system boundaries:

  • The primary unit of decomposition is the Area of Volatility — in ION’s documentation, called a system.
  • A system contains a set of tightly-related services that share a single dominant source of change (a specific external integration, a specific business capability with its own release cadence, or a specific regulatory boundary).
  • When that source of change moves, the change is contained inside the owning system and does not cascade platform-wide.
  • DDD bounded contexts remain the modelling vocabulary — aggregates, ubiquitous language, domain events — but they live inside systems. When the DDD boundary and the volatility boundary diverge, the volatility boundary wins for physical decomposition and the DDD boundary wins for modelling.

The seven ION systems (alya, cogs, kingsman, pigeon, veritas, watchtower, ion-iq with sub-systems gutenberg, herald, yammer) are each an Area of Volatility. Detailed per-system rationale lives in ../design/systems/.

Alternatives considered

  • Option A — Pure DDD bounded-context decomposition. Rejected as the primary rule (retained as the modelling rule). Domain boundaries and volatility boundaries do not always coincide; when they diverge (e.g., “Incident” as a domain absorbs both Sentinel-shaped ingestion volatility and business-rule triage volatility), a single service ends up carrying two independent change vectors, defeating the value of the decomposition. Kept as the layer inside systems for aggregates and language.
  • Option B — Technical-layer decomposition (ingestion / storage / API / UI horizontal layers). Rejected. Every business capability change hits every layer; deployment coupling is maximised; ownership becomes ambiguous. Would have re-created the Tiberium coupling in a new coat.
  • Option C — Team-topology-first decomposition (Conway’s Law inverted). Rejected as the rule but accepted as an input — team boundaries are respected when drawing systems, but they are not the primary driver. Team boundaries change more often than the business or its integrations, so they cannot anchor the physical decomposition.
  • Option D — External-integration-only decomposition (one system per external system). Rejected as too narrow. Some Areas of Volatility (customer onboarding, reporting) are not driven by a single external integration; they are their own source of change.

Rationale

The chosen rule wins because it directly answers the operational question the Tiberium/Voyager merge exposed: “when X changes, what changes with it?”

  • When Microsoft changes the Sentinel incident schema: the change is confined to Watchtower (the system that owns the Sentinel integration). No other system’s code is touched.
  • When Microsoft changes the Teams Adaptive Card runtime: the change is confined to Pigeon (the system that owns the customer-facing Teams messaging). Incident processing is untouched.
  • When ServiceNow changes its ticketing API: the change is confined to Watchtower (which also owns the ServiceNow integration). Customer collaboration is untouched.
  • When a new threat-intelligence provider is integrated (or an existing one changes its API): the change is confined to Kingsman (the system that owns threat-intel integrations). The incident, ticket, and reporting paths are untouched.

Identity and access-management changes (RBAC assignments, Entra ID configuration) sit outside the ION platform boundary and are not owned by any ION system — by the same containment logic, they cannot ripple into ION services either.

This containment is not automatic — it depends on event-driven microservices (ADR-0001) as the collaboration substrate, since only asynchronous, contract-versioned events allow one system to change internally without breaking others on the hot path. That is why this ADR is strictly downstream of ADR-0001.

Systems act as shock absorbers for external volatility (§ 1 consequence). Services within a system are intentionally more tightly coupled to each other than to services in other systems — that coupling is the price of containment, and it is paid deliberately.

DDD is retained as the modelling vocabulary because engineers reason about aggregates and ubiquitous language, not about “volatility axes” day-to-day. The two-layer approach — volatility for physical, DDD for modelling — gives both the change-containment and the design-vocabulary benefits.

Consequences

Positive

  • Change is contained: an external-integration change ripples inside one system, not across the platform.
  • Independent scaling per system: Watchtower (external integrations — high-throughput Sentinel ingestion + ServiceNow write-back) and Pigeon (customer collaboration — bursty Teams messaging bounded by bot API ceilings) have wildly different scaling axes, and each can be tuned without touching the other.
  • Independent team ownership: each system can be owned by a team whose backlog is dominated by that system’s source of change.
  • Vendor lock-in mitigation (§ 20) is enforced by the boundary: the Sentinel adapter cannot bleed Sentinel-specific types into the platform because the platform doesn’t know about Sentinel.
  • The Container View- *.md reference set (one per system) and the drawio system topologies map directly onto this decomposition.

Negative

  • Intra-system service coupling is intentional — teams new to the platform may see the coupling and try to “clean it up” without understanding it’s load-bearing.
  • The DDD boundary vs. the volatility boundary occasionally diverge (e.g., a bounded context spans two systems, or one system contains two contexts). Requires explicit mapping in ../design/domains/.
  • Not every observer initially agrees a given boundary is “the right one”; boundary re-drawing is expensive because it moves services across teams. Requires deliberate governance.
  • Requires a shared vocabulary — “system” as Area of Volatility is not the C4 sense of “container”, and historical ION references confusingly used “container” for the same thing. See principles/README.md glossary.

Neutral / follow-ups

  • Every system requires its own overview + topology diagram + service list. Realised in ../design/systems/ and the V3 structural design.
  • Services carry a system: <name> frontmatter tag (../standards/documentation-standards.md#8-services--flat--tag-based) — the tag, not the folder path, is what encodes system membership.

WAF Pillar Impact

  • Primary pillar: operational-excellence — the decision optimises for change-containment and independent team ownership. Every “how do I make this change without breaking the rest of the platform” question resolves at a system boundary.
  • Secondary pillars:
    • reliability — a failing external integration is confined to its owning system; DR posture (ADR-0007) can be per-system where required.
    • performance-efficiency — each system tunes its scaling axis independently (Pigeon on ingestion throughput, Ion IQ on read-side query load).
  • Trade-offs:
    • Sacrifices the “clean” DDD-only decomposition that some team members will instinctively want.
    • Sacrifices the option to reorganise services across system boundaries cheaply.
    • Adds the vocabulary cost of “system = Area of Volatility, not C4 container”.

References

  • ../references/Container View- Alya.md, Container View- Cogs.md, Container View- Kingsman.md, Container View- Pigeon.md, Container View- Veritas.md, Container View- Watchtower.md, Container- ION IQ.md — one per system.
  • ../references/Domain- Customer Collaboration.md, Domain- Incident.md, Domain- Investigation.md, Domain- Ticket.md — the DDD modelling layer that lives inside systems.
  • ../references/Architecture- Ontinue ION V2.md and Architecture- Ontinue ION v3.md — V2 and V3 architecture consolidations.
  • External: Juval Löwy, Righting Software — origin of the volatility-based decomposition rule.

Related ADRs

  • Depends on: ADR-0001 — asynchronous collaboration is the substrate that makes system-level change-containment possible.
  • Enables:
    • ADR-0003 — Choreography over orchestration (systems choreograph across their boundaries).
    • ADR-0004 — Event-Carried State Transfer (events cross system boundaries carrying state).
    • Per-system architecture in ../design/systems/.
  • Related: ADR-0007 (DR posture — DR can be per-system where required), ADR-0011 (Shared APIM — the sync surface is deliberately shared across systems to avoid re-fragmenting the API layer at every boundary).

On this page

  • Forces / Drivers
  • Context
  • Decision
  • Alternatives considered
  • Rationale
  • Consequences
  • WAF Pillar Impact
  • References
  • Related ADRs
PreviousEvent-Driven Microservices as the platform architecture style
NextChoreography over orchestration for cross-system collaboration
Edit on GitHubSecurity