Course contentsShow
← System Design
Lesson 697 of 1,91919. Event Streaming PlatformsFree lesson

Push vs Pull Consumption Models

Consumers pull data at their own rate, providing backpressure control and independent scaling per consumer.

Push vs Pull Consumption Models

What you'll learn: How event streaming platforms let consumers control their own consumption pace, rather than forcing data delivery on them.


In event streaming systems, there are two fundamental ways data can flow from the platform to consumers: push and pull.

Push Model

In a push model, the broker actively sends messages to consumers as they arrive. Think of it like a food delivery service that shows up at your door whenever they have food ready—whether you're hungry or not. Traditional message brokers often use this approach.

Challenges with push:

  • Consumers can be overwhelmed if messages arrive faster than they can process
  • The broker must track which consumers are active and their capacity
  • Difficult to handle slow or temporarily offline consumers

Pull Model

In a pull model (used by modern event streaming platforms), consumers request data from the stream at their own rate. This is like a buffet where you control when and how much food you take.

Benefits of pull:

  • Backpressure control: Consumers naturally regulate their consumption speed
  • Independent scaling: Each consumer can scale without affecting others
  • Replay capability: Consumers can restart from any position in the stream
  • Simpler broker design: The platform doesn't need complex flow control

For example, if one consumer is processing complex analytics and another is doing simple logging, the analytics consumer can poll less frequently without slowing down the logger.

The Trade-off

Pull models require consumers to be more active—they must continuously poll for new data. However, this gives them complete autonomy over their consumption rate and enables powerful patterns like batch processing and replay.

Key Takeaway: Pull-based consumption puts consumers in control of their pace, enabling independent scaling, natural backpressure handling, and the ability to replay streams without overwhelming any single consumer.