Back to Frameworkbenchmarks

h2o-app

frameworks/C/h2o/README.md

31.4 KB
Original Source

h2o-app

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

Requirements

bpftool, Clang, CMake, GNU C Library, H2O, libbpf, libpq, Linux, mustache-c, numactl, OpenSSL, YAJL

Test implementations

The test implementations are located into the src/handlers directory - refer to the initialize_*_handler*() functions.

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 parameters are the maximum number of database connections per thread and the maximum number of pipelined database queries per database connection, which are controlled by the -m and the -e command-line options respectively.

Performance issues

Plaintext

libh2o performs at least one system call per pipelined response.

Contact

Anton Kirilov [email protected]