Welcome! Log In Create A New Profile

Advanced

How to implement a new load-balancing algorithm in Nginx

June 24, 2021 02:59PM
Hello,

is it possible to implement a new load-balancing algorithm in Nginx just like “least_conn”, “ip_hash”? The algorithm will hash (not similar to generic hash provided by Nginx) some part of the URL and do some other calculations, and based on the calculation, the request will be passed to the appropriate backend server. If this is possible where should I begin?

Thanks in advance.
Subject Author Posted

How to implement a new load-balancing algorithm in Nginx

malzad June 24, 2021 02:59PM

Re: How to implement a new load-balancing algorithm in Nginx

Maxim Dounin June 25, 2021 12:10PM

Re: How to implement a new load-balancing algorithm in Nginx

malzad June 25, 2021 12:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 219
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready