hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-7803) Look into REST API performance
Date Sun, 10 Feb 2013 19:23:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575500#comment-13575500
] 

Andrew Purtell edited comment on HBASE-7803 at 2/10/13 7:22 PM:
----------------------------------------------------------------

Have you considered HTTP overheads? YCSB throws a lot of ops at the target and I'd guess in
your testing each read is a separate HTTP request. This was a topic that came up around the
time of REST's introduction. It is appropriate for bulk or infrequent ops ("wide" load) as
opposed to hundreds or thousands of transactions per second ("tall" load). For tall load,
use Thrift or the native API. REST does batching for scanners and supports bundling ops into
a single HTTP transaction to amortize the HTTP overheads.

Edit: Fix big thumb spelling errors. 
                
      was (Author: apurtell):
    Have you considered HTTP overheads? YCSB throws s lot of ops at the target and I'd guess
in your testing each read is a separate HTTP request. This was a topic that came up around
the time of REST's introduction. It is appropriate for bulk or infrequent ops ("wide" load)
as opposed to hundreds or thousands of transactions per second ("tall" load). For tall load,
use Thrift or the native API. REST does hatching for scanners and supports bundling ops into
a single HTTP transaction to amortize the HTTP overheads.

                  
> Look into REST API performance
> ------------------------------
>
>                 Key: HBASE-7803
>                 URL: https://issues.apache.org/jira/browse/HBASE-7803
>             Project: HBase
>          Issue Type: Task
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>
> I have a YCSB client using the REST API.  My testing shows the performance for scan with
REST API is much worse than that with the java client API.  We need to look into it and find
out the root cause, either the test issue, or our REST API issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message