openresty / lua-resty-balancer

A generic consistent hash implementation for OpenResty/Lua
322 stars 77 forks source link

Is there any way to detect the status of the server node is normal #22

Closed houjq3 closed 5 years ago

houjq3 commented 6 years ago

Is there any way to detect the status of the server node is normal? @agentzh

biaochen commented 5 years ago

what will happen if one backend node is down, will the request spread to other nodes automatically

agentzh commented 5 years ago

You need to implement healthchecker yourself in Lua. This library does not care about healthchecking itself.