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

Istvan Toth commented on HBASE-28613:
-------------------------------------

Hmm, I have re-run the tests, and now I see similar results with the old code.
Will need to investigate further.

> Use streaming when marshalling protobuf REST output
> ---------------------------------------------------
>
>                 Key: HBASE-28613
>                 URL: https://issues.apache.org/jira/browse/HBASE-28613
>             Project: HBase
>          Issue Type: Improvement
>          Components: REST
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> We are currently marshalling protobuf into a byte array, and then send that 
> to the client.
> This is both slow and memory intensive.
> Using streaming instead results in huge perf improvements. In my bechnmark, 
> both the wall clock time was almost halved, while the REST server CPU usage 
> was reduced by 40%.
> wall clock: 120s ->65s
> Total REST CPU: 300s -> 180s



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to