Skip to content

Draft: algorithm batching using asynchronous scheduling

Extremely hacky and debug-statement-filled code, demonstrating batching of algorithms via an asynchronous scheduling approach.

The algorithm to batch will cease execution without promoting its state from SCHEDULED. An internal state of the algorithm keeps track of slots where this has occurred, until a batch is filled, processing occurs, and algorithm states in all affected slots are updated.

Merge request reports