VictoriaMetrics/app/victoria-metrics
Aliaksandr Valialkin 8189770c50
all: add -inmemoryDataFlushInterval command-line flag for controlling the frequency of saving in-memory data to disk
The main purpose of this command-line flag is to increase the lifetime of low-end flash storage
with the limited number of write operations it can perform. Such flash storage is usually
installed on Raspberry PI or similar appliances.

For example, `-inmemoryDataFlushInterval=1h` reduces the frequency of disk write operations
to up to once per hour if the ingested one-hour worth of data fits the limit for in-memory data.

The in-memory data is searchable in the same way as the data stored on disk.
VictoriaMetrics automatically flushes the in-memory data to disk on graceful shutdown via SIGINT signal.
The in-memory data is lost on unclean shutdown (hardware power loss, OOM crash, SIGKILL).

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3337
2022-12-05 15:16:14 -08:00
..
deployment Rootless docker images by default (#358) 2020-03-27 21:23:50 +02:00
multiarch app: fix make publish-* after ed93330e66 2022-07-14 10:59:11 +03:00
test app/victoria-metrics: remove integration build tag from tests 2020-01-27 20:25:28 +02:00
testdata app/victoria-metrics/testdata/graphite/max_lookback_unset.json: fix the test after c4c77aa2dd 2021-09-27 21:41:14 +03:00
main_test.go Makefile: run errcheck for all the app/... subdirs 2022-09-30 18:35:53 +03:00
main.go all: add -inmemoryDataFlushInterval command-line flag for controlling the frequency of saving in-memory data to disk 2022-12-05 15:16:14 -08:00
Makefile all: follow-up for d99ba3481b 2022-07-13 16:44:39 +03:00
self_scraper.go Makefile: run errcheck for all the app/... subdirs 2022-09-30 18:35:53 +03:00