Buffering

Workflow TopologiesData-Flow TopologyAttribute

What happens when the consumer is slower than the producer.

In full

Streaming raises a question batching does not. Unbounded: the buffer grows until memory runs out. Bounded with backpressure: the producer is slowed to the consumer's rate. Bounded with an overflow policy: the buffer stays fixed and something is dropped, oldest, newest, or lowest priority, on purpose rather than by accident.

Most systems believe they have the second and actually have the first. The slow-down signal itself is axis 5; how much the path may hold is described here.

Open it in the explorerWorkflow Topologies, at this entry

Back to Workflow Topologies