Why these requirements matter
Functional stories say what the platform does. These requirements say how well, and under what conditions. Each has a number and a way to prove it, so it can be tested before release and watched in production. Figures are illustrative planning targets. Betting traffic has sharp peaks on weekends and major events, and the hard protections must hold at the peak.
Requirements by quality
| Quality | Requirement | Target | How it is verified |
|---|---|---|---|
| Performance | Bet acceptance including eligibility, location and limits, p95 | Under 200 ms | Load test and latency alert |
| Performance | Login risk score, p95 | Under 150 ms | Load test and latency alert |
| Performance | KYC document read to decision for clear cases | Under 3 minutes | Synthetic sign-ups |
| Performance | Support copilot answer, p95 | Under 6 seconds | Synthetic questions |
| Availability | Bet placement path | 99.95% monthly, independent of AI (artificial intelligence) services | Synthetic bets every minute |
| Availability | Degraded mode when an AI service fails | Betting and hard protections unaffected | Chaos tests per AI dependency |
| Scalability | Event-day peak without a latency breach | Ten times a normal day | Soak and spike tests |
| Security | All model and tool traffic scanned | 100% | Scan coverage alert |
| Security | Writes authorised by basis and approval | 100% | Basis tests, contract tests |
| Privacy | Restricted data in logs and traces | None | Automated scan of telemetry and tables |
| Correctness | Bets accepted outside eligibility | Zero | Eligibility audit query and release gate |
| Correctness | Sends to excluded or at-risk players | Zero | Send audit and release gate |
| Correctness | Protective and restrictive actions without a basis | Zero | Basis audit query and release gate |
| Resilience | Recovery time objective, platform services | 1 hour | Quarterly disaster recovery exercise |
| Resilience | Recovery point objective, accounts and wallet | Zero loss of committed transactions | Replication and outbox replay |
| Observability | A trace for every unit of work, joined across gateways | 100% of errors and blocks, 10% of others | Telemetry coverage report |
| Maintainability | Time to repoint a model alias after a passing evaluation | Under one hour | Release drill |
| Accessibility | App and email meet recognised accessibility guidance | Level AA | Audit before launch |
| Cost | Model and platform cost per KYC document and per case | Within budget | Cost query and monthly review |
Capacity model
The model starts from monthly volume and works down to calls per second, so each tier can be sized and its limits set on the gateway.
| Quantity | Pilot, one jurisdiction | Full volume | Event-day peak |
|---|---|---|---|
| Bets per month | 3M | 40M | n/a |
| Bets per day | 100,000 | 1.3M | 13M |
| Bet requests per second, busiest hour | About 5 | About 70 | About 700 |
| New sign-ups per day | 400 | 3,000 | 15,000 |
| Model calls per KYC document | 2 | 2 | 2 |
| Support cases per day with the copilot | 1,500 | 20,000 | 40,000 |
| Model calls per support case | 4 | 4 | 4 |
| Sessions and events scored per day | 2M | 35M | 300M |
| Model calls in the busiest hour | About 600 | About 9,000 | About 25,000 |
| Language-model calls per second, busiest hour | About 0.2 | About 2.5 | About 7 |
Bet acceptance and scoring run on engines and serving endpoints, not the language-model gateway, so the language-model call rate stays low even at the event-day peak. Peak is ten times the full-volume figure for the biggest events.
Degradation ladder
When a dependency fails, the platform gives up one capability at a time and always shows what is pending. The hard protections are never among them.
| Failure | Behaviour | What people see |
|---|---|---|
| Primary model provider down | Gateway fails over to the second provider | No visible change, possibly slower |
| Both providers down | KYC documents queue for analysts; the copilot is off; harm rules and limits continue as code | Verification takes longer; agents use rule search; betting and protections unchanged |
| Scan service down | Fail closed on AI writes; hard protections in code continue | No AI-drafted messages or account writes; players are protected by rules |
| Terms index down | Copilot declines rule questions and says so | Agents use the rule search |
| Harm model endpoint down | Account-level rules and limits continue; reality checks by timer | Fewer tailored signals, no loss of hard protection |
| Fraud scoring down | Strictest step-up for logins and withdrawals | More verification prompts, no silent allow |
| Consent or exclusion service down | No marketing sends; service messages by rule | Offers pause; nothing goes out unchecked |
| Geolocation provider down | Bets refused until location can be checked | Players told why; no assumption of a permitted location |
The first failure is invisible. The second is visible and honest: the document waits for a person, and betting is unaffected.
Recovery objectives
| Component | Recovery time | Recovery point | Approach |
|---|---|---|---|
| Orchestrator and agents | 1 hour | State to the last completed step | Stateless services, state in a replicated store |
| AI gateway | 15 minutes | Configuration is in version control | Two regions, active and standby |
| Tool gateway | 15 minutes | Configuration is in version control | Two regions, active and standby |
| Bet and wallet services | Per the platform's own objectives | Zero for committed transactions | Active-active regions, outbox replay |
| Terms index | 4 hours | Rebuilt from the source table | Rebuild job |
| Harm, fraud and integrity endpoints | 15 minutes | Models are versioned artefacts | Two regions, active and active |
| Lakehouse | 8 hours | One hour | Platform replication |
How the requirements are tested
Load and soak
Replay recorded event days and spikes at one, five and ten times normal volume, with backends and models mocked at realistic latency.
Chaos
Turn off each dependency in turn in staging and check the degradation ladder, with betting and protections running throughout.
Failover drills
Fail the model provider, then a region, quarterly. Measure recovery against the objectives.
Protection audits
Every day, query for bets outside eligibility, sends to excluded players and actions without a basis. Any row is an incident.
Telemetry audit
Scan traces and tables for restricted data after every release.
Build this for your business
This example is a player protection and operations platform for a licensed betting operator, but the same pattern, deterministic rules for every hard duty, a governed gateway, runtime security, protect-first automation and measured quality, fits any regulated, customer-facing service. We can scope a pilot on your own systems.
Book a discovery call