Real time algorithms, plenty of material on the matter.
Here is the book on the first implementation that was on the genesis of Aicas JamaicaVM.
https://www.amazon.com/dp/3831138931/ref=mp_s_a_1_1