Backpressure slows upstream work when a downstream stage cannot keep up. Buffering temporarily queues records to smooth differences in processing rate. Load shedding deliberately drops selected records during overload to protect a latency or availability goal, at the cost of completeness or result quality. They address related flow problems, but they are not interchangeable.
How the three techniques differ
| Technique | What happens | Main benefit | Main trade-off |
|---|---|---|---|
| Backpressure | Slower downstream consumption propagates upstream, reducing the rate at which earlier stages produce data. | Can preserve records while bringing the pipeline’s flow closer to what it can process. | Work may take longer; queued records can increase end-to-end latency. |
| Buffering | Records wait temporarily in queues or network buffers between stages. | Can absorb short bursts and reduce per-record network overhead through batching. | Queues do not make a slow stage faster. More in-flight data can increase waiting time, checkpoint duration, and recovery work. |
| Load shedding | A policy discards a selected portion of incoming or queued data when overload criteria are met. | Can reduce the work the system must handle to help maintain an acceptable latency or availability objective. | Some records are lost, so results may be incomplete or lower quality. |
These are conceptual distinctions; actual behavior depends on the stream-processing framework, its configuration, and the application’s data policy.
What backpressure means in a stream-processing pipeline
Imagine a fast source feeding a transform and then a database sink that can write only at a lower rate. As the sink’s input buffers fill, it consumes records more slowly. That pressure can propagate backward through the transform and eventually slow the source. The source may therefore appear backpressured without being the original bottleneck.
Apache Flink’s release 1.17 Monitoring Back Pressure documentation describes this downstream-to-upstream propagation and the use of backpressured, busy, and idle time metrics to understand task behavior. That page is marked out of date, so check the monitoring labels and metric details against the Flink release you run.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitches#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
When backpressure is expected
A temporary backpressure signal is not automatically a fault. It can occur during a load spike, catch-up after recovery, or a temporary slowdown in a downstream system. Flink’s large-state tuning guidance distinguishes such temporary pressure from constant backpressure, which generally indicates that the job lacks capacity for its sustained workload or has a bottleneck to address.
What buffering does—and does not do
Buffers hold records while they move between tasks or wait for a downstream stage. Grouping records into network buffers can reduce per-record overhead. A buffer timeout can limit how long a partially filled buffer waits before it is flushed; for example, Flink’s DataStream documentation describes setBufferTimeout. That documentation is on the unreleased master branch, and its stated 100 ms default may not apply to a deployed release. Check the documentation for your exact version before changing the setting.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Buffering is useful when a rate mismatch is brief: a queue can absorb a burst while the slower stage catches up. If input continues to arrive faster than the stage can process it, the queue eventually fills or lag grows. Increasing buffer size may delay visible pressure, but it does not increase the slow operator’s or sink’s processing capacity.
More in-flight data can support higher or more resilient throughput, but it also means more data may need to be represented in a checkpoint or handled during recovery. Flink’s network-memory guidance cautions against increasing buffer sizes or timeouts without evidence that the workload has a network bottleneck.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
What load shedding means for data quality
Load shedding is an explicit overload policy: discard data when the input rate exceeds the system’s capacity. A peer-reviewed survey, A Survey on the Evolution of Stream Processing Systems in The VLDB Journal, frames the challenge as detecting overload and choosing an action that maintains acceptable latency while limiting degradation in result quality.
The policy needs to define what can be dropped and what the resulting incompleteness means to users. Dropping arbitrary records does not preserve correctness. Shedding may be appropriate when the application can tolerate omissions—for example, if its output is intentionally approximate or some events are less important than keeping a time-sensitive service responsive. Whether those conditions hold is an application decision, not something implied by the existence of a runtime metric.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Kafka Streams’ 4.3 operations documentation lists dropped-records-rate and dropped-records-total, alongside buffered-record metrics. Those are useful observability signals, but they do not mean Kafka Streams automatically selects a safe subset of records to discard or provides a general load-shedding policy.
Which approach fits your priorities?
There is no universal winner. Choose based on what the pipeline must protect:
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
- Complete results matter most: Backpressure ordinarily slows flow rather than intentionally discarding records. If sustained throughput remains too low, investigate the bottleneck and whether the job can be optimized or given more capacity.
- The mismatch is a short burst: Buffering can absorb some temporary excess, provided memory and the permitted queueing delay are sufficient.
- Latency or continued service takes priority over completeness: A deliberately designed shedding policy can reduce the workload during overload, but downstream consumers need a way to understand that results may be incomplete.
- Checkpoints and recovery are a constraint: Consider how much data is in flight, not only whether buffers improve throughput. More in-flight data can lengthen checkpoints and increase recovery work.
- Capacity has a cost: Optimizing the job, addressing skew, adjusting configuration, or scaling may help when preservation is required and the added capacity is justified.
How to diagnose persistent backpressure
Start with the point where backpressure first appears, rather than assuming the source is the cause. Compare task busy, idle, and backpressured time with input and output rates, queue or buffer behavior, and source lag. In Flink, these signals help distinguish a task that is saturated from one that is waiting on downstream work.
- Find where pressure begins. Trace the pipeline from the first backpressured task downstream toward its consumers. Check whether the next operator or sink is consuming more slowly than its input arrives.
- Check workload shape. Look for uneven key distribution or other skew, as well as bursts caused by operations such as windows. An average rate can hide a hot partition or short overload spike.
- Inspect the downstream system. Determine whether a sink or intermediate service is slow or temporarily unavailable before changing the stream processor’s memory settings.
- Address the cause. Flink’s operational guidance identifies job optimization, configuration changes, and scaling as possible responses. Use the one that fits the bottleneck rather than treating every pressure signal as a reason to scale.
- Plan for recovery. Flink’s capacity guidance recommends enough headroom not only for normal operation but also for catching up after recovery. Assess that requirement against the workload you need to recover from.
Backpressure and checkpoints in Apache Flink
Backpressure can slow the propagation of checkpoint barriers when checkpoints use alignment. Flink 2.3 checkpointing documentation describes several responses: remove the underlying pressure, reduce in-flight buffered data, or enable unaligned checkpoints. Unaligned checkpoints allow barriers to overtake buffers by including in-flight data in checkpoint state, which can improve checkpoint times in the documented scenario while changing what must be persisted. Flink’s buffer-debloating mechanism can also control in-flight data and may help checkpoint and recovery behavior. These are Flink-specific options; availability and details depend on the deployed release.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

