Assume we have ADU 1M and 10 write per day and 100 read per day
Assume each tasks should be less than 1MB, we can have 3.6 PB data each year
task(task_id
execution(execution_id
# execution_status can be: scheduled_to_run, retriable_failed, non-retriable_failed
task 1 ... n execution
The whoe system contains several parts:
The whoe system contains several parts:
Rather than using message queue, we can also let task scheduler service write to a being-scheduled table in DB and let task executor service directly poll from the database
Try to discuss as many failure scenarios/bottlenecks as possible.
With higher traffic, we need to