[ 
https://issues.apache.org/jira/browse/THRIFT-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013351#comment-15013351
 ] 

ASF GitHub Bot commented on THRIFT-3432:
----------------------------------------

GitHub user thomaslee opened a pull request:

    https://github.com/apache/thrift/pull/705

    THRIFT-3432 Add the TByteBuffer transport for Java

    A bounded, in-memory, optionally off-heap transport.
    
    See https://issues.apache.org/jira/browse/THRIFT-3432 for more details.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/thomaslee/thrift tom_tbytebuffer

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/705.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #705
    
----
commit d38ade97485749f57ce9ba3ff2c7e9f0c04d1d06
Author: Tom Lee <git...@tomlee.co>
Date:   2015-11-19T11:03:30Z

    THRIFT-3432 Add the TByteBuffer transport for Java

----


> Add a TByteBuffer transport to the Java library
> -----------------------------------------------
>
>                 Key: THRIFT-3432
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3432
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>    Affects Versions: 0.9.3
>            Reporter: Tom Lee
>            Priority: Minor
>
> A bounded alternative to TMemoryBuffer that uses java.nio.ByteBuffer under 
> the hood.
> This is useful both to set sane constraints on maximum message size in a 
> transport-agnostic manner but also because direct buffers can be used to 
> serialize Thrift off-heap, avoiding allocations (thus reducing GC frequency 
> and potentially live set size)



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

Reply via email to