commit | f2d0c6c95aec0decf1aa0abedc9549e40ea30114 | [log] [tgz] |
---|---|---|
author | Jacek Centkowski <[email protected]> | Wed Jul 13 08:18:51 2022 +0200 |
committer | Jacek Centkowski <[email protected]> | Fri Aug 12 18:24:49 2022 +0200 |
tree | 0082f305a8677556f9930da98759e0dde856cc38 | |
parent | ac975d073a5a3c61f4dea2d8e0d3745d6a53b09c [diff] |
Add read/write metrics to TimedValueMarshaller The following metrics were added: * cache/chroniclemap/store_serialize_latency_<cache-name> the latency of serializing entries in chronicle-map store * cache/chroniclemap/store_deserialize_latency_<cache-name> the latency of deserializing entries in chronicle-map store Notes: * metrics are not serializable hence as such they have to be transient * in case 'readResolve' method is used instead of constructor fallback to metrics cache to get metrics; it is safe operation as store is created only after the TimeValueMarshaller is created for a cache in question hence metricsCache is going to have the corresponding entry Change-Id: I195d83d4ebf351ad82925130d4e0c77231c3ec07
Non-blocking and super-fast on-disk cache libModule for Gerrit Code Review based on ChronicleMap on-disk implementation.
This libModule is built like a Gerrit in-tree plugin, using Bazelisk. See the build instructions for more details.
Install the chronicle-map module into the $GERRIT_SITE/lib
directory.
Add the cache-chroniclemap module to $GERRIT_SITE/etc/gerrit.config
as follows:
[gerrit] installModule = com.googlesource.gerrit.modules.cache.chroniclemap.ChronicleMapCacheModule
For further information and supported options, refer to config documentation.
You can check how to migrate from H2 to chronicle-map here.