Skip to content

How to avoid calling down service in load balancer option #1041

Open
@uvcreation

Description

@uvcreation

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Health CheckPOC Health ChecksLoad BalancerOcelot feature: Load BalancerQoSOcelot feature: Quality of Service aka PollyacceptedBug or feature would be accepted as a PR or is being worked onbugIdentified as a potential bughelp wantedNot actively being worked on. If you plan to contribute, please drop a note.highHigh prioritymedium effortLikely a few days of development effort

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions