You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/10/26 17:06:34 UTC

[jira] [Assigned] (THRIFT-2791) Allowing use of buffered sockets in go server

     [ https://issues.apache.org/jira/browse/THRIFT-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer reassigned THRIFT-2791:
----------------------------------

    Assignee: Jens Geyer

> Allowing use of buffered sockets in go server
> ---------------------------------------------
>
>                 Key: THRIFT-2791
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2791
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Go - Library
>            Reporter: Craig Peterson
>            Assignee: Jens Geyer
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)