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

Decrease gRPC streaming channel size #524

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

emadolsky
Copy link
Contributor

Go allocates the memory for the capacity given while initializing the channels. Therefore, having a big channel can cost a lot. This commit decreases the channel size. However, it is probably better to determine the size dynamically, and by the result of glob expansion. So this commit also adds one more field to tle to help find a logic for setting the size of the channel.

Go allocates the memory for the capacity given while initializing
the channels. Therefore, having a big channel can cost a lot. This
commit decreases the channel size. However, it is probably better
to determine the size dynamically, and by the result of glob
expansion. So this commit also adds one more field to tle to help
find a logic for setting the size of the channel.
@emadolsky emadolsky merged commit e475b2c into master Feb 9, 2023
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