Configurable buffer sizes
- Dominant language
- Go
- Stars
- 5.5k
- Forks
- 372
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the library's existing read and write buffer handling and how it configures client OS socket buffers. Clarify the proposed configuration API, expected high-throughput behavior, and overload handling before defining tests that demonstrate configurable buffer sizes and successful connections at the target throughput.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100