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
Which is the suggested way to configure this library for high throughput connection, eg 10Mbit or more?
My understanding from navigating the code is that there is no way to configure the read/write buffer size. Do you think this could be a useful addition to the library?
Also increasing the read buffer size should probably be combined with increasing the client OS socket read buffer to prevent overload, which usually results to automatic closing of the connection.
Any feedback on this would be very useful for my use case. Also I am available to work on an enhancement to this library to support high throughput.
The text was updated successfully, but these errors were encountered:
nhooyr
changed the title
Configure websocket client for high throughput
Configurable buffer sizes
Nov 19, 2023
No current support to configure buffer sizes but I'm not against adding it. Don't have any recommendations. If you don't have benchmarks, I wouldn't modify anything.
Which is the suggested way to configure this library for high throughput connection, eg 10Mbit or more?
My understanding from navigating the code is that there is no way to configure the read/write buffer size. Do you think this could be a useful addition to the library?
Also increasing the read buffer size should probably be combined with increasing the client OS socket read buffer to prevent overload, which usually results to automatic closing of the connection.
Any feedback on this would be very useful for my use case. Also I am available to work on an enhancement to this library to support high throughput.
The text was updated successfully, but these errors were encountered: