Todd Lipcon has submitted this change and it was merged. Change subject: tracing: gzip the trace JSON ajax response ......................................................................
tracing: gzip the trace JSON ajax response This enables gzipping of the actual trace which is sent back over HTTP when using the tracing web page. I noticed that the traces can be quite slow to receive, but given they often have a lot of repetitive text, they are quite compressible. The original Chrome implementation already did this, but I had ripped it out for simplicity when importing the code. This simply adds it back on the server side. A corresponding commit on the JS side adds a slight tweak so that we can send back binary gzipped data, whereas the Chrome version uses base64. Change-Id: Ia8d5966e65b51576bf1460cb1ea8c2240ea88cbc Reviewed-on: http://gerrit.cloudera.org:8080/4154 Tested-by: Kudu Jenkins Reviewed-by: David Ribeiro Alves <[email protected]> --- M src/kudu/server/tracing-path-handlers.cc M src/kudu/tserver/tablet_server-test.cc M src/kudu/util/CMakeLists.txt A src/kudu/util/zlib.cc A src/kudu/util/zlib.h M thirdparty/vars.sh 6 files changed, 210 insertions(+), 13 deletions(-) Approvals: David Ribeiro Alves: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/4154 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia8d5966e65b51576bf1460cb1ea8c2240ea88cbc Gerrit-PatchSet: 3 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]>
