VictoriaMetrics/lib/workingsetcache
Aliaksandr Valialkin 8f973e34fb lib/workingsetcache: properly switch to whole mode
Previously the switch from `split` to `whole` mode had been performed too early,
e.g. when the current cache size became bigger than 1/4 of the allowed cache size.

Now it is performed when the current cache size becomes bigger than 1/2 of the allowed cache size.

This change can reduce memory usage for data ingestion path when big number of active time series are ingested.
2021-07-05 15:16:11 +03:00
..
cache.go lib/workingsetcache: properly switch to whole mode 2021-07-05 15:16:11 +03:00