Does set_peer_down mean the upstream server won't accept any requests?
tjliupeng opened this issue · 2 comments
tjliupeng commented
Hi, Yichun,
We plan to use lua Nginx module for backend server load balance. To prevent out of memory, our upstream server provides configuration for max session number. When the max session number reaches, this server won't participate for load balancing, but the requests for those sessions already created should still be routed to this server. Can I use set_peer_down for the server which has max sessions?
Thanks
Liu Peng
agentzh commented
@tjliupeng Yes, you could.
tjliupeng commented
Thanks, YiChun