Design a Distributed Key-Value Store
Design a Distributed Key-Value Store
MediumSystem Design0% accepted
PhonePe needs a distributed key-value store for session data. Design a system like Redis/DynamoDB that supports get/put with horizontal scaling, fault tolerance, and eventual consistency.
Approach
Design a distributed K-V store with consistent hashing and replication.
Input
100M keys, 10 nodes, RF=3
Output
Consistent hash ring, each node owns ~10M keys, 3 replicas per key
More System Design problems
Browse all coding problems →Scenarios & Expected Answers
Sign in to continue
Create a free account to view answers and mark progress.
- Free forever — no credit card
- Theory Q&A with detailed answers
- Points, streaks & leaderboards