]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: implement buffered HTTP header composition in front-ends. 10767/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Mon, 24 Oct 2016 18:57:06 +0000 (20:57 +0200)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Tue, 25 Oct 2016 16:28:26 +0000 (18:28 +0200)
commit573c564c0b7fc35c195449284b1812756471b779
treee285df9b394c9a88d889ffa3f5291443d11cf9fe
parentac4928aa366c2b3b3bf4a71db9c1e82f5b52a8b7
rgw: implement buffered HTTP header composition in front-ends.

Without the patch front-ends issueed a lot of small IO operations
leading to increased overhead on syscalls and to the fragmentation
of an HTTP message across multiple TCP segments. The later was
occuring when the Nagle's algorithm hadn't been able to form
a single TCP segment (usually when running on extremely fast
network interfaces like loopback).

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/rgw_asio_client.cc
src/rgw/rgw_asio_client.h
src/rgw/rgw_civetweb.cc
src/rgw/rgw_civetweb.h
src/rgw/rgw_civetweb_frontend.cc
src/rgw/rgw_client_io.h
src/rgw/rgw_fcgi.cc
src/rgw/rgw_fcgi.h
src/rgw/rgw_fcgi_process.cc