VictoriaMetrics/app
Roman Khavronenko 20b025dc88
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-05-08 13:13:58 -07:00
..
vmagent http server: limit max concurrent requests (#4185) 2023-05-08 13:13:58 -07:00
vmalert http server: limit max concurrent requests (#4185) 2023-05-08 13:13:58 -07:00
vmauth http server: limit max concurrent requests (#4185) 2023-05-08 13:13:58 -07:00
vmbackup http server: limit max concurrent requests (#4185) 2023-05-08 13:13:58 -07:00
vmbackupmanager http server: limit max concurrent requests (#4185) 2023-05-08 13:13:58 -07:00
vmctl app/vmctl: fix performance degradation, add flag to disable backoff policy (#4097) 2023-04-13 23:51:11 -07:00
vmgateway http server: limit max concurrent requests (#4185) 2023-05-08 13:13:58 -07:00
vminsert app/vminsert: correctly allocate buffer for storagenodes (#554) 2023-05-08 08:57:15 -07:00
vmrestore http server: limit max concurrent requests (#4185) 2023-05-08 13:13:58 -07:00
vmselect lib/fs: add MustReadDir() function 2023-04-14 22:11:40 -07:00
vmstorage lib/storage: replace OpenStorage() with MustOpenStorage() 2023-04-14 23:04:42 -07:00
vmui vmui: fix freeze when query regular with heatmap query (#4093) 2023-05-08 13:09:49 -07:00