[
https://issues.apache.org/jira/browse/HBASE-28613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth updated HBASE-28613:
--------------------------------
Description:
We are currently marshalling protobuf into a byte array, and then send that to
the client.
This is both slow and memory intensive.
I see a ~25% reduction in the REST server CPU usage for my benchmark with this
patch.
was:
We are currently marshalling protobuf into a byte array, and then send that to
the client.
This is both slow and memory intensive.
I see a ~15% reduction in the REST server CPU usage for my benchmark with this
patch.
> 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.
> I see a ~25% reduction in the REST server CPU usage for my benchmark with
> this patch.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)