Hi Maxim, Thanks a lot for the response. I think I get it why I was having this problem.by malzad - Nginx Mailing List - English
Hi, I have a static int variable in a load balancing module and initially set it to 0. I want to update this variable when there will be any HTTP requests with certain criteria. It gets updated but whenever the module receives a new HTTP request ( or after receiving a few HTTP requests), that int variable again resets to 0. how can I prevent it from resetting the value? Thanks in advance.by malzad - Nginx Mailing List - English
Hi there, I am trying to implement a load balancing module and need to use some c++ codes in it. I tried to run a demo as follows: I have a cpp_library.h, a cpp_library.cpp and my_load_balancer_module.c. cpp_library.h #ifndef C_BASE_CPP_LIBRARY_H #define C_BASE_CPP_LIBRARY_H #ifdef __cplusplus extern "C" {by malzad - Nginx Mailing List - English
Hi Maxim, Thanks a lot for the help. I will start to look into it. Best, Washikby malzad - Nginx Mailing List - English
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 advanby malzad - Nginx Mailing List - English