This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7cd83b
commit 3294cf4
Showing
6 changed files
with
237 additions
and
150 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
|  | <h1>Libevhtp</h1> | | ||
| :------------- | -------------: | | ||
|
||
[](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) | ||
|
||
<a href="https://scan.coverity.com/projects/libevhtp"> | ||
<img alt="Coverity Scan Build Status" | ||
src="https://scan.coverity.com/projects/15294/badge.svg"/> | ||
</a> | ||
|
||
## 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!) | ||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.