summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_sendbuf.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-12-24 18:03:56 +0300
committerMax Romanov <max.romanov@nginx.com>2019-12-24 18:03:56 +0300
commitfaeb73a65e9ab07c1636cccb33f23df96fddd330 (patch)
treef6ad909b52d3ee0c408dd417ce1b9480bc00cad4 /src/nxt_sendbuf.h
parentf5a2984acf9a562b6b1eb45a21d9af2be2415659 (diff)
downloadunit-faeb73a65e9ab07c1636cccb33f23df96fddd330.tar.gz
unit-faeb73a65e9ab07c1636cccb33f23df96fddd330.tar.bz2
Using non-shared memory buffers for small messages.
Current shared memory buffer implementation uses fixed-size memory blocks, allocating at least 16384 bytes. When application sends data in a large number of small chunks, it makes sense to buffer them or use plain memory buffers to improve performance and reduce memory footprint. This patch introduces minimum size limit (1024 bytes) for shared memory buffers.
Diffstat (limited to 'src/nxt_sendbuf.h')
0 files changed, 0 insertions, 0 deletions