Related System Design
Design a Chat Application
Design a real-time chat application like WhatsApp or Facebook Messenger.
Design a dynamic pricing engine for a ride-sharing service.
Design the Surge Pricing system for Uber. We need to update prices every minute based on local supply and demand heatmaps.
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[Rider/Driver Apps] -->|WebSocket/gRPC| B(API Gateway)
B --> C[Location Ingestion Service]
C -->|Kafka Topic: Locations| D[Flink Stream Processor]
D -->|Aggregates per S2 Cell| E[(Redis: Heatmap Cache)]
E -.->|Pulls TTL Data| F[Pricing Engine]
F -->|Updates| G[(Cassandra: Price History)]
F -->|Pushes Real-time Price| BPractice 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 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.
Related System Design
Design a scalable notification service that sends emails, SMS, and push notifications to millions of users.
Related System Design
Design a system to detect and prevent political advertisements from unauthorized foreign actors from appearing on a social media platform.