<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Backpressure on VinhMDev</title><link>https://vinhmdev.com/topics/backpressure/</link><description>Recent content in Backpressure on VinhMDev</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 10 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://vinhmdev.com/topics/backpressure/index.xml" rel="self" type="application/rss+xml"/><item><title>Paper 09: Fluid Dynamics in Data Streaming — Spillway Gates and Backpressure Design</title><link>https://vinhmdev.com/posts/paper-09-fluid-dynamics-in-data-streaming-spillway-gates-and-backpressure-design/</link><pubDate>Sat, 10 Oct 2026 00:00:00 +0000</pubDate><guid>https://vinhmdev.com/posts/paper-09-fluid-dynamics-in-data-streaming-spillway-gates-and-backpressure-design/</guid><description>&lt;p&gt;&#10;&#10;&#10;&#10;&#10;&#10;&#10; &#10; &#10;&lt;figure&gt;&#10; &#10; &lt;div class="image-zoom-target" data-zoom-src="https://vinhmdev.com/The-Spillway-Gate_2817086106759842522.jpg"&gt;&#10; &#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10; &#10; &lt;picture&#10; class="mx-auto my-0 rounded-md"&#10; &#10; &gt;&#10; &#10; &#10; &#10; &#10; &lt;source&#10; &#10; srcset="https://vinhmdev.com/The-Spillway-Gate_2817086106759842522_hu_44845badfaaef4db.webp 330w,https://vinhmdev.com/The-Spillway-Gate_2817086106759842522_hu_a1e8ea4e3a507bbd.webp 660w&#10; &#10; ,https://vinhmdev.com/The-Spillway-Gate_2817086106759842522_hu_4454bd2da6a89ef.webp 1024w&#10; &#10; &#10; ,https://vinhmdev.com/The-Spillway-Gate_2817086106759842522_hu_4347de33b1f9928f.webp 1320w&#10; "&#10; &#10; sizes="100vw"&#10; type="image/webp"&#10; /&gt;&#10; &#10; &lt;img&#10; width="1376"&#10; height="768"&#10; class="mx-auto my-0 rounded-md"&#10; alt="Placing an unbounded queue between services seems like a safe way to prevent data loss, but it merely converts rate mismatches into infinite latency and out-of-memory crashes. This paper uses fluid mechanics and Little&amp;rsquo;s Law to design backpressure and spillway gates."&#10; loading="lazy" decoding="async"&#10; &#10; src="https://vinhmdev.com/The-Spillway-Gate_2817086106759842522_hu_de88846783a650b5.jpg" srcset="https://vinhmdev.com/The-Spillway-Gate_2817086106759842522_hu_22c99bbdeb93b418.jpg 330w,https://vinhmdev.com/The-Spillway-Gate_2817086106759842522_hu_de88846783a650b5.jpg 660w&#10; &#10; ,https://vinhmdev.com/The-Spillway-Gate_2817086106759842522_hu_5ecdfb54795c8bc2.jpg 1024w&#10; &#10; &#10; ,https://vinhmdev.com/The-Spillway-Gate_2817086106759842522_hu_388af2d65e5b262c.jpg 1320w&#10; "&#10; sizes="100vw"&#10; &#10; /&gt;&#10; &lt;/picture&gt;&#10; &#10;&#10;&#10; &lt;/div&gt;&#10;&lt;/figure&gt;&lt;/p&gt;&#10;&lt;h2 id="i-abstract" class="relative group"&gt;I. Abstract &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#i-abstract" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;blockquote&gt;&#10;&lt;p&gt;Conventional intuition holds that inserting a large queue between a fast sender and a slow receiver absorbs traffic spikes without dropping data. In production operations, an unbounded queue where arrival rate exceeds service capacity saves nothing. By Little&amp;rsquo;s Law, it merely trades packet loss for linearly diverging wait times before exhausting server RAM. Worse, when a downstream database stalls for a few seconds, blind push streaming from upstream stages reflects backward as a memory shockwave analogous to hydraulic water hammer. For a pipeline to survive, architects must enforce three mechanisms: size buffers strictly to the bandwidth-delay product, replace blind push with credit-based pull, and open spillway gates that prioritize fresh requests.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item></channel></rss>