advancedTop 15 System Design Questions

Design a gaming platform backend (leaderboard, matchmaking, inventory).

Leaderboard: Redis Sorted Set; ZADD game:season:1 score playerId; real-time top N Session: Redis Hash per session; game state for active matches Inventory: MongoDB for player item collections (flexible schema per item type) Matchmaking: Redis Sorted Set by skill rating; match nearby skill players Match history: Cassandra for immutable match records (high write, time-series) Player profile: MongoDB

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to Did MongoDB documents need a transaction to be atomic before multi-document transactions existed?← Back to all NoSQL questions