VictoriaMetrics/lib/httpserver
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
..
httpserver.go http server: limit max concurrent requests (#4185) 2023-04-24 14:52:06 +02:00
path.go app/vminsert: allows parsing tenant id from labels (#3009) 2022-09-30 18:35:53 +03:00