You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it seems that a connection is considered broken if the url provided to the balancer throws an error or returns any status code other than 200. Ideally, I think the case for a valid endpoint would simply just be the connection as, in our case anyway, the root url we provide returns a status of 404 because nothing is provided at our root location. However, it still is considered "up" and/or can receive connections.
A valid endpoint should be justified in terms of whether or not is connecting or not i think. If we have an issue with our res then that's our problem. Maybe provide an option to remove an endpoint from the balancer if the amount of certain status codes besides 200 exceeds a specified amount? Not sure. I just wanted to open it up for discussion.
The text was updated successfully, but these errors were encountered:
You're probably right in that the package could be more open for configuration by default, e.g. by providing a way to pass in the status codes where connections are to be considered broken and healthy.
Currently it seems that a connection is considered broken if the url provided to the balancer throws an error or returns any status code other than 200. Ideally, I think the case for a valid endpoint would simply just be the connection as, in our case anyway, the root url we provide returns a status of 404 because nothing is provided at our root location. However, it still is considered "up" and/or can receive connections.
Example
http://ourendpoint:80 -> 404
http://ourendpoint:80/path/to/res -> 200
A valid endpoint should be justified in terms of whether or not is connecting or not i think. If we have an issue with our res then that's our problem. Maybe provide an option to remove an endpoint from the balancer if the amount of certain status codes besides 200 exceeds a specified amount? Not sure. I just wanted to open it up for discussion.
The text was updated successfully, but these errors were encountered: