commit | 05cf861dfb8578977163015f945b6a152f23e43c | [log] [tgz] |
---|---|---|
author | Jiajun Wang <jjwang@linkedin.com> | Wed Feb 02 12:28:14 2022 -0800 |
committer | GitHub <noreply@github.com> | Wed Feb 02 12:28:14 2022 -0800 |
tree | 0a5987bb87a2f84f7ead1e791e8b42f27df8932a | |
parent | a478bbcfc8161f3f7ed62b1e1a28cc4b0e68e863 [diff] |
Add new metrics to record ZNRecord compression count. (#1943) This PR determines if a ZK write request is compressed by calling GZipCompressionUtil. This is an indirect method and can be inaccurate. So the decision is based on trade-offs. Alternatively, the ZkClientMonitor can be passed into the serializer class and then report compressed write internally. However, this will require multiple changes in the serializer interfaces. Due to the multiple layers (PathBasedZkSerializer, ZkSerializer) of serializer interfaces definition, it would be very costly to implement the alternative without major refactoring.
Helix is part of the Apache Software Foundation.
Project page: http://helix.apache.org/
Mailing list: http://helix.apache.org/mail-lists.html
mvn clean install -Dmaven.test.skip.exec=true
Helix is a generic cluster management framework used for automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features: