{"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":36,"y":32,"width":390,"height":527.4000000000001,"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":56,"y":50.00000000000003,"width":350,"height":491.40000000000003,"fontSize":18,"fontFamily":1,"text":"CONTROL PLANE\n\n• Cron Evaluator (scan cron defs\nevery second, emit one-time tasks\nat fire times)\n\n• DAG Engine (track DAG state,\ntrigger next node when deps met)\n\n• Rate Limiter (per-task-type token\nbucket, sliding window)\n\n• Dead Letter Queue (exhausted\nretries → alert + store for\ninspection)\n\n• Task Lifecycle Manager (state\nmachine transitions, audit log)\n\n• Timeout Watchdog (kill tasks past\nmax_exec_time, trigger retry)","originalText":"CONTROL PLANE\n\n• Cron Evaluator (scan cron defs\nevery second, emit one-time tasks\nat fire times)\n\n• DAG Engine (track DAG state,\ntrigger next node when deps met)\n\n• Rate Limiter (per-task-type token\nbucket, sliding window)\n\n• Dead Letter Queue (exhausted\nretries → alert + store for\ninspection)\n\n• Task Lifecycle Manager (state\nmachine transitions, audit log)\n\n• Timeout Watchdog (kill tasks past\nmax_exec_time, trigger retry)","textAlign":"center","verticalAlign":"middle","containerId":"shape-0","lineHeight":1.3,"autoResize":false,"customData":{"revealStep":1}},{"angle":0,"strokeColor":"#628572","backgroundColor":"#edf5ee","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":466,"y":32,"width":390,"height":621,"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":486,"y":50,"width":350,"height":585,"fontSize":18,"fontFamily":1,"text":"DATA PLANE\n\n• Task Store (Durable Persistence)\nBacked by: Sharded PostgreSQL /\nCassandra / DynamoDB\n• Task Definitions (payload, config,\nschedule, DAG)\n• Task Executions (status, result,\ntimestamps, logs)\n\n• Queue Layer\n• Ready Queue (Redis sorted set by\npriority + FIFO within priority)\n• Delayed Queue (Redis sorted set\nby scheduled_at timestamp)\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 (Durable Persistence)\nBacked by: Sharded PostgreSQL /\nCassandra / DynamoDB\n• Task Definitions (payload, config,\nschedule, DAG)\n• Task Executions (status, result,\ntimestamps, logs)\n\n• Queue Layer\n• Ready Queue (Redis sorted set by\npriority + FIFO within priority)\n• Delayed Queue (Redis sorted set\nby scheduled_at timestamp)\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":"center","verticalAlign":"middle","containerId":"shape-2","lineHeight":1.3,"autoResize":false,"customData":{"revealStep":2}}],"appState":{"viewBackgroundColor":"#fbfbf8","gridSize":null},"files":{}}