You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2011/01/03 19:08:45 UTC

[jira] Updated: (THRIFT-963) Reuse buffers in TNonblockingServer

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

Bryan Duxbury updated THRIFT-963:
---------------------------------

    Fix Version/s:     (was: 0.6)
                   0.7

> Reuse buffers in TNonblockingServer
> -----------------------------------
>
>                 Key: THRIFT-963
>                 URL: https://issues.apache.org/jira/browse/THRIFT-963
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.7
>
>
> Right now, we reallocate buffers all the time (twice per request!). We should be able to reuse these buffers quite easily. The only downside to reusing buffers is that each connection will hold as much memory as the biggest request they ever saw, which can be wasteful. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.