Anton Kirilov 6b7fbb1d0e H2O: Update the base image to Ubuntu 20.04 (#5651) 5 سال پیش
..
src 6b7fbb1d0e H2O: Update the base image to Ubuntu 20.04 (#5651) 5 سال پیش
template 29ef2fd38e H2O: Add implementation 9 سال پیش
CMakeLists.txt a8432f24e8 H2O: Further code clean-up (#4680) 6 سال پیش
README.md 6b7fbb1d0e H2O: Update the base image to Ubuntu 20.04 (#5651) 5 سال پیش
benchmark_config.json f5e7fff93e Config now show the webserver h2o (#4864) 6 سال پیش
h2o.dockerfile 6b7fbb1d0e H2O: Update the base image to Ubuntu 20.04 (#5651) 5 سال پیش
h2o.sh 71a4a15452 H2O: Increase the number of database connections further (#4968) 6 سال پیش

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 h2o.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]