VictoriaMetrics/app/vmstorage
Aliaksandr Valialkin 0bff96fe4b lib/storage: prioritize data ingestion over heavy queries
Heavy queries could result in the lack of CPU resources for processing the current data ingestion stream.
Prevent this by delaying queries' execution until free resources are available for data ingestion.

Expose `vm_search_delays_total` metric, which may be used in for alerting when there is no enough CPU resources
for data ingestion and/or for executing heavy queries.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/291
2020-07-05 19:44:04 +03:00
..
deployment Rootless docker images by default (#358) 2020-03-27 21:18:32 +02:00
transport app/vmstorage: add -denyQueriesOutsideRetention command-line flag for denying queries outside the configured retention 2020-07-01 00:58:42 +03:00
main.go lib/storage: prioritize data ingestion over heavy queries 2020-07-05 19:44:04 +03:00
Makefile all: publish Docker images for the following GOARCH: amd64, arm, arm64, ppc64le and 386 2019-12-11 23:33:11 +02:00
README.md all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00

vmstorage performs the following tasks:

  • Accepts inserts from vminsert nodes and stores them to local storage.

  • Performs select requests from vmselect nodes.