Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-484

Ability to use a slice of a buffer instead of a direct byte[] for binary fields

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 0.4
    • None

    Description

      The HBase folks who are considering using Thrift for their internal and external RPC have suggested that it would be a useful performance enhancement to be able to use a subslice of a byte array as the value of a binary field, without first doing a new byte array copy. Done correctly, this would mean that the data could be copied once from when it is read in from the socket to when it is written out as part of HBase's internal datastructures.

      This enhancement seems like it could boost the performance of things in Hadoop, as well, so it could be a really nice option to investigate.

      Attachments

        Issue Links

          Activity

            People

              bryanduxbury Bryan Duxbury
              bryanduxbury Bryan Duxbury
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: