Resource management for Google gRPC library
Open
area/grpc
area/security
help wanted
priority/high
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 430
Description
We need to make some improvements to the treatment of resource management in the use of Google gRPC. Specifically:
* On the send-side, in google_async_client_impl.h, we need the equivalent of #10882, but working with the queued write buffers (which are in a dequeue, not a watermarked buffer).
* On the receive side, we need to configure buffer limits, see https://github.com/grpc/grpc/blob/a9a0739dc8acfeb46105ebc1ed1f81a1734bd801/include/grpcpp/resource_quota_impl.h and https://github.com/grpc/grpc/blob/311bf04ec94d7def98d80da050fd55feaabb1398/include/grpcpp/support/channel_arguments_impl.h#L90. Default resource quota is unbounded.
Contributor guide
Assessment
This issue has not been assessed yet.