cpp-filecoin
cpp-filecoin copied to clipboard
New Scheduler
Scheduler should be updated.
Several Problems:
- Two resources(active and planning) should be union, because we don’t have twice the resources.
- Current implementation theoretically prone to starvation
- We cannot disabling workers
- Unstable selection of workers
Suggestions:
- [ ] Each Worker should have separate queues
- [x] We can estimate how much time each worker spends on each task. It can help us processing tasks faster
- [ ] Disabling workers (blocks by separate queues)
- [ ] Resources union