Anton Kirilov 2dd521ddc3 H2O: Increase the cache capacity further (#4006) 7 tahun lalu
..
src c8484dd4f6 H2O: Documentation changes and minor code fixes (#3915) 7 tahun lalu
template 29ef2fd38e H2O: Add implementation 9 tahun lalu
CMakeLists.txt d11851d616 H2O: Set thread memory allocation policy (#3163) 8 tahun lalu
README.md c8484dd4f6 H2O: Documentation changes and minor code fixes (#3915) 7 tahun lalu
benchmark_config.json 23787ebcc6 H2O: Another batch of changes (#3670) 7 tahun lalu
h2o.dockerfile 7021189a11 Switch to the YAJL version provided by Ubuntu (#3836) 7 tahun lalu
start-servers.sh 2dd521ddc3 H2O: Increase the cache capacity further (#4006) 7 tahun lalu

README.md

h2o

This is a framework implementation using the H2O HTTP server. It builds directly on top of libh2o instead of running the standalone server.

Requirements

CMake, H2O, libpq, mustache-c, OpenSSL, YAJL

Performance tuning

If the test environment changes, it will probably be necessary to tune some of the framework settings in order to achieve the best performance possible. The most significant parameter is the maximum number of database connections per thread, which is controlled by the DB_CONN variable in the start-servers.sh script.

Performance issues

Database tests

libpq does not support command pipelining, and implementing anything equivalent on top of it conflicts with the requirements.

Database updates

In the Citrine environment the database connection settings that improve the performance on the updates test make the other database results worse, and vice versa.

Plaintext

libh2o performs at least one system call per pipelined response.

Contact

Anton Kirilov [email protected]