Cross-phase · Architecture Core

AIB Non-Functional Requirements & SLO Register

Version: 1.1 | Status: Draft | Date: 2026-06-16 | Owner: CTO / Chief Architect

Update 2026-06. The SLO targets (availability, latency, RTO/RPO) are unchanged, but the underlying infra tier is redesigned per Cloud Infrastructure Research + ADR-011–ADR-016: the production core moves off Cloudflare D1 (SQLite) to a PostgreSQL-wire engine on a sovereign primary (CH/EU SEAL-3) with a near-sync secondary; Cloudflare is edge-only. References to "D1" / "Cloudflare edge/data tier" below now denote the sovereign primary + edge split.


1. Purpose

Non-functional targets for AIB are currently scattered across the technology architecture (web/content/phases/d.md), the per-service API specs under docs/service-apis/, the verification checklist (docs/VERIFICATION-CHECKLIST.md), and the requirements register (REQ-NFR-001…REQ-NFR-007). This register consolidates them into one authoritative source: a single place where every availability, latency, recovery, and regulatory-timeliness commitment is stated, quantified, mapped to an owning service, and given an error budget.

Scope: the eight domain microservices, the Cloudflare edge/data tier, and the regulatory reporting pipeline. The register is the operational counterpart to the architecture-level REQ-NFR-* requirements — it turns each requirement into a measurable Service Level Objective (SLO) with a breach path.

Conventions:

  • SLI — the measured indicator (e.g. successful-request ratio, P95 latency).
  • SLO — the target value for that indicator over a rolling window.
  • Error budget — 100% − SLO; the permitted shortfall before remediation is mandatory.
  • All latency figures are server-side, measured at the API gateway (SIM-AIS-001 path equivalent), excluding client network time.
  • Window for availability/latency SLOs: rolling 30 days unless noted.

This is mock data for a simulated entity (SIM-*); no figures represent a live bank.


2. Availability & resilience SLOs

Availability is measured as successful-response ratio across the three monitored zones (sovereign primary, near-sync secondary, edge). Platform-wide target is 99.95% (REQ-NFR-001), giving an annual downtime budget of ~21.9 hours. Critical-path services carry a tighter internal target; reporting and audit, being asynchronous or append-only, can absorb more.

ServiceOwning APIAvailability SLOError budget (30d)Tier
Tradingaib-trading-service-api99.97%~13 minCritical
Settlement (within Operations/Trading)aib-trading-service-api99.95%~22 minCritical
Paymentsaib-operations-service-api99.95%~22 minCritical
Compliance (KYC/sanctions)aib-compliance-service-api99.95%~22 minCritical
AML alertingaib-aml-service-api99.9%~43 minImportant
Identityaib-identity-service-api99.95%~22 minImportant
Risk (KRI/credit)aib-risk-service-api99.9%~43 minImportant
Reportingaib-reporting-service-api99.5%~3.6 hStandard (async)
Audit logaib-audit-service-api99.99% (write path)~4 minCritical (append-only)

Resilience requirements (REQ-NFR-006): ≥3 geographic replicas, backups tested quarterly (DORA Art. 22). The sovereign primary provides near-sync read replicas, a 3-2-1-1-0 immutable/air-gapped backup chain, and point-in-time recovery. The aib-audit-service-api write SLO is deliberately the strictest: an unrecorded mutation is a compliance failure (BCBS 239 P12, DORA Art. 9), so the append-only path is prioritised above all else.


3. Latency SLOs

P95 figures below are drawn from the service API specs and confirmed in docs/VERIFICATION-CHECKLIST.md. P99 targets follow the platform envelope REQ-NFR-004 (user-facing P95 < 500ms, P99 < 2s) and are set per operation where the spec is tighter.

OperationOwning APIP95P99 (target)Source
KYC client lookup / reviewaib-compliance-service-api200ms< 800mschecklist
Sanctions screenaib-compliance-service-api500ms< 2schecklist / PROC-003
AML alert creationaib-aml-service-api100ms< 500mschecklist / PROC-002
Order (pre-trade gate)aib-trading-service-api100ms< 500mschecklist / PROC-004
Trade bookingaib-trading-service-api200ms< 800mschecklist
Settlement instructionaib-trading-service-api500ms< 2schecklist / PROC-009
Payment processingaib-operations-service-api200ms< 800mschecklist / PROC-008
Client lookup (identity)aib-identity-service-api50ms< 200msservice spec
KRI readingaib-risk-service-api100ms< 500msservice spec
Audit-log queryaib-audit-service-api500ms< 2sservice spec
Audit-log writeaib-audit-service-api< 1ms< 5msservice spec
Database query (indexed)edge/data tierP50 < 50ms< 200msphases/d.md
COREP C01–C47 generationaib-reporting-service-api—< 30sphases/d.md
Full-portfolio settlement query (10k positions)aib-trading-service-api—< 5sphases/d.md

The order-gate P95 (100ms) is the tightest interactive budget because the four-check pre-trade gate (PROC-004) sits in the synchronous order path; any overrun directly delays execution and risks MiFID II Art. 27 best-execution exposure.


4. Recovery objectives (RTO / RPO per tier)

Disaster-recovery targets per phases/d.md and REQ-NFR-002/REQ-NFR-003. Failover is automated to the Frankfurt secondary; recovery is evidenced by the quarterly DR test signed off by the CRO.

TierServicesRTORPO
Tier 0 — tradingaib-trading-service-api (order/trade)15 min5 min (strive < 1 min via Kafka log)
Tier 0 — settlementaib-trading-service-api (settlement), aib-operations-service-api (payments)30 min5 min
Tier 1 — compliance/AMLaib-compliance-service-api, aib-aml-service-api30 min5 min
Tier 1 — identityaib-identity-service-api30 min5 min
Tier 2 — risk/reportingaib-risk-service-api, aib-reporting-service-api4 h1 h
Tier 0 — auditaib-audit-service-api15 min0 (no acceptable loss)

Scenario-level recovery (from phases/d.md DR plan): primary DB failover 30s / RPO 5min; Kubernetes cluster 10min / RPO 1min; Cloudflare reroute 2min / real-time; data-centre loss → Frankfurt 15min / RPO 5min; ransomware → immutable cold-storage restore 2h. The platform RTO of 15 min governs the trading tier; settlement is permitted 30 min because it operates on a T+2 cycle (PROC-005) and tolerates short interruption without breaching CSDR Art. 5.


5. Regulatory timeliness SLAs

These are externally-imposed deadlines, not internal SLOs — a breach is a reportable regulatory event written to audit_log with regulatory_event set, and typically also an rcsa_risk_event. Owning service in brackets.

ObligationDeadlineOwning APIRegulation
DORA ICT-incident initial report4 haib-reporting-service-api / IR charterDORA Art. 19
DORA intermediate report72 haib-reporting-service-apiDORA Art. 19–20
DORA final report1 monthaib-reporting-service-apiDORA Art. 20
STR / SAR filing5 business daysaib-aml-service-api (str)SPG Art. 17, PROC-002
Sanctions FIU notification48 haib-compliance-service-apiSPG Art. 18, PROC-003
QIR client reportingT+15aib-reporting-service-apiMiFID II Art. 25
EMIR trade reportingT+1aib-reporting-service-apiEMIR Art. 9
COREP submission10th business dayaib-reporting-service-apiCRR3
FATCA reporting30 Juneaib-reporting-service-apiFATCA
CRS reporting30 Septemberaib-reporting-service-apiCRS
Settlement break resolutionT+3 (buy-in trigger)aib-trading-service-apiCSDR Art. 7, PROC-009
DSR (data subject request)30 daysaib-identity-service-apiGDPR Art. 12/17
Regulatory reporting on-time rate100%aib-reporting-service-apiREQ-NFR (reporting SLO)

The reporting on-time target is 100% — there is no error budget for a missed statutory filing. The DORA 4h/72h/1m cascade is the single most time-critical chain and is rehearsed in PROC-010.


6. Capacity & throughput

Capacity targets derive from REQ-NFR-007 (horizontal scalability to 10× current load) and the edge/data-tier limits in phases/d.md.

DimensionTargetOwning tier
Domain-service horizontal scale10× baseline, no SLO degradationall services (REQ-NFR-007)
Compute autoscale0–100 pods/serviceedge/data tier
Core DB concurrent readsscale via read replicassovereign primary
Core DB concurrent writesengine-dependent (distributed-SQL quorum or single-writer HA)sovereign primary
Settlement query load10k positions in < 5saib-trading-service-api
Object/archive storageunlimited, 7–10yr retention auto-purgeR2 / cold storage
Kafka event retention10yr transactional / 90d operational / 7d complianceevent bus

Write throughput on the core DB is the binding constraint for the critical path; the PostgreSQL-wire production engine (ADR-011) lifts the former D1 ≈1k-write ceiling (distributed-SQL quorum or single-writer HA). The P11 design (agents propose, humans dispose — §7) keeps agent traffic off the write path entirely, so write capacity is reserved for human-approved mutations and the audit-log append stream.


7. Monitoring & error budgets

SLIs are scraped by the NOC stack (Prometheus / ELK, per phases/d.md) across the three zones. Each SLO has an alert threshold; breaches surface through the standard risk plumbing rather than ad-hoc tickets.

Breach handling:

  1. Alert — NOC alert fires (e.g. API P95 > 500ms pages on-call; data quality completeness < 95% pages the Data Steward).
  2. KRI — the breach is recorded as a kri_reading against the relevant indicator (availability, latency, reporting-timeliness) via aib-risk-service-api.
  3. Risk event — a sustained breach (error budget exhausted) is escalated to an rcsa_risk_event, owned by the service's accountable role.
  4. Regulatory event — if the breach is a missed statutory deadline (§5), an immutable audit_log row is written with regulatory_event populated and regulation_refs citing the relevant article.

Error-budget policy: while budget remains, teams ship normally. Once a 30-day budget is exhausted, the Change Control Board (aib-ccb-charter) freezes non-essential change for that service until the budget recovers — the same gate the implementation-phase escalation protocol uses (phases/g.md: Green/Yellow/Red).

Verification evidence for each SLO is the corresponding row in docs/requirements/aib-requirements-traceability.md (e.g. REQ-NFR-002 → "DR test evidences recovery within 15min").


8. Cross-references

Owning service APIs:

Requirements: REQ-NFR-001 (availability), REQ-NFR-002 (RTO), REQ-NFR-003 (RPO), REQ-NFR-004 (API latency), REQ-NFR-005 (MFA), REQ-NFR-006 (backups), REQ-NFR-007 (scalability).

Related artefacts: docs/VERIFICATION-CHECKLIST.md, docs/requirements/aib-requirements-traceability.md, aib-incident-response-charter, PROC-002, PROC-003, PROC-004, PROC-005, PROC-008, PROC-009, PROC-010, aib-data-stewardship-charter. Data entities: kri_reading, rcsa_risk_event, audit_log, str.


Review cadence: each ADM phase gate by the Architecture Review Board (aib-arb-charter). SLO values change only via a CHANGELOG entry.

References

Referenced by