6/10
Technical Architecture & AI Engineering · 7 min read

System Design: Distributed Job Scheduler and Dead-Letter Retry Queue

Design a 10M-jobs/day distributed scheduler with sub-1-second trigger accuracy, Postgres SKIP LOCKED lease acquisition, cron storm protection, and tenant-fair retries.

Question 1 of 3

During a peak traffic surge, your implementation of Teardown 6: Distributed Job Scheduler & Retry Queue experiences elevated P99 latency and upstream timeouts. What is the immediate engineering leadership action?

Question 2 of 3

When designing Teardown 6: Distributed Job Scheduler & Retry Queue, how should an engineering lead ensure zero data loss during network partitions?

Question 3 of 3

What is the most critical metric to monitor continuously in Teardown 6: Distributed Job Scheduler & Retry Queue to detect degradation before customers report outages?