Fable
The grain milled together at night
The mill at the village entrance ground grain for the villagers during the day. Whoever came carrying a sack of wheat, the mill started the stone once, and after grinding it waited for the next person. After the autumn harvest, grain sacks filled the yard. Each sack was ground separately, and the stone mill had just started turning when it stopped again; the millers were exhausted, the line was long, and by night half the yard was still unground. The mill owner first called in several more millers to guard the gate and urge the villagers to line up neatly. With more people, the stone mill still started and stopped repeatedly; the real bottleneck was not the shouting, but the processing method. Some villagers were in a hurry to make dinner and really did need immediate grinding; but more grain sacks were only to be delivered to the warehouse the next morning, and a little later did not matter. The mill owner mixed the two types of demand together, and no one was satisfied.
The new accountant suggested collecting the non-urgent grain sacks into a night batch. Grouped by wheat seed, coarseness, delivery time and warehouse number, the mill ran continuously at night, processing batch after batch.
The mill also attached a result slip to each sack of grain. If a batch had an overheated millstone or abnormal coarseness, the whole batch could be rechecked; if only a single sack was damaged, it could also be rerun separately.
The daytime window was thus freed up to handle rush orders, the stone mill's nighttime throughput increased, and the millers could estimate cost, time, and delivery volume in advance.
Later, the village used the nightly batch process for reports, screening bad grain, and labeling warehouses. It did not pursue immediate responses; it pursued stable processing of large volumes of input.
The shopkeeper understood that not all reasoning should be done in real time at the counter. Tasks that can be processed offline in batches should switch to a throughput-first mode of operation.
Night milling also had rules. Before each sack of grain entered the mill, the delivery deadline had to be written clearly, and urgent orders could not be mistakenly stuffed into the night; if one batch mixed different coarseness levels, the resulting flour would all fail inspection.
The accountant later used this method to settle accounts: first group similar tasks together, set start, end, and review points for each batch, then post the results back under each villager's name. The mill no longer just compared who came first, but arranged the most suitable processing rhythm according to the nature of the task. Once urgent and non-urgent were separated, the value of the millstone was used for throughput, and the value of the window was reserved for responsiveness. Batch processing reduced idle spinning at the mill and also let villagers know when to collect their grain.