If you’ve ever built a reactive application that handles high volumes of data—say, processing user events from a mobile app, streaming sensor readings from an industrial network, or ingesting thousands of transaction records per second—you’ve probably run into a familiar headache: one part of your pipeline is moving data way faster than another can keep up. Your logs might fill up with OutOfMemoryErrors, or you’ll see your database connection pool get exhausted because your event processor is dumping data into it nonstop, and nothing is pulling it out fast enough. For reactive teams, this problem isn’t just a performance kink—it’s a core design challenge, and Project Reactor’s backpressure system is the tool that solves it. As a Reactor components supplier that’s spent years refining how developers implement and integrate reactive patterns, I’ve seen firsthand how many teams misunderstand backpressure, treat it like a niche feature, or implement it wrong, leading to brittle, unreliable systems. Let’s break down what backpressure actually is in Project Reactor, how it works under the hood, why it’s non-negotiable for reactive apps, and how we help teams get it right. Reactor

First, let’s get back to basics. Reactive programming is built on the idea of asynchronous data streams: publishers emit sequences of data (think of them like fire hoses of information) and subscribers consume them. Without backpressure, this is a one-way fire hose—water pours out as fast as the publisher can generate it, and if the subscriber can’t handle that flow, it gets flooded, damaged, or shut down. Backpressure is the signaling system that lets the subscriber tell the publisher, “Slow down—I only have space for X more items right now.” It’s not a Reactor invention; it’s a decades-old concept from computer networking, where routers send signal packets to slow down data flow when links get congested. What makes Project Reactor’s backpressure implementation unique is how it embeds this signaling directly into its core abstractions, not as an afterthought.
A lot of developers new to Reactor confuse backpressure with just “flow control,” but it’s more precise than that. Flow control is a general term for managing data flow; backpressure specifically refers to a reciprocal, dynamic signal between publisher and subscriber, where the subscriber’s demand directly shapes how much data the publisher emits, and that demand can change in real time. For example, if your subscriber is a UI component that’s updating a chart, when it’s scrolled to the top, it might request 100 data points at a time; when it’s idle, it might request only 10, to keep memory usage low. That’s backpressure in action, and it’s completely different from a publisher just setting a fixed rate limit.
Let’s ground this in Project Reactor’s official abstractions, because that’s where most of the confusion lives. The two core interfaces are Publisher (the source of data) and Subscriber (the consumer). When a subscriber subscribes to a publisher, the publisher doesn’t just start dumping data immediately—this is the reactive pull model, which is the backbone of Reactor’s backpressure system. The subscriber sends a request(n) signal, where n is the number of items it’s ready to process. The publisher only emits up to n items, and when the subscriber is ready for more, it sends another request(n) signal. That’s the key loop: demand flows from subscriber to publisher, not the other way around, which eliminates the unidirectional flooding problem.
Wait, but what about hot publishers? Things like Kafka consumers, web sockets, or event streams from message brokers—these are active, ongoing sources of data that might emit items even when no subscriber is requesting them. For these, Reactor still enforces backpressure, but it handles the balance between the publisher’s stream and the subscriber’s demand differently. For example, Kafka’s Reactor adapter will hold onto incoming records in a buffer until the subscriber sends a new request signal, rather than dumping them all at once. If the buffer gets too full, Reactor can even trigger a flow control error (or let you configure a fallback) instead of letting memory bloat.
I’ve seen so many teams make the mistake of treating backpressure as a “nice-to-have” for low-traffic apps, and then suffer when their app scales. Let’s take a real example from a client we worked with last year: a fintech startup processing 10,000 transaction updates per second. They built their pipeline with Reactor, but forgot to implement backpressure, so their transaction event publisher was emitting items as fast as their order processing service could consume them. When a scheduled batch job ran and the order service dropped to 20% capacity, the publisher kept emitting 10,000 transactions a second, leading to a 2GB memory spike and a full application crash. Once they added proper backpressure, the order service would send request(100) batches when it was busy, and request(500) when it was idle, so the publisher adjusted its output to match—no more crashes, and throughput stayed consistent.
That example highlights why backpressure isn’t just a technical detail: it’s what makes reactive systems resilient. Without it, any mismatch in processing speed between components leads to cascading failures. If one service in your pipeline slows down, the upstream services will keep sending data, clogging up queues, consuming memory, and eventually taking the whole system down. Reactor’s backpressure system prevents that by making demand explicit at every step.
Now, how does Reactor actually implement this under the hood? It uses the Reactive Streams specification, which is a standard for asynchronous stream processing with non-blocking backpressure. Reactor is one of the reference implementations for this spec, so its behavior is standardized across all compliant libraries. The request signal is a long, 64-bit integer, which lets subscribers request up to 9e18 items at once—more than enough for any use case. This avoids common pitfalls like overflow errors that plague older flow control systems.
Reactor also has built-in tools to handle backpressure edge cases, which is where a lot of teams struggle. For example, what if a publisher emits items faster than a subscriber can request, even with backpressure? Reactor lets you configure overflow strategies for these scenarios, so you don’t get unexpected errors. The most common strategies are: DROP (discard the excess items), LATEST (keep only the newest item, since old data is stale), BUFFER (hold items in a queue, with a configurable size limit), and ERROR (throw an exception if the buffer exceeds its limit). Each strategy is tailored to different use cases: a real-time dashboard might use LATEST so it always shows the most recent data, while a transaction processing pipeline would use BUFFER with a strict limit and ERROR if it’s hit, to avoid data loss.
Another important edge case is when a subscriber cancels its subscription, or disconnects. Reactor’s backpressure system ensures that the publisher stops emitting items immediately, freeing up resources. This is critical for long-running streams, like real-time market data feeds, where a user might navigate away from a page—without backpressure, the market data publisher would keep sending data to a disconnected subscriber, wasting bandwidth and memory.
Let’s address a common myth about backpressure in Reactor: that it limits throughput. Some teams worry that by slowing down the publisher, backpressure will make their reactive system slower. But that’s not true—backpressure optimizes throughput by preventing resource exhaustion. If your system is consistently running out of memory, it’s going to be way slower than a system that’s operating at consistent capacity, even if it processes slightly fewer items per second. In fact, when implemented correctly, backpressure lets you run your system at maximum sustainable throughput, because every component is working at its optimal speed, not being overwhelmed.
As a Reactor components supplier, we’ve helped dozens of teams implement backpressure correctly, and we’ve seen the mistakes that come up again and again. The most common mistake we see is treating backpressure as a global setting, rather than a per-subscriber, per-stream configuration. For example, a team might set a global BUFFER strategy with a huge size, thinking that’s a fix for flooding, but that just moves the problem from memory usage to queue latency. A large buffer means a subscriber might be processing items that are minutes old, which is unacceptable for real-time use cases. Instead, backpressure should be tailored to each stream: a temperature sensor stream can use a small buffer with LATEST, while a payroll processing stream needs a larger buffer with ERROR strategy to avoid losing payment records.
Another mistake is ignoring backpressure for hot publishers. Hot publishers—like those from message brokers, web sockets, or event buses—don’t wait for subscribers to request items, so it’s easy to forget that backpressure still applies to them. Reactor’s adapters for these systems (like Reactor Kafka or Reactor Netty) are built to handle this, but teams often don’t configure their buffer limits or overflow strategies, leading to the exact same crashes we saw in the fintech client example.

