Skip to content

Commit 3dc06a1

Browse files
author
mrralexandrov
committed
add some documentation
Не совсем понимаю, что лучше написать и куда, чтобы это было полезно. Наш `use-case` заключается в том, что мы теперь сможем получать сигнал о том, что работает `congestion control`, и использовать его для того, чтобы ограничивать не весь трафик, а трафик, размеченный по тирам commit_hash:47603ad00e5c8cec52a944850c4be886716fc443
1 parent 40b8800 commit 3dc06a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/docs/en/userver/congestion_control.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ CC can run in `fake-mode` with no RPS limit (but FSM works). CC goes into `fake-
1212
* there are no reliable guarantees on CPU, in this case RPS-limit would be triggered too often,
1313
* service has no HTTP-handles others than server::handlers::Ping.
1414

15+
`fake-mode` can be useful for more flexible traffic restriction settings, according to it's more complex logic, which can be implemented in a middleware.
16+
1517
## Usage
1618

1719
congestion_control::Component can be useful if your service stops handling requests when overloaded, significantly increasing response time, responding with HTTP 500 codes to requests, eating memory.

0 commit comments

Comments
 (0)