Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
There is currently no way in a go server to use buffered sockets. Failing to do so decreases performance significantly in my tests.
I added an option on TServerSocket to set the buffer size to use. This will default to 1024 bytes, but can be disabled if desired to get back to the original behavior by setting BufferSize to 0.
Github pull request: https://github.com/apache/thrift/pull/249
Patch https://github.com/apache/thrift/pull/249.patch
Attachments
Issue Links
- is depended upon by
-
THRIFT-2812 Go server adding redundant buffering layer
- Closed