collection Commons
Private · saved on this device

Streaming & event processing

Data engineering patterns for streaming & event processing.

Explore 13 field-guide articles on streaming & event processing. Each article develops a concrete problem, explains the design response, and discusses examples and limits.

Backpressure covers cooperative capacity feedback in Reliability and Failure Handling, retaining its Data Engineering examples and canonical route.

Curated selection

In this Collection

13 entries · Author-defined order
  1. Data Engineering

    pattern · commons

    Allowed Lateness

    Retain window state for a defined event-time horizon so accepted late records can revise results before routine correction stops.

  2. Data Engineering

    pattern · commons

    Bounded Stream–Stream Joins

    Match events across streams by key and an explicit time relationship, using progress and lateness policies to bound how long possible matches are retained.

  3. Data Engineering

    pattern · commons

    Early Results with Corrections

    Publish provisional results before all expected data arrives, then issue identifiable revisions that consumers can apply correctly despite retries or out-of-order delivery.

  4. Data Engineering

    pattern · commons

    Event-Time Processing

    Group and evaluate events by when they happened, with explicit rules for delayed arrivals and corrections.

  5. Data Engineering

    pattern · commons

    Microbatch Processing

    Process a stream as successive bounded batches with recorded input ranges, allowing batch-style execution and recovery while keeping batch cadence separate from event-time windows.

  6. Data Engineering

    pattern · commons

    Per-Key Ordering

    Apply events for each business key in their required sequence while allowing different keys to progress independently, coordinating routing and state changes.

  7. Data Engineering

    pattern · commons

    Session Windows

    Group each key’s events into activity periods separated by a defined inactivity gap, allowing late events to extend or merge sessions under the retention policy.

  8. Data Engineering

    pattern · commons

    Sliding Windows

    Calculate results over moving, usually overlapping time horizons, retaining context across reporting boundaries while recognizing that one event may contribute to several results.

  9. Data Engineering

    pattern · commons

    State Expiration

    Remove working state when its defined retention or correctness horizon ends, bounding resource use while making the resulting limits explicit.

  10. Data Engineering

    pattern · commons

    Stateful Stream Deduplication

    Remember event identities for a declared horizon and suppress repeated deliveries, coordinating retained state and outputs so recovery preserves the intended duplicate-handling guarantee.

  11. Data Engineering

    pattern · commons

    Stream–Table Enrichment

    Attach reference attributes to streaming events using an explicit temporal rule, such as the latest available table state or a historical version valid at event time.

  12. Data Engineering

    pattern · commons

    Tumbling Windows

    Divide time into fixed, adjacent, nonoverlapping windows so each event timestamp belongs to one interval under an explicit boundary convention.

  13. Data Engineering

    pattern · commons

    Watermarks

    Use a source’s estimate or guarantee of event-time progress to decide when to publish window results and clean up retained state.