- Loadk6, constant arrival rate
- APIAxum on Tokio, POST /votes
- Queuebounded in-memory channel
- Workercounts per candidate, 1 s batches
- Redisatomic HINCRBY, read by the dashboard
48,306 req/s · 0 errors · p99 < 500 ms
Capstone · UNIFESO · 2025
Distributed Architecture for Real-Time Voting Under High Concurrency
Computer Science capstone. A Rust API on Axum and Tokio queues votes in memory, and a worker batches them into one atomic Redis write per second. Measured with k6: 48,306 requests per second with zero errors, average latency below 150 ms, p99 below 500 ms.
Rust · Axum · Tokio · Redis · k6 · Prometheus
