Published on

Top 6 Load Balancing Algorithms.

Authors

The battle of Static Algorithms vs. the Dynamic Algorithms

Image

🔹 Static Algorithms

  1. Round robin

The client requests are sent to different service instances in sequential order. The services are usually required to be stateless.

  1. Sticky round-robin

This is an improvement of the round-robin algorithm. If Alice's first request goes to service A, the following requests go to service A as well.

  1. Weighted round-robin

The admin can specify the weight for each service. The ones with a higher weight handle more requests than others.

  1. Hash

This algorithm applies a hash function on the incoming requests' IP or URL. The requests are routed to relevant instances based on the hash function result.

🔹 Dynamic Algorithms

  1. Least connections

A new request is sent to the service instance with the least concurrent connections.

  1. Least response time

A new request is sent to the service instance with the fastest response time.

Author

AiUTOMATING PEOPLE, ABN ASIA was founded by people with deep roots in academia, with work experience in the US, Holland, Hungary, Japan, South Korea, Singapore, and Vietnam. ABN Asia is where academia and technology meet opportunity. With our cutting-edge solutions and competent software development services, we're helping businesses level up and take on the global scene. Our commitment: Faster. Better. More reliable. In most cases: Cheaper as well.

Feel free to reach out to us whenever you require IT services, digital consulting, off-the-shelf software solutions, or if you'd like to send us requests for proposals (RFPs). You can contact us at [email protected]. We're ready to assist you with all your technology needs.

ABNAsia.org

© ABN ASIA

AbnAsia.org Software