https://github.com/Yellow-Camper/libevhtp
Create extremely-fast and secure embedded HTTP servers with ease.
https://github.com/Yellow-Camper/libevhtp
c embedded-c event-driven http https libevent library
Last synced: 5 months ago
JSON representation
Create extremely-fast and secure embedded HTTP servers with ease.
- Host: GitHub
- URL: https://github.com/Yellow-Camper/libevhtp
- Owner: Yellow-Camper
- License: bsd-3-clause
- Archived: true
- Created: 2017-05-01T18:05:49.000Z (almost 8 years ago)
- Default Branch: develop
- Last Pushed: 2021-03-15T12:07:27.000Z (about 4 years ago)
- Last Synced: 2024-10-02T19:07:12.404Z (7 months ago)
- Topics: c, embedded-c, event-driven, http, https, libevent, library
- Language: C
- Homepage: https://criticalstack.com/
- Size: 2.67 MB
- Stars: 426
- Watchers: 34
- Forks: 162
- Open Issues: 46
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
- awesome-embedded-software - libevhtp - Extremely-fast and secure embedded HTTP servers with ease. (Protocols / Web Server)
README
|  |
Libevhtp
|
| :------------- | -------------: |[](https://travis-ci.org/criticalstack/libevhtp)
[](https://gitter.im/criticalstack/libevhtp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[](https://repology.org/metapackage/libevhtp/versions)## Required Dependencies
* [gcc](http://gcc.gnu.org/) or [clang](https://clang.llvm.org/)
* [Libevent2](http://libevent.org)
* [CMake](http://cmake.org)## Optional Dependencies
* [OpenSSL](http://openssl.org)
* pthreads
* [onig (regex)](https://github.com/kkos/oniguruma)## 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](http://zimg.buaa.us) 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
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](http://zimg.buaa.us/documents/Architecture_Design_of_Image_Server/)
Slightly outdated (Now faster!)
