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

Add application_utilization #62

Merged
merged 2 commits into from
Jun 7, 2023
Merged

Add application_utilization #62

merged 2 commits into from
Jun 7, 2023

Conversation

yousukseung
Copy link
Contributor

gRPC's client-side weighted round robin currently uses 'cpu_utilization' but the load balancing works with any utilization. Server applications that are not CPU bound can report an application specific utilization metric instead and balance the load better. This change introduces a new top-level field 'application_utilization' for this use.

Signed-off-by: Yousuk Seung <[email protected]>
@yousukseung yousukseung changed the title Add application_utilization. Add application_utilization Jun 5, 2023
@yousukseung yousukseung marked this pull request as ready for review June 5, 2023 12:33
@yousukseung
Copy link
Contributor Author

@markdroth @htuch

@markdroth
Copy link
Contributor

LGTM. I'd like to get a non-gRPC review from @htuch.

Also, looks like the DCO check is failing. @yousukseung, please fix.

@htuch
Copy link
Contributor

htuch commented Jun 6, 2023

Please fix DCO!

Signed-off-by: Yousuk Seung <[email protected]>
@yousukseung
Copy link
Contributor Author

Please fix DCO!

Fixed.

@htuch htuch merged commit e9ce688 into cncf:main Jun 7, 2023
sergiitk pushed a commit to sergiitk/xds that referenced this pull request Oct 6, 2023
gRPC's client-side weighted round robin currently uses 'cpu_utilization' but the load balancing works with any utilization. Server applications that are not CPU bound can report an application specific utilization metric instead and balance the load better. This change introduces a new top-level field 'application_utilization' for this use.

Signed-off-by: Yousuk Seung <[email protected]>
Signed-off-by: Sergii Tkachenko <[email protected]>
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.

3 participants