{"type":"excalidraw","version":2,"source":"https://AwesomeSystemDesign.dev","elements":[{"angle":0,"strokeColor":"#6577aa","backgroundColor":"#eef1fc","fillStyle":"solid","strokeWidth":1.5,"strokeStyle":"solid","roughness":0.7,"opacity":100,"version":1,"versionNonce":1,"isDeleted":false,"groupIds":["step-1"],"frameId":null,"roundness":null,"boundElements":[{"type":"text","id":"shape-1"}],"updated":0,"link":null,"locked":false,"id":"shape-0","type":"rectangle","seed":41,"x":16,"y":16,"width":288,"height":922.6,"customData":{"revealStep":1}},{"angle":0,"strokeColor":"#394557","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1.5,"strokeStyle":"solid","roughness":0.7,"opacity":100,"version":1,"versionNonce":1,"isDeleted":false,"groupIds":["step-1"],"frameId":null,"roundness":null,"boundElements":null,"updated":0,"link":null,"locked":false,"id":"shape-1","type":"text","seed":114,"x":36,"y":34,"width":248,"height":886.6,"fontSize":22,"fontFamily":1,"text":"CONTROL PLANE\n\n• Cron Evaluator\n(scan cron defs\nevery second, emit\none-time tasks at\nfire times)\n\n• DAG Engine (track\nDAG state, trigger\nnext node when deps\nmet)\n\n• Rate Limiter\n(per-task-type token\nbucket, sliding window)\n\n• Dead Letter Queue\n(exhausted retries →\nalert + store for\ninspection)\n\n• Task Lifecycle\nManager (state\nmachine transitions,\naudit log)\n\n• Timeout Watchdog\n(kill tasks past\nmax_exec_time,\ntrigger retry)","originalText":"CONTROL PLANE\n\n• Cron Evaluator\n(scan cron defs\nevery second, emit\none-time tasks at\nfire times)\n\n• DAG Engine (track\nDAG state, trigger\nnext node when deps\nmet)\n\n• Rate Limiter\n(per-task-type token\nbucket, sliding window)\n\n• Dead Letter Queue\n(exhausted retries →\nalert + store for\ninspection)\n\n• Task Lifecycle\nManager (state\nmachine transitions,\naudit log)\n\n• Timeout Watchdog\n(kill tasks past\nmax_exec_time,\ntrigger retry)","textAlign":"left","verticalAlign":"middle","containerId":"shape-0","lineHeight":1.3,"autoResize":false,"customData":{"revealStep":1}},{"angle":0,"strokeColor":"#6577aa","backgroundColor":"#eef1fc","fillStyle":"solid","strokeWidth":1.5,"strokeStyle":"solid","roughness":0.7,"opacity":100,"version":1,"versionNonce":1,"isDeleted":false,"groupIds":["step-2"],"frameId":null,"roundness":null,"boundElements":[{"type":"text","id":"shape-3"}],"updated":0,"link":null,"locked":false,"id":"shape-2","type":"rectangle","seed":187,"x":16,"y":982.6,"width":288,"height":1008.4,"customData":{"revealStep":2}},{"angle":0,"strokeColor":"#394557","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1.5,"strokeStyle":"solid","roughness":0.7,"opacity":100,"version":1,"versionNonce":1,"isDeleted":false,"groupIds":["step-2"],"frameId":null,"roundness":null,"boundElements":null,"updated":0,"link":null,"locked":false,"id":"shape-3","type":"text","seed":260,"x":36,"y":1000.6,"width":248,"height":972.4,"fontSize":22,"fontFamily":1,"text":"DATA PLANE\n\n• Task Store\n(Durable Persistence)\nBacked by: Sharded\nPostgreSQL /\nCassandra /\nDynamoDB\n• Task Definitions\n(payload, config,\nschedule, DAG)\n• Task Executions\n(status, result,\ntimestamps, logs)\n\n• Queue Layer\n• Ready Queue\n(Redis sorted set by\npriority + FIFO within\npriority)\n• Delayed Queue\n(Redis sorted set by\nscheduled_at\ntimestamp)\n\n• Worker Fleet\n• Worker 1\nPool: 10 threads\n• Worker 2\nPool: 10 threads\n• Worker 3\nPool: 10 threads\n• Worker N\nPool: 10 threads","originalText":"DATA PLANE\n\n• Task Store\n(Durable Persistence)\nBacked by: Sharded\nPostgreSQL /\nCassandra /\nDynamoDB\n• Task Definitions\n(payload, config,\nschedule, DAG)\n• Task Executions\n(status, result,\ntimestamps, logs)\n\n• Queue Layer\n• Ready Queue\n(Redis sorted set by\npriority + FIFO within\npriority)\n• Delayed Queue\n(Redis sorted set by\nscheduled_at\ntimestamp)\n\n• Worker Fleet\n• Worker 1\nPool: 10 threads\n• Worker 2\nPool: 10 threads\n• Worker 3\nPool: 10 threads\n• Worker N\nPool: 10 threads","textAlign":"left","verticalAlign":"middle","containerId":"shape-2","lineHeight":1.3,"autoResize":false,"customData":{"revealStep":2}}],"appState":{"viewBackgroundColor":"#fbfbf8","gridSize":null},"files":{}}