Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romanpunia/lynx
High performance async HTTP web server.
https://github.com/romanpunia/lynx
Last synced: 6 days ago
JSON representation
High performance async HTTP web server.
- Host: GitHub
- URL: https://github.com/romanpunia/lynx
- Owner: romanpunia
- License: other
- Created: 2020-08-26T20:36:38.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-23T16:12:14.000Z (3 months ago)
- Last Synced: 2024-08-23T18:07:49.987Z (3 months ago)
- Language: C++
- Homepage:
- Size: 6.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
Lynx is a high performance async HTTP web server.## Dependencies
* [Vitex (submodule)](https://github.com/romanpunia/vitex)## Building
To build this project you have to clone Vitex, also you need to make sure that it can be build on your machine. CMake's **VI_DIRECTORY** is a path to Vitex source folder.## Benchmark
There is a **/bin/web/favicon.ico** which is Google Chrome logo (32x32). To measure raw performance we will request this resource. Measurement will be done relative to Node.js with Express.js package.Lynx must be run with following setup:
- Build in release mode
- Disable debug messages
- Disable request logging (\ = FALSE)
- Disable terminal (\ = FALSE)
- Lynx will be running at http://127.0.0.1:8080Node.js must be run with following setup (located at /var):
- Install (npm i)
- Node.js will be running at http://127.0.0.1:8090 (node app.js)To benchmark you must install \ from npm (npm i autocannon -g). After installing you may proceed:
- Test Lynx: autocannon http://localhost:8080/favicon.ico -d 10 -c 30 -w 3
- Test Node: autocannon http://localhost:8090/favicon.ico -d 10 -c 30 -w 3## License
Lynx is licensed under the MIT license