Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get instance id for desired control-queue(s) #1069

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pasaini-microsoft
Copy link

@pasaini-microsoft pasaini-microsoft commented Apr 19, 2024

Motivation

#1079

Issue: No way of targeting an orchestrator instance to a desired control-queue.

  • We have been facing issues where DTF orchestration used to get stuck at random. Given that customer load is not very regular in our service, it was challenging to understand upfront if the orchestration would be processed or will be stuck.
  • More often customers used to reach out with incidents complaining their request not completing for long time.
  • This is where we needed orchestration instances to observe health of each queue by targeting one instance for desired control-queue.

Motivation:

  • motivation was to reduce the TTD for finding if orchestration can be stuck/waiting-forever in a control-queue irrespective of the cause.

Issue: No way to load lightly loaded control-queues.

  • We have face a few situations where some of control-queues are overwhelmed with orchestration instances while the others are happily processing almost nothing.

Motivation:

  • motivation was to target new instances of orchestration instances to set control-queue which are not heavily loaded

Proposal

API to generate instance id for a set of control-queues.

  • This API receives set of control-queues and prefix for instance id.
  • It returns back an instance id that will be routed to one of control-queues in the provided set.
  • Implementation detail is: create instance-ids and validate its routing for provided control-queues, once successful, return the instance-id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant