State Machine Pagination

The state machine is initiated for each order in the heap memory. The memory grows with the number of orders that the engine is processing, Orchestrator must page these objects when it reaches the threshold.

When the number of orders hits the threshold configured, least used objects are displaced from the memory and moved to the backing store for later use. The displaced object is saved in backing store using the State Machine Context checkpoint. When the information related to an order is required and not available in memory, then the needed information is fetched from backing store using the checkpoint data.