Batch Size¶
Core Idea¶
The control knob over the granularity of grouping in a flow: one cost (fixed setup amortised per item) falls as the group grows while another family (delay, inventory, risk concentration, feedback lag) rises — producing a convex total-cost curve with an interior optimum.
How would you explain it like I'm…
How Big An Armful
The Just-Right Group
The Grouping Knob
Broad Use¶
- Manufacturing: The economic order quantity, SMED reducing changeover, and kanban single-piece flow.
- Software: Release cadence, sprint length, pull-request size, and staged feature-flag rollouts.
- Education: Assignment and feedback cadence, curriculum chunking, and massed-versus-spaced practice.
- Finance: Accounting-close cadence, settlement batching, and monetary-policy meeting frequency.
- Data engineering: Batch-versus-streaming pipelines and ETL window lengths.
- Logistics and healthcare: Full-versus-less-than-truck-load, route batching, and surgical case bundling per OR day.
Clarity¶
It separates the setup cost from the per-item processing cost, the delay cost from the risk cost and the feedback-lag cost — and distinguishes attacking the setup cost (shifting the whole curve) from merely riding the curve to its minimum.
Manages Complexity¶
It compresses every "how often" and "how much at once" decision into a small parameter set — fixed cost, flow cost, arrival rate, coupling cost, learning half-life — solved by one constant trade-off shape.
Abstract Reasoning¶
It enables the convexity argument (small perturbations of N are cheap), the dominance-of-feedback argument (the optimum shifts smaller when the operation is being learned), the setup-cost-attack argument, and coupling-of-fate reasoning.
Knowledge Transfer¶
- Inventory to software: EOQ and release cadence share the setup-versus-holding trade-off — the structural basis of the DevOps movement.
- Manufacturing to meetings and code review: SMED's setup-reduction insight ports to preparation rituals and small PRs.
- Loan portfolios to software releases: Vintage-year coupling is the same coupling-of-fate that makes large releases risky, yielding to the same split-the-batch fix.
Example¶
The economic order quantity makes the optimum analytic — total cost \(SD/Q + HQ/2\) is convex with minimum \(Q^* = \sqrt{2SD/H}\) — and its sensitivity to \(S\) shows the setup-cost-attack lever: halving the ordering cost shifts the whole curve to a smaller, cheaper batch.
Relationships to Other Abstractions¶
Current abstraction Batch Size Prime
Parents (1) — more general patterns this builds on
-
Batch Size is a kind of, typical Trade-offs Prime
Batch size is a specific structured trade-off — a fixed-per-batch cost that amortizes against a per-item flow cost that rises, with a convex U-shaped total-cost curve (EOQ sqrt law) plus coupling-of-fate and feedback-lag riders.
Children (5) — more specific cases that build on this
-
Boutique manufacturing Domain-specific is a kind of Batch Size
The proposed strict upward parent is
prime:batch_size. -
Economic Order Quantity Domain-specific is a kind of Batch Size
EOQ is batch size specialized to replenishment, deterministic demand, fixed ordering cost, linear holding cost, and the square-root optimum.
-
Just-in-Time Domain-specific is part of Batch Size
JIT contains deliberate lot-size reduction, enabled by attacking changeover cost, to shorten feedback and prevent production from outrunning downstream pull.
-
Order-Batching Distortion Domain-specific is part of, typical Batch Size
Order-batching distortion typically contains a batch-size policy whose fixed-order economics create the lumpy interface that manufactures apparent demand variance.
-
Batch Processing Prime presupposes Batch Size
Batch processing is an operational practice that presupposes and exploits a chosen batch-size parameter; it uses the tradeoff curve rather than being a kind of size.
Hierarchy path (1) — routes to 1 parentless root
- Batch Size → Trade-offs → Constraint
Not to Be Confused With¶
- Batch Size is not Economies of Scale because batch size is a U-shaped trade-off with an interior optimum, whereas economies of scale is monotone — average cost simply falls as volume rises.
- Batch Size is not Queueing because batch size is the static grouping granularity, whereas queueing is the dynamics of waiting under stochastic arrival and service that the batch decision feeds.
- Batch Size is not a generic Trade-off because it is a specific, computable structure (the √(setup/flow) law, convexity, the setup-cost-attack move), whereas a generic trade-off is the bare schema that some exchange exists.