armeria icon indicating copy to clipboard operation
armeria copied to clipboard

Add `OutlierDetectingEndointGroup`

Open ikhoon opened this issue 8 months ago • 3 comments

Currently, a CircuitBreaker cannot be applied individually to each endpoint in an EndpointGroup. OutlierDetectingEndointGroup internally uses CircuitBreaker to collect request results and avoid sending requests to bad Endpoints.

  • If a request to an Endpoint does not receive 2xx-4xx status, the CircuitBreaker increases the failure count for the Endpoint.
  • If the failure count exceeds the threshold defined in a CircuitBreaker option, the Endpoint is removed from the valid Endpoints and a new [Endpoint] will be added if available.

ikhoon avatar Apr 28 '25 06:04 ikhoon

If no one is currently assigned to this task and it hasn't been implemented yet, would it be alright if I take care this issue?

hyunw9 avatar May 08 '25 13:05 hyunw9

Thanks for your interest. However, I've already implemented OutlierDetectingEndointGroup internally and plan to publish it after redesigning its public API.

ikhoon avatar May 09 '25 01:05 ikhoon

I see, and thank you for letting me know.

hyunw9 avatar May 09 '25 03:05 hyunw9