How mohaneshwarishanmugaraj-arch/multithreaded-priority-task-scheduler works
Fulfill is described as an order-fulfillment dashboard backed by a threaded priority scheduler. The supplied tree contains only the original standalone Python simulation, not the documented backend or React frontend, so those capabilities are shown as README-documented components with no source paths. The visible runtime creates tasks, queues and dispatches them to workers, accounts for resources, and records completion statistics. Edges for the standalone flow come from the sampled source; dashboard relationships are documented in the README.
Main entry points: main.py Simulation entry point · worker.py Worker threads · producer.py Task producer · scheduler.py Priority scheduler
Components 13
Operations dashboard
- React dashboard
- Fulfillment REST API
Task dispatch
- API scheduler service
- Simulation entry point
main.py - Task producer
producer.py - Priority scheduler
scheduler.py
Task execution
- Task lifecycle
task.py - Worker threads
worker.py - Resource manager
resource.py
Shared support
- Run statistics
statics.py - Thread-safe logger
logger.py - Scheduler settings
configuration.py
Other components
- Operator
Connections 20
- Operator → React dashboard: operates
README.md - React dashboard → Fulfillment REST API: polls and submits
README.md - Fulfillment REST API → API scheduler service: queues and queries
README.md - Simulation entry point → Priority scheduler: creates
main.py - Simulation entry point → Task producer: starts
main.py - Simulation entry point → Worker threads: starts
main.py - Simulation entry point → Resource manager: creates
main.py - Simulation entry point → Run statistics: creates
main.py - Simulation entry point → Thread-safe logger: creates
main.py - Task producer → Task lifecycle: creates
producer.py - Task producer → Priority scheduler: enqueues
producer.py - Task producer → Run statistics: records production
producer.py - Task producer → Thread-safe logger: logs events
producer.py - Priority scheduler → Scheduler settings: uses settings
scheduler.py - Worker threads → Priority scheduler: dequeues
worker.py - Worker threads → Resource manager: acquires and releases
worker.py - Worker threads → Task lifecycle: starts and completes
worker.py - Worker threads → Run statistics: records completion
worker.py - Worker threads → Thread-safe logger: logs events
worker.py - Simulation entry point → Run statistics: prints summary
main.py