Atelier des rouesLab FR
Register/AT.EX22.03
Controlled experiment · AT.EX22.03

Waiting to batch rank requests

1/4 Educational or exploratory value AI-assisted literature assessment · one reading

I enumerate all 128 contiguous partitions for one eight-arrival sequence, then compare the optimum window count with a maximal-batch greedy rule at seven delay limits. This is a finite benchmark, not evidence that greedy batching is generally optimal. Offline batching research models waiting and processing costs explicitly and derives an optimum through a shortest-path formulation; that framework is broader and uses a different cost model. The local result could become a regression case, but needs other arrival orders and a defined operational cost.

Dynamic Batching of Online Arrivals to Leverage Economies of Scale — Akhil Bhimaraju, S. Rasoul Etesami, Lav R. Varshney

How I rate results

Assumptions

I fix eight out-of-order arrivals after rank 4,000, a 128-byte marking buffer and instantaneous service at the end of each FIFO batch. I compare an offline optimum with greedy maximal batches. I enumerate all 128 partitions to check the optimum.

Result

I go from 25 windows for immediate replies to 12 with four ticks of delay and 6 with nine. Greedy batching matches the optimum at all seven tested deadlines.

Prior work

Walisch · primesieve

Next question

I will seek an arrival sequence on which greedy batching loses.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.