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

GrpcConnection: Re-use subscription thread #2651

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robem
Copy link
Contributor

@robem robem commented May 24, 2022

Continuously reading updates from subscription streams is the common case and
for some application performance critical. Therefore, instead of spawning a new
thread for every new Read() operation, this change introduces a thread pool
with a single thread to avoid the overhead.
This change has been tested as part of a wider effort to improve TRC.

Continuously reading updates from subscription streams is the common case and
for some application performance critical. Therefore, instead of spawning a new
thread for every new Read() operation, this change introduces a thread pool
with a single thread to avoid the overhead.
This change has been tested as part of a wider effort to improve TRC.
@robem robem requested a review from shgandhi May 24, 2022 16:23
@robem robem self-assigned this May 24, 2022
@robem robem requested a review from a team as a code owner May 24, 2022 16:23
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.

2 participants