XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0, 0.98.18, 2.0.0
    • regionserver
    • None
    • Reviewed

    Description

      Probably this can move under HBASE-15177. During RpcServer#setResponse we do IPCUtil.getDelimitedMessageAsByteBuffer for the header and result. This internally creates a byte[], CodedOutputStream and a BB. Then the totalSize is also wrapped in a BB.
      Finally all these BB are passed to BufferChain along with the Cellblock.
      This JIRA is to reduce the number of objects that we create here and allow one BB from this header, result and total Size along with one CodedOutputStream and pass this BB along with the Cellblocks to the Bufferchain. From the JMC tool can observe around 2% lesser object allocation arising out of these objects.

      Attachments

        1. HBASE-15202.patch
          4 kB
          ramkrishna.s.vasudevan
        2. HBASE-15202_3.patch
          4 kB
          ramkrishna.s.vasudevan
        3. HBASE-15202_2.patch
          5 kB
          ramkrishna.s.vasudevan
        4. HBASE-15202_1.patch
          5 kB
          ramkrishna.s.vasudevan

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: