Related System Design
Design a Key-Value Store
Design a distributed key-value store like Dynamo or Cassandra with high availability.
Design a distributed job scheduler capable of handling recurring and one-time tasks at scale.
We need to build a distributed job scheduler that can execute millions of cron jobs. How would you architect this?
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 LR
A["Design Job Scheduler"]
A --> F1["Work Ownership leases, leader election, or conditional claims"]
A --> F2["Fault Tolerance Worker crashing mid-task"]
A --> F3["Due-Work Discovery next-fire-time index, time buckets, or timing wheels"]
A --> F4["Delivery Semantics at-least-once dispatch, idempotent execution ids, fencing"]
A --> F5["Horizontal Scaling"]The interviewer probes these areas, and the report grades the interview against them.
Practice 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 distributed key-value store like Dynamo or Cassandra with high availability.
Related System Design
Design a highly available, scalable, leaderless key-value store.
Related System Design
Design a scalable notification service that sends emails, SMS, and push notifications to millions of users.
Related System Design
Design a ride-matching service like Uber or Lyft with real-time location tracking.