VictoriaMetrics/app
Roman Khavronenko 77f76371d0
http server: limit max concurrent requests (#4185)
* lib/httpserver: introduce `-http.maxConcurrentRequests` command-line flag

Introduce `-http.maxConcurrentRequests` command-line flag to protect
VM components from resource exhaustion during unexpected spikes of HTTP requests.
By default, the new flag's value is set to 0 which means no limits are applied.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* lib/httpserver: mention http.maxConcurrentRequests in docs

Signed-off-by: hagen1778 <roman@victoriametrics.com>

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-04-24 14:52:06 +02:00
..
victoria-metrics lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:30:38 -07:00
vmagent http server: limit max concurrent requests (#4185) 2023-04-24 14:52:06 +02:00
vmalert http server: limit max concurrent requests (#4185) 2023-04-24 14:52:06 +02:00
vmauth http server: limit max concurrent requests (#4185) 2023-04-24 14:52:06 +02:00
vmbackup http server: limit max concurrent requests (#4185) 2023-04-24 14:52:06 +02:00
vmbackupmanager http server: limit max concurrent requests (#4185) 2023-04-24 14:52:06 +02:00
vmctl app/vmctl: fix performance degradation, add flag to disable backoff policy (#4097) 2023-04-14 09:34:54 +03:00
vmgateway http server: limit max concurrent requests (#4185) 2023-04-24 14:52:06 +02:00
vminsert lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:30:38 -07:00
vmrestore http server: limit max concurrent requests (#4185) 2023-04-24 14:52:06 +02:00
vmselect lib/fs: add MustReadDir() function 2023-04-14 22:10:46 -07:00
vmstorage lib/storage: replace OpenStorage() with MustOpenStorage() 2023-04-14 23:02:40 -07:00
vmui vmui: fix freeze when query regular with heatmap query (#4093) 2023-04-21 11:59:09 +03:00