Scheduler
Kind: global class
new Scheduler(config)
[Stability - Experimental] A Scheduler monitors CodeEngine and Program instances on the network, triggering live-migration of a Process if needed. Scheduler is a subclass of Dispatcher.
| Param | Type | Description |
|---|---|---|
| config | Object |
[description] |
Scheduler.Algorithms
Scheduler Algorithms - all functions should accept devices, tasks, mapping as arguments
Kind: static property of Scheduler
| Param | Type | Description |
|---|---|---|
| devices | Array |
[{ id, available_memory }] |
| tasks | Array |
[{ id, required_memory }] |
| [cur_mapping] | Object |
Current mapping |