← Quit0 / 0 correct
Design a distributed job scheduler that runs millions of delayed jobs at their due time. What is a scalable approach?
jobs table: (due_at, id, state) ▲ claim due rows (SKIP LOCKED) │ workers ─▶ execute ─▶ mark done
Design a distributed job scheduler that runs millions of delayed jobs at their due time. What is a scalable approach?
jobs table: (due_at, id, state) ▲ claim due rows (SKIP LOCKED) │ workers ─▶ execute ─▶ mark done