You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Tom Lee (JIRA)" <ji...@apache.org> on 2015/11/19 12:11:10 UTC

[jira] [Created] (THRIFT-3432) Add a TByteBuffer transport to the Java library

Tom Lee created THRIFT-3432:
-------------------------------

             Summary: 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)