Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2021-03-15T12:07:27.000Z (almost 4 years ago)
- Last Synced: 2024-09-25T11:04:15.699Z (3 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
README
| ![LOGO](http://i.imgur.com/uBd4iIz.png) |
Libevhtp
|
| :------------- | -------------: |[![Build Status](https://travis-ci.org/criticalstack/libevhtp.svg?branch=develop)](https://travis-ci.org/criticalstack/libevhtp)
[![Gitter](https://badges.gitter.im/criticalstack/libevhtp.svg)](https://gitter.im/criticalstack/libevhtp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Packaging status](https://repology.org/badge/tiny-repos/libevhtp.svg)](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![ZIMG GRAPH](/zimg_vs_nginx.png)
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!)
![HI NGINX](http://i.imgur.com/kiSkSLH.png)