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

2021-06-25 Thread malzad
Hi Maxim, Thanks a lot for the help. I will start to look into it. Best, Washik Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291913,291916#msg-291916 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

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

2021-06-25 Thread Maxim Dounin
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 s

How to implement a new load-balancing algorithm in Nginx

2021-06-24 Thread malzad
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

Re: Load balancing algorithm

2016-08-01 Thread Andrew Hutchings
Hi Dewangga, On 01/08/16 10:36, Dewangga Bachrul Alam wrote: Hello! On 08/01/2016 04:19 PM, Andrew Hutchings wrote: Hi Dewangga, I'm not quite sure what your desired outcome would be by connecting to two servers at the same time for a single client but it won't work the way you might think it

Re: Load balancing algorithm

2016-08-01 Thread Dewangga Bachrul Alam
the same table in multiple > servers being written to at the same time. See this blog post for more > information: > > https://www.nginx.com/blog/advanced-mysql-load-balancing-with-nginx-plus/ > > Kind Regards > Andrew > > On 01/08/16 09:20, Dewangga Bachrul Alam

Re: Load balancing algorithm

2016-08-01 Thread Andrew Hutchings
ation: https://www.nginx.com/blog/advanced-mysql-load-balancing-with-nginx-plus/ Kind Regards Andrew On 01/08/16 09:20, Dewangga Bachrul Alam wrote: Hello! I got curios with load balancing algorithm, I got scenarios like this. I have 3 galera cluster, each cluster have 3 node and it

Load balancing algorithm

2016-08-01 Thread Dewangga Bachrul Alam
Hello! I got curios with load balancing algorithm, I got scenarios like this. I have 3 galera cluster, each cluster have 3 node and it was solved with stream module. Cluster1: Node1-Cluster1: 192.168.11.1 Node2-Cluster1: 192.168.11.2 Node3-Cluster1: 192.168.11.3 Cluster2: Node1-Cluster2