Source: samwho.dev

Load Balancing explained
Past a certain point, web applications outgrow a single server deployment. In this post we're going to focus on the ways that a single load balancer might distribute HTTP requests to a set of servers.

The way our load balancer is behaving here, sending a request to each server in turn, is called "round robin" load balancing.

The result is very similar to the initial weighted round robin simulation, but there's no need to specify the weight of each server up front.

Let's see this in action in a similarly complex simulation, the same parameters we gave the dynamic weighted round robin algorithm above.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners