VictoriaMetrics/app
Nikolay 4cf6219e07
lib/{storage,regexpcache}: replaces regexpCacheMap with LRU cache (#2293)
* lib/{storage,regexpcache}: replaces regexpCacheMap with LRU cache

It should decrease memory usage for regexp caching
with storing cacheEntry by pointer - golang map should be able to effectivly shrink it's size
original issue with this case - unexpected map grows and storage OOM

Apply suggestions from code review

Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>

Adds missing metrics for regexp cache and regexpPrefixes cache

* wip

* wip

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-03-26 12:57:27 +02:00
..
vmagent app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vmalert app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vmauth app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vmbackup app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vmbackupmanager app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vmctl app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vmgateway app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vminsert app/vminsert: add X-Influxdb-Version response header for InfluxDB API requests 2022-02-17 12:49:24 +02:00
vmrestore app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vmselect app/vmselect: add fine-grained limits for the number of returned/scanned time series for various APIs 2022-03-26 11:28:14 +02:00
vmstorage lib/{storage,regexpcache}: replaces regexpCacheMap with LRU cache (#2293) 2022-03-26 12:57:27 +02:00
vmui build(deps): bump @types/react in /app/vmui/packages/vmui (#2346) 2022-03-21 15:45:27 +02:00