diff options
author | Loïc Hoguin <[email protected]> | 2025-02-05 16:22:06 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2025-02-05 16:22:06 +0100 |
commit | 9d4912208e91c1cb3195bf86966a84e88e7c9ff9 (patch) | |
tree | 81cc529f19c517108ccf52bd03549ea66756a329 /doc/src | |
parent | 073c481656915f5c9c61f6ecea15a1754469a1f7 (diff) | |
download | cowboy-9d4912208e91c1cb3195bf86966a84e88e7c9ff9.tar.gz cowboy-9d4912208e91c1cb3195bf86966a84e88e7c9ff9.tar.bz2 cowboy-9d4912208e91c1cb3195bf86966a84e88e7c9ff9.zip |
Lower the lower dynamic buffer value to 1024
There's not a big performance difference between 8192 and 1024
so let's use less memory at the start of the connection.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/manual/cowboy_http.asciidoc | 2 | ||||
-rw-r--r-- | doc/src/manual/cowboy_http2.asciidoc | 2 | ||||
-rw-r--r-- | doc/src/manual/cowboy_websocket.asciidoc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/manual/cowboy_http.asciidoc b/doc/src/manual/cowboy_http.asciidoc index 31e2d37..ccddc55 100644 --- a/doc/src/manual/cowboy_http.asciidoc +++ b/doc/src/manual/cowboy_http.asciidoc @@ -76,7 +76,7 @@ connection_type (supervisor):: Whether the connection process also acts as a supervisor. -dynamic_buffer ({8192, 131072}):: +dynamic_buffer ({1024, 131072}):: Cowboy will dynamically change the socket's `buffer` size depending on the size of the data it receives from the socket. diff --git a/doc/src/manual/cowboy_http2.asciidoc b/doc/src/manual/cowboy_http2.asciidoc index a5fcd0b..be48502 100644 --- a/doc/src/manual/cowboy_http2.asciidoc +++ b/doc/src/manual/cowboy_http2.asciidoc @@ -92,7 +92,7 @@ The connection window will only get updated when its size becomes lower than this threshold, in bytes. This is to avoid sending too many `WINDOW_UPDATE` frames. -dynamic_buffer ({8192, 131072}):: +dynamic_buffer ({1024, 131072}):: Cowboy will dynamically change the socket's `buffer` size depending on the size of the data it receives from the socket. diff --git a/doc/src/manual/cowboy_websocket.asciidoc b/doc/src/manual/cowboy_websocket.asciidoc index d5db82f..319dbae 100644 --- a/doc/src/manual/cowboy_websocket.asciidoc +++ b/doc/src/manual/cowboy_websocket.asciidoc @@ -249,7 +249,7 @@ options and the zlib compression options. The defaults optimize the compression at the expense of some memory and CPU. -dynamic_buffer ({8192, 131072}):: +dynamic_buffer ({1024, 131072}):: Cowboy will dynamically change the socket's `buffer` size depending on the size of the data it receives from the socket. |