Module sim::models::batcher

source ·

Structs

  • The batching process begins when the batcher receives a job. It will then accept additional jobs, adding them to a batch with the first job, until a max batching time or max batch size is reached - whichever comes first. If the simultaneous arrival of multiple jobs causes the max batch size to be exceeded, then the excess jobs will spillover into the next batching period. In this case of excess jobs, the next batching period begins immediately after the release of the preceding batch. If there are no excess jobs, the batcher will become passive, and wait for a job arrival to initiate the batching process.