Merge branch 'Yellow-Camper:develop' into develop
tree: 1058d1be086244a10d6c6536d0359bf21e2e7e6a
  1. .github/
  2. build/
  3. cmake/
  4. compat/
  5. dist/
  6. examples/
  7. include/
  8. .gitignore
  9. .travis.yml
  10. .ycm_extra_conf.py
  11. ChangeLog
  12. CMakeLists.txt
  13. Doxyfile
  14. evhtp.c
  15. evhtp.pc.in
  16. LICENSE
  17. log.c
  18. numtoa.c
  19. parser.c
  20. README.md
  21. refcount.h
  22. sslutils.c
  23. thread.c
  24. zimg_vs_nginx.png
README.md
LOGOLibevhtp

Build Status Gitter Packaging status

Required Dependencies

Optional Dependencies

Building

  • cd build
  • cmake ..
  • make
  • make examples

For Windows MinGW

  • cmake -G “MSYS Makefiles” -DCMAKE_INCLUDE_PATH=/mingw/include -DCMAKE_LIBRARY_PATH=/mingw/lib -DCMAKE_INSTALL_PREFIX=/mingw .
  • make

Performance stuff

While we never documented any benchmark publically, the popular open source project ZIMG did a bit of that for us.The ZIMG team decided to move away from NGINX to libevhtp for their software, and the results were pretty outstanding. Here is a graph showing their application under very high load

ZIMG GRAPH

The X-axis is the number of connections, while the Y-axis is requests per second.

You can read the whole article here: Architecture Design of an Image Server

Slightly outdated (Now faster!) HI NGINX