Skip to content
Hard Design: Distributed Task Scheduler (Cron at Scale)

A recurring task has been running every minute for a year. It has 525,600 execution log entries. How do you manage this data growth?

— Tests your understanding of this concept.

Answer Options

A Keep all entries forever
B Partition execution log by task_id and date, apply TTL-based deletion for old entries beyond retention period
C Store only the last 10 executions per task
D Archive to cold storage after 90 days

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Distributed Task Scheduler (Cron at Scale) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Distributed Task Scheduler (Cron at Scale) topic (System Design Cases).

More Design: Distributed Task Scheduler (Cron at Scale) Questions