Skip to content

Weighted cluster in LDS vs cluster load balancing weight in CDS #18837

Closed

Description

@hochuenw-dd

Hi!
I noticed that users at least can have two options to route the traffic to different destinations using weights.
weighted cluster in LDS and load_balancing_weight in CDS (between locality and within locality). Apparently, they are at different places in the data flow, and the one in CDS is locality-aware.
Are there any other differences that could affect users' choice over weighted_cluster or load_balancing_weight?

Thanks!

Activity

  1. added
    triage
    on Oct 30, 2021
  2. changed the title [-]Weight cluster in LDS vs cluster load balancing weight in CDS[/-] [+]Weighted cluster in LDS vs cluster load balancing weight in CDS[/+] on Oct 30, 2021
  3. lambdai commented on Nov 2, 2021

    @lambdai
    Contributor

    weight cluster impact the decision of a cluster. I don't think this step will inspect the weights of the endpoints within that cluster, nor the locality.
    once the cluster is chosen, the load_balancing_weight impacts you choose the upstream endpoint.

  4. lambdai commented on Nov 2, 2021

    @lambdai
    Contributor

    My impression is that retry never reconsider other cluster, otherwise lots of things could break although I don't have the full picture.
    but retry can reconsider another endpoint

  5. added
    question
    and removed
    triage
    on Nov 3, 2021
  6. github-actions commented on Dec 4, 2021

    @github-actions

    This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

  7. added
    stale
    on Dec 4, 2021
  8. github-actions commented on Dec 11, 2021

    @github-actions

    This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions