Skip to content

[Core] Resource Tracking#40698

Closed
siddharthnohria wants to merge 5 commits intogrpc:masterfrom
siddharthnohria:container-memory
Closed

[Core] Resource Tracking#40698
siddharthnohria wants to merge 5 commits intogrpc:masterfrom
siddharthnohria:container-memory

Conversation

@siddharthnohria
Copy link
Contributor

@siddharthnohria siddharthnohria commented Sep 15, 2025

Introduce a centralized Resource Tracking mechanism in gRPC core, to provide a centralized way to access job-level resources.

There are multiple features in gRPC which can benefit from having better visibility into the job-level resource usage.

  • Debuggability: Knowing that the Client / Server was experiencing high CPU usage at the time of some request can serve as a valuable insight for debugging poor latencies / failures.

  • Load Shedding: gRPC’s ResourceQuota currently depends upon users defining limits, and only track gRPC channel-level usage. Configuring this can be difficult at times, especially if the application level usage for different requests varies significantly. In addition, visibility into Container memory usage can allow us to enable ResourceQuota by default in the future.

----
DO NOT SUBMIT. This PR is for testing purposes only. [cl/785275851](http://cl/785275851)

PiperOrigin-RevId: 785275851
@siddharthnohria siddharthnohria added the release notes: no Indicates if PR should not be in release notes label Sep 15, 2025
@pawbhard pawbhard requested a review from ctiller September 15, 2025 06:03
@siddharthnohria siddharthnohria requested review from Vignesh2208 and ac-patel and removed request for ctiller September 15, 2025 06:08
@anniefrchz anniefrchz mentioned this pull request Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants