Istvan Toth created HBASE-28613: ----------------------------------- Summary: 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
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)