Batch processing

Batch processing handles a group of records or jobs together as a set at scheduled intervals, instead of one at a time as each arrives. The end-of-day run is the usual example. Batches suit large volumes, but results are only as fresh as the last completed run.

What it is

Batch processing is a way of running work in which items are collected, held, and then processed together as a group on a schedule. A batch is a set of orders, records or jobs handled at one time, in contrast to real-time processing, where each item is handled as it arrives. Batch jobs normally run without a person in the loop after they are submitted.

The parts of a batch setup are:

In banking and finance the end-of-day run is the best-known batch. It closes the business day and may post interest, update positions and balances, and produce reports, followed by start-of-day procedures for the next day. The cycle of tasks for a business day, from start-of-day to end-of-day procedures, is called daily processing.

Why it matters

A batch spreads a fixed set-up cost over many items and uses computing capacity when it is free, often overnight. It also gives a clear point in time at which data is complete and consistent, which accounting, reconciliation and reporting rely on.

The cost is delay. Data reflects the last completed run, so an event after the cut-off waits for the next run. When a job fails, every later job in the chain waits until the failure is fixed and the run restarts.

Worked example

Illustrative numbers. A payments system collects customer payments during the day and runs a batch after a cut-off time. The batch holds 10,000 payments.

  1. The controls record the input: 10,000 items with a total value of 5,000,000.
  2. Job 1 validates each payment. 9,950 pass and 50 are rejected to a repair queue.
  3. Job 2 posts the 9,950 accepted payments to accounts.
  4. Job 3 produces the outgoing file and the daily report.
  5. The controls confirm that accepted plus rejected items equal 10,000, and that posted value matches the accepted total.

A payment received just after the cut-off is not in this batch. It is processed in the next run, and its customer sees the effect one cycle later.

How to read it

Run duration, record counts and job status show whether a batch is healthy. A run that grows longer each period signals volume growth or a slow step. A mismatch between input and output counts signals lost or duplicated records.

Assumptions

Who uses it

Common confusions

8Roles that need it

9Skills behind it

Sources behind this page (2) · Updated 4 Nov 2026

Concept