Welcome! Log In Create A New Profile

Advanced

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

Maxim Dounin
June 25, 2021 12:10PM
Hello!

On Thu, Jun 24, 2021 at 02:59:33PM -0400, malzad wrote:

> 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?

http://nginx.org/en/docs/dev/development_guide.html#http_load_balancing

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 324
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