You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently allocate a static buffer which is twice the size configured by the user. This buffer ends up using a bunch of memory, even when not being actively used.
Some options to consider:
Dynamically tune buffer size based on activity
Use a sync.Pool and keep a bunch of buffers around and manage the number (and possibly size) of these buffers based on activity
We should be able to use the changes made as part of #5757 to test the effectiveness of these options.
The text was updated successfully, but these errors were encountered:
This issues addresses bullet point 5 from #5751.
We currently allocate a static buffer which is twice the size configured by the user. This buffer ends up using a bunch of memory, even when not being actively used.
Some options to consider:
sync.Pool
and keep a bunch of buffers around and manage the number (and possibly size) of these buffers based on activityWe should be able to use the changes made as part of #5757 to test the effectiveness of these options.
The text was updated successfully, but these errors were encountered: