Least Connections
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="proxy.php?url=https%3A%2F%2Fstatuscodefyi.com%2Fiframe%2Fglossary%2Fleast-connections%2F" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://statuscodefyi.com/glossary/least-connections/
Add a dynamic SVG badge to your README or docs.
[](https://statuscodefyi.com/glossary/least-connections/)
Use the native HTML custom element.
A dynamic load balancing algorithm that routes each new request to the backend server currently handling the fewest active connections. Unlike round-robin, which ignores connection duration, least-connections accounts for variable request processing times and is particularly effective when requests have widely differing execution durations (e.g., long-running WebSocket connections mixed with short API calls). A weighted variant — Least Connections with weights — adjusts the effective connection count by the server's assigned weight, combining capacity awareness with dynamic load measurement.