ThreeMammals/Ocelot

How to avoid calling down service in load balancer option

Aberta

#1.041 aberto em 17 de out. de 2019

 (14 comentários) (0 reação) (0 responsável)C# (1.617 forks)batch import
Health CheckLoad BalancerQoSacceptedbughelp wantedhighmedium effort

Métricas do repositório

Stars
 (8.137 estrelas)
Métricas de merge de PR
 (Mesclagem média 44d 17h) (6 fundiu PRs em 30d)

Description

Expected Behavior / New Feature

Load balancer should able to recognize the down service and stop calling service or up the service.

Actual Behavior / Motivation for New Feature

Load balancer is calling the service although the service is down and returning 500 internal server on every call.

Steps to Reproduce the Problem

  1. Created two instance of the same module and run on different port.
  2. Added load balance option for those two service instance of type RoundRobin.
  3. Kill the second service and now Ocelot still redirect to down service.

Specifications

  • Version: 13.5.2
  • Platform: Windows 10
  • Subsystem:

Guia do colaborador