🧪 TCP AIMD Congestion Control Simulator
Watch real TCP AIMD congestion control at work: slow-start doubling, additive-increase/multiplicative-decrease, and a finite bottleneck buffer that drops packets on real queue overflow — with 2-4 competing flows converging toward fair bandwidth share.
This simulator runs the real Additive-Increase/Multiplicative-Decrease algorithm that TCP uses to control how fast it sends data. Several competing flows each keep their own congestion window and offer that many packets, every simulated round-trip time, to one shared bottleneck link with a genuinely finite buffer. When combined demand exceeds what the link and its buffer can hold, real packets are dropped — determined by actual queue occupancy each round, never a scripted "loss event" — and whichever flows lose a packet immediately halve their window. Flows that get through cleanly grow their window: doubling every RTT during slow start, then by a flat one packet per RTT once they cross their own slow-start threshold. Watch the live cwnd-vs-time chart as new flows join a few rounds apart and the buffer's real drop-on-overflow behavior repeatedly cuts back whichever flow is hogging the link, driving all of them toward the same, well-documented AIMD result: roughly equal long-run bandwidth share, with no central coordination at all.
Watch real TCP congestion control at work: slow-start doubling, additive-increase/multiplicative-decrease, and a finite bottleneck buffer that drops packets on genuine queue overflow, as 2-4 competing flows converge toward a fair bandwidth share.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install