DEV Community

Cover image for Load-Balancer🤖
Avinashd
Avinashd

Posted on

Load-Balancer🤖

Not for me 🫤 ?
This is my exact feeling when I first heard of it. At the time I mostly worked on front-end and It definitely looked like some magic only the intelligent can deal with.

Is it really complicated 🤨
Naahh... You just need some full-stack/web-dev experience to understand different things that go behind the scenes to make an app/website work.

Load Balancer is one of it.

Long Story Short

You opened a restaurant which basically has 10 tables, each table has a capacity of 4 chairs. When a customer visits the restaurant, there should be someone to guide them to a table. A manager well-dressed will take this job and perform it well.

Load Balancer

This is very basic idea of Load Balancer. In the request-response cycle, the requests will go to the load-balancer aka the manager who will guide them to different servers.

If the server (S1) is full, with the incoming requests, the load-balancer will see this and send the next request to server (S2).

Request Response Cycle with Load Balancer

PS: This post is a part of SillySystemDesign in which each post gives very silly way to understand a complicated concept🫡

Top comments (0)