A regional portal for citizen requests. Peak load is 10,000 requests a day, with bursts of up to 1,500 an hour after news stories.
Architecturally, three layers. A front cache (CDN plus a local application cache), applications behind a load balancer (3 nodes plus a standby), and a processing queue with a hot-standby database.
The main decision: separate "accept a request" from "process it". Accepting is synchronous and must respond in milliseconds, otherwise people start resubmitting. Processing is asynchronous, via the queue.
Monitoring has four levels: front-end availability (external probes), application health, queue depth, and average staff response time. Alerts fire only on deviations from trends, not from absolute values.
In 18 months of operation: 99.94% availability and zero lost requests. The toughest incident was a DDoS in the first month after launch; the front cache and per-subnet throttling helped.
