hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-5901) Use union type protobufs instead of class/byte pairs for multi requests
Date Mon, 30 Apr 2012 06:58:50 GMT

     [ https://issues.apache.org/jira/browse/HBASE-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Todd Lipcon updated HBASE-5901:
-------------------------------

    Attachment: hbase-5901.txt

This patch dropped cumulative CPU usage by about 10% for a million-record insert.
                
> Use union type protobufs instead of class/byte pairs for multi requests
> -----------------------------------------------------------------------
>
>                 Key: HBASE-5901
>                 URL: https://issues.apache.org/jira/browse/HBASE-5901
>             Project: HBase
>          Issue Type: Improvement
>          Components: ipc, performance
>    Affects Versions: 0.96.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hbase-5901.txt
>
>
> The current implementation of multi actions uses repeated "NameBytesPair"s for the contents
of multi actions. Instead, we should introduce a union type protobuf for the valid actions.
This makes the RPCs smaller since they don't need to carry class names, and makes deserialization
faster since it can avoid some copying and reflection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message