Microsoft: Job orchestrator that blocks overlapping runs of the same job
Problem. Design a job scheduler and orchestrator. It supports n different job types. Every time a job is requested, the system hands back a unique run id for that execution. For some job types, two runs of the same job must never execute at the same time.
Topics the interviewer pushed on.
- Running many jobs in parallel.
- Removing single points of failure.
- Fault tolerance across machines.
- Distributed locking and leader election, with Redis discussed as one option.
- Observability, tracing and auditing of runs.
Context. This came in a two-hour round for a senior (L63) role in India, alongside a rotting-oranges style grid problem and a deep dive on the candidate's own architecture, where the manager focused on trade-offs and reasoning. Other rounds asked about binary-searchable elements in an unsorted array (with a duplicates follow-up), a maximum-score root-to-leaf path, reviewing a Java and SQL snippet, and implementing a min-heap without library help. The candidate was selected.
Comments 0
No comments yet. Ask the author something, or add what happened in your own round.