An asynchronous, thread-safe distributed task runner engineered to ingest, allocate, and execute workloads across an isolated background worker thread pool, paired with a real-time tracking dashboard.
- Thread-Safe Concurrency Control: Implements a synchronized FIFO queue architecture in Python to guarantee safe task distribution across multiple background worker threads without race conditions or memory leaks.
- Fault-Tolerant State Machine: Outfitted with an automated error-interception and contextual retry loop that handles processing drops gracefully, ensuring zero core system crashes even during simulated runtime failures.
- Real-Time Visual Monitoring: Driven by an optimized HTTP short-polling data lifecycle built into a decoupled React frontend to reflect instantaneous status transitions (
PendingβRunningβCompleted/Retrying). - Clean System Sandboxing: Deployed utilizing isolated virtual execution environments (
venv) to securely bypass external system package constraints while maintaining a strict boundary between API layers.
[ React Dashboard (Port 5173) ]
β
β (HTTP Short-Polling / JSON)
βΌ
[ Flask API Gateway (Port 5000) ]
β
βΌ (Thread-Safe Push)
[ Synchronized FIFO Queue ]
β
βββββββββΆ [ Worker Thread 1 ] βββΆ Task Processing Loop
βββββββββΆ [ Worker Thread 2 ] βββΆ Fault/Retry Interception
βββββββββΆ [ Worker Thread 3 ] βββΆ State Updates