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-001path 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.
| Service | Owning API | Availability SLO | Error budget (30d) | Tier |
|---|---|---|---|---|
| Trading | aib-trading-service-api | 99.97% | ~13 min | Critical |
| Settlement (within Operations/Trading) | aib-trading-service-api | 99.95% | ~22 min | Critical |
| Payments | aib-operations-service-api | 99.95% | ~22 min | Critical |
| Compliance (KYC/sanctions) | aib-compliance-service-api | 99.95% | ~22 min | Critical |
| AML alerting | aib-aml-service-api | 99.9% | ~43 min | Important |
| Identity | aib-identity-service-api | 99.95% | ~22 min | Important |
| Risk (KRI/credit) | aib-risk-service-api | 99.9% | ~43 min | Important |
| Reporting | aib-reporting-service-api | 99.5% | ~3.6 h | Standard (async) |
| Audit log | aib-audit-service-api | 99.99% (write path) | ~4 min | Critical (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.
| Operation | Owning API | P95 | P99 (target) | Source |
|---|---|---|---|---|
| KYC client lookup / review | aib-compliance-service-api | 200ms | < 800ms | checklist |
| Sanctions screen | aib-compliance-service-api | 500ms | < 2s | checklist / PROC-003 |
| AML alert creation | aib-aml-service-api | 100ms | < 500ms | checklist / PROC-002 |
| Order (pre-trade gate) | aib-trading-service-api | 100ms | < 500ms | checklist / PROC-004 |
| Trade booking | aib-trading-service-api | 200ms | < 800ms | checklist |
| Settlement instruction | aib-trading-service-api | 500ms | < 2s | checklist / PROC-009 |
| Payment processing | aib-operations-service-api | 200ms | < 800ms | checklist / PROC-008 |
| Client lookup (identity) | aib-identity-service-api | 50ms | < 200ms | service spec |
| KRI reading | aib-risk-service-api | 100ms | < 500ms | service spec |
| Audit-log query | aib-audit-service-api | 500ms | < 2s | service spec |
| Audit-log write | aib-audit-service-api | < 1ms | < 5ms | service spec |
| Database query (indexed) | edge/data tier | P50 < 50ms | < 200ms | phases/d.md |
| COREP C01–C47 generation | aib-reporting-service-api | — | < 30s | phases/d.md |
| Full-portfolio settlement query (10k positions) | aib-trading-service-api | — | < 5s | phases/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.
| Tier | Services | RTO | RPO |
|---|---|---|---|
| Tier 0 — trading | aib-trading-service-api (order/trade) | 15 min | 5 min (strive < 1 min via Kafka log) |
| Tier 0 — settlement | aib-trading-service-api (settlement), aib-operations-service-api (payments) | 30 min | 5 min |
| Tier 1 — compliance/AML | aib-compliance-service-api, aib-aml-service-api | 30 min | 5 min |
| Tier 1 — identity | aib-identity-service-api | 30 min | 5 min |
| Tier 2 — risk/reporting | aib-risk-service-api, aib-reporting-service-api | 4 h | 1 h |
| Tier 0 — audit | aib-audit-service-api | 15 min | 0 (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.
| Obligation | Deadline | Owning API | Regulation |
|---|---|---|---|
| DORA ICT-incident initial report | 4 h | aib-reporting-service-api / IR charter | DORA Art. 19 |
| DORA intermediate report | 72 h | aib-reporting-service-api | DORA Art. 19–20 |
| DORA final report | 1 month | aib-reporting-service-api | DORA Art. 20 |
| STR / SAR filing | 5 business days | aib-aml-service-api (str) | SPG Art. 17, PROC-002 |
| Sanctions FIU notification | 48 h | aib-compliance-service-api | SPG Art. 18, PROC-003 |
| QIR client reporting | T+15 | aib-reporting-service-api | MiFID II Art. 25 |
| EMIR trade reporting | T+1 | aib-reporting-service-api | EMIR Art. 9 |
| COREP submission | 10th business day | aib-reporting-service-api | CRR3 |
| FATCA reporting | 30 June | aib-reporting-service-api | FATCA |
| CRS reporting | 30 September | aib-reporting-service-api | CRS |
| Settlement break resolution | T+3 (buy-in trigger) | aib-trading-service-api | CSDR Art. 7, PROC-009 |
| DSR (data subject request) | 30 days | aib-identity-service-api | GDPR Art. 12/17 |
| Regulatory reporting on-time rate | 100% | aib-reporting-service-api | REQ-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.
| Dimension | Target | Owning tier |
|---|---|---|
| Domain-service horizontal scale | 10× baseline, no SLO degradation | all services (REQ-NFR-007) |
| Compute autoscale | 0–100 pods/service | edge/data tier |
| Core DB concurrent reads | scale via read replicas | sovereign primary |
| Core DB concurrent writes | engine-dependent (distributed-SQL quorum or single-writer HA) | sovereign primary |
| Settlement query load | 10k positions in < 5s | aib-trading-service-api |
| Object/archive storage | unlimited, 7–10yr retention auto-purge | R2 / cold storage |
| Kafka event retention | 10yr transactional / 90d operational / 7d compliance | event 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:
- Alert — NOC alert fires (e.g. API P95 > 500ms pages on-call; data quality completeness < 95% pages the Data Steward).
- KRI — the breach is recorded as a
kri_readingagainst the relevant indicator (availability, latency, reporting-timeliness) viaaib-risk-service-api. - Risk event — a sustained breach (error budget exhausted) is escalated to an
rcsa_risk_event, owned by the service's accountable role. - Regulatory event — if the breach is a missed statutory deadline (§5), an
immutable
audit_logrow is written withregulatory_eventpopulated andregulation_refsciting 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:
aib-compliance-service-api— KYC, sanctions screeningaib-aml-service-api— alerting, STR filingaib-trading-service-api— order gate, trade, settlementaib-identity-service-api— client lookup, DSRaib-operations-service-api— payments, nostro reconciliationaib-reporting-service-api— QIR, EMIR, FATCA/CRS, COREP, DORA reportsaib-risk-service-api— KRI readings, credit assessmentsaib-audit-service-api— append-only audit log
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
- ServiceAIB AML Service API
- ServiceAIB Audit Service API
- ServiceAIB Compliance Service API
- ServiceAIB Identity Service API
- ServiceAIB Operations Service API
- ServiceAIB Reporting Service API
- ServiceAIB Risk Service API
- ServiceAIB Trading Service API
- ProcessPROC-002: AML Investigation & STR Filing
- ProcessPROC-003: Sanctions Screening & Freeze Lifecycle
- ProcessPROC-004: Order Pre-Trade Compliance Gate (Refresh)
- ProcessPROC-005: Trading → Settlement with Waiver Paths
- ProcessPROC-008: Payment & Dual Authorization Workflow
- ProcessPROC-009: Settlement Reconciliation & Exception Handling
- ProcessPROC-010: DORA Incident Reporting (4h/72h/1m Cadence)
- DocAIB Cloud Infrastructure Research — Best-in-Class Secure Cloud for a Liechtenstein/EEA Private Bank
- GovernanceAIB Architecture Review Board (ARB) Charter
- GovernanceAIB Change Control Board (CCB) Charter
- GovernanceAIB Data Stewardship Charter
- GovernanceAIB Incident Response Charter
- RequirementREQ-NFR-001
- RequirementREQ-NFR-002
- RequirementREQ-NFR-003
- RequirementREQ-NFR-004
- RequirementREQ-NFR-005
- RequirementREQ-NFR-006
- RequirementREQ-NFR-007
- Tableaudit_log
- Tablekri_reading
- Tablercsa_risk_event
- Tablestr