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)

Reply via email to