
Architecture
Components
Master Node
- API server for submitting tasks
- Task distribution coordinator
- Result aggregation
- Worker health monitoring
Workers
- Execute assigned tasks
- Report progress and results
- Auto-reconnect on failure
- Heartbeat to master
- Worker ID format:
wosm-<uuid8>(e.g.wosm-a1b2c3d4) - Default alias:
wosm-<public-ip>orwosm-<local-ip>when no--aliasis provided
Redis
- Task queue storage
- Worker registration
- Result storage
- Pub/Sub for events
Setup
0. Start Redis if you don’t have one
1. Start Master Node
2. Start Workers Node
3. Submit Tasks & Listing Workers
4. Running Utility Scripts on Master/Worker Nodes (Optional)
Task Distribution
Task Lifecycle
Load Balancing
Tasks are distributed using a pull model:- Workers poll for available tasks
- First available worker claims task
- No central scheduling required
Task Priority
(Future feature) Tasks can have priority levels:- High: Security-critical scans
- Normal: Regular assessments
- Low: Background enumeration
Monitoring
Worker Status
Task Status
Remote Monitoring
Use theclient command to monitor distributed runs from any machine:
