Real-Time Crash Game
A real-time multiplayer crash game designed to keep rounds, balances, and payments consistent across distributed services.
- NestJS
- RabbitMQ
- PostgreSQL
- WebSockets
Challenge
Keep rounds, bets, balances, and payments consistent while multiple low-latency services update the same multiplayer game.
Approach
Use event-driven services with database-per-service isolation, Saga coordination, Inbox/Outbox delivery guarantees, WebSockets, and end-to-end observability.
Outcome
A distributed gameplay architecture backed by more than 330 unit, integration, and end-to-end tests.
Key evidence
330+ automated tests