orchard/internal/controller/scheduler
Fedor Korotkov f152043f19
Reactive Scheduling (#67)
Before we had two main loops: controller loop to assign VMs and worker loop to start VMs. Each of the loops was performed upon an interval every N seconds.

This change introduces a mechanism for reactively requesting loop execution:

 1. Controller loop will be executed upon VM creation to try to immediately schedule.
 2. A worker will be notified upon a VM assigment and worker loop will be requested to sync immediately.

 Fixes #31
2023-03-28 20:51:41 +04:00
..
scheduler.go Reactive Scheduling (#67) 2023-03-28 20:51:41 +04:00
workertoresources.go Resources support (#63) 2023-03-27 17:30:54 +04:00
workertoresources_test.go Resources support (#63) 2023-03-27 17:30:54 +04:00