Welcome! Log In Create A New Profile

Advanced

Q : Nginx with libevent

Kashyap Jani
April 21, 2011 03:44PM
Hi,
I am trying to use nginx load balancing with an http server running on top of libevent. Because nginx makes connection requests in round robin fashion I am seeing a strange behavior when one of the http server is running a long query against backend database. What I am seeing is nginx picks this particular server and the request from client blocks on the call until the server comes back and entertains the request. Is there a way I can tell nginx to not use a connection when there's already a pending request ? I guess BIG IP does something similar where you can pick LRU algorithm and it will skip over active connections until we exhaust every server in the pool.


Thanks,
Kashyap
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Q : Nginx with libevent

Kashyap Jani April 21, 2011 03:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
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