Skip to content

Unnecessary call of caching service during routing #4510

@pavel-jares-bcm

Description

@pavel-jares-bcm

There is the class DeterministicLoadBalancer. This class is reposible for deterministic routing of request. It uses header X-InstanceId or last used used server to implement sticky session.

The issue is in the order of taken actions to process the request. If the request contains a token (the user could be detected) it always call caching service, even the value is not used there.

The impact:

  • more I/O and performance degradation for authenticated request
  • it could failed when Caching service is down (even the call is not needed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Unplanned Bugs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions