Related System Design
Design a Hotel Reservation System
Design a system like Airbnb or Booking.com where users can search for and book rooms for specific date ranges.
Design a service to limit the number of requests a user can send to an API within a time window.
We need to design a distributed rate limiter for our API gateway. It needs to handle millions of requests per second. Where do we start?
Use this as one discussion aid, not a single correct answer. Your design should follow from the requirements, scale, and trade-offs you establish.
graph TD
A[Client] --> B(Route53 / Global LB)
B --> C[API Gateway Node 1]
B --> D[API Gateway Node 2]
C -- Local L1 Cache --> E[(Caffeine/Guava)]
C -- Async Lua Script --> F[(Redis Sharded Cluster)]
D -- Async Lua Script --> FPractice drawing this system component-by-component on a live whiteboard while the interviewer probes at your target level.
Continue to DashboardContinue preparing
Related System Design
Design a system like Airbnb or Booking.com where users can search for and book rooms for specific date ranges.
Related System Design
Design a real-time collaborative document editor supporting multiple simultaneous users.
Related System Design
Design a real-time chat application like WhatsApp or Facebook Messenger.
Related System Design
Design a shared tagging service that lets users apply tags to entities across multiple Atlassian products, with consistent search and deduplication.