<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Autoscaling on VinhMDev</title><link>https://vinhmdev.com/topics/autoscaling/</link><description>Recent content in Autoscaling on VinhMDev</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 17 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://vinhmdev.com/topics/autoscaling/index.xml" rel="self" type="application/rss+xml"/><item><title>Paper 10: Control Theory for Auto-scaling — Why Static Thresholds Always Chase the Shadow of Load</title><link>https://vinhmdev.com/posts/paper-10-control-theory-for-auto-scaling-why-static-thresholds-always-chase-the-shadow-of-load/</link><pubDate>Sat, 17 Oct 2026 00:00:00 +0000</pubDate><guid>https://vinhmdev.com/posts/paper-10-control-theory-for-auto-scaling-why-static-thresholds-always-chase-the-shadow-of-load/</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-Homeostatic-Governor_15579658214880113264.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-Homeostatic-Governor_15579658214880113264_hu_e9d578c81246d3ab.webp 330w,https://vinhmdev.com/The-Homeostatic-Governor_15579658214880113264_hu_86b1be89628debf3.webp 660w&#10; &#10; ,https://vinhmdev.com/The-Homeostatic-Governor_15579658214880113264_hu_c944ae46915df669.webp 1024w&#10; &#10; &#10; ,https://vinhmdev.com/The-Homeostatic-Governor_15579658214880113264_hu_8842a3c5935fd56.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="Adding servers when CPU exceeds 70% and removing them below 40% sounds sensible, yet server startup delay turns that static rule into self-excited oscillations. This paper applies PID control theory and Nyquist phase margins to design homeostatic capacity governors."&#10; loading="lazy" decoding="async"&#10; &#10; src="https://vinhmdev.com/The-Homeostatic-Governor_15579658214880113264_hu_22a9839aa30b75f5.jpg" srcset="https://vinhmdev.com/The-Homeostatic-Governor_15579658214880113264_hu_cf5940b132665dfa.jpg 330w,https://vinhmdev.com/The-Homeostatic-Governor_15579658214880113264_hu_22a9839aa30b75f5.jpg 660w&#10; &#10; ,https://vinhmdev.com/The-Homeostatic-Governor_15579658214880113264_hu_d1aacd1d9c0856bf.jpg 1024w&#10; &#10; &#10; ,https://vinhmdev.com/The-Homeostatic-Governor_15579658214880113264_hu_bfb8cb2ed19d05bb.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;Most cloud infrastructures today adjust server counts using static threshold rules: if CPU exceeds 70%, add servers; if it drops below 40%, terminate servers. In control theory, pairing a binary bang-bang rule with server startup delay introduces severe phase lag. When cold-start lag delays corrective capacity by half a load cycle, stabilizing negative feedback inverts into positive feedback, driving the cluster into hunting oscillations. The system chronically over-provisions after a traffic peak has passed and terminates warm instances right before the next wave arrives. Achieving stable homeostasis requires a PID controller equipped with anti-windup clamping, in-flight startup accounting, and asymmetric scale-in damping.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item></channel></rss>