If you’re building a reactive application with Project Reactor, backpressure isn’t something you can gloss over. It’s the foundation of reliable, resilient reactive systems. But implementing it correctly takes more than just adding a request(n) call—it takes understanding how backpressure interacts with your specific use case, choosing the right overflow strategies, and configuring your streams to adapt to changing demand. At our company, we design and supply Reactor-based components and consulting services that help teams master backpressure, avoid common pitfalls, and build reactive systems that scale without crashing. Whether you’re working on a fintech platform, a real-time IoT pipeline, or a consumer web app, getting backpressure right is non-negotiable. If you’re looking to implement proper backpressure in your Reactor workflow or want to optimize your existing reactive system, reach out to our team to discuss your needs. We’ll help you build a reactive pipeline that’s resilient, efficient, and ready to handle whatever traffic comes your way.
Tank with Mixer References
- The Reactive Streams Specification
- Project Reactor Core Reference Documentation
- "Backpressure: The Secret to Scaling Reactive Systems" (Spring Developer Blog)
- Reactor Kafka: Backpressure and Flow Control Guide
Kean Zhuolu Technical Equipment Co., Ltd.
We are one of the most experienced reactor manufacturers and suppliers in China, also support customized service. We warmly welcome you to buy advanced reactor made in China here from our factory. If you have any enquiry about pricelist, please feel free to email us.
Address: No. 53 Qifeng Road, Economic Development Zone, Zhuolu County, Zhangjiakou City, Hebei Province
E-mail: 13901183879@139.com
WebSite: https://www.keanreactor.com/