The is_healthy check from the connector is a bit binary - it either returns a result or it doesn't. By incorporating a more dynamic feedback mechanisim ('please rate this connection on a 1-5 star scale') we could give better heuristics for qorb's internal scoring system of backend preferences.
This could be extended to a connector which, for example, tracks the number of 500 errors returned from HTTP clients, tracks latencies of requests, etc.
The
is_healthycheck from the connector is a bit binary - it either returns a result or it doesn't. By incorporating a more dynamic feedback mechanisim ('please rate this connection on a 1-5 star scale') we could give better heuristics for qorb's internal scoring system of backend preferences.This could be extended to a connector which, for example, tracks the number of 500 errors returned from HTTP clients, tracks latencies of requests, etc.