Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22905

Avoid temp ByteBuffer allocation in BlockingRpcConnection#writeRequest

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.3.0, 2.2.1, 2.1.7
    • Component/s: None
    • Labels:
      None

      Description

      Currently BlockingRpcConnection use ByteBufferOutputStream to serialize CellBlock which involve temp ByteBuffer allocation, we can replace it with netty’s ByteBufOutputStream, just like what NettyRpcDuplexHandler#writeRequest doing

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                javaman_chen chenxu
                Reporter:
                javaman_chen chenxu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: