https://github.com/repo-archive-x-rays5/web_server
Template for a web application server. Speedtest results in the readme
https://github.com/repo-archive-x-rays5/web_server
cpp http http-server https lua webserver
Last synced: 9 months ago
JSON representation
Template for a web application server. Speedtest results in the readme
- Host: GitHub
- URL: https://github.com/repo-archive-x-rays5/web_server
- Owner: repo-archive-X-rays5
- License: mit
- Archived: true
- Created: 2021-06-10T10:03:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-30T02:48:52.000Z (over 4 years ago)
- Last Synced: 2025-02-18T02:13:04.700Z (11 months ago)
- Topics: cpp, http, http-server, https, lua, webserver
- Language: C++
- Homepage:
- Size: 1.04 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# web_server
Requests are handled in src/web_server/session/handle_request/handle_request.hpp
# ApacheBench localhost results
run with: ./ab -n 20000 -c 1000 -w http://localhost/
behind a apache reverse proxy
Server Software:
Boost.Beast/306
Server Hostname:
localhost
Server Port:
80
Document Path:
/
Document Length:
21654 bytes
Concurrency Level:
1000
Time taken for tests:
264.890 seconds
Complete requests:
20000
Failed requests:
108
(Connect: 0, Length: 108, Exceptions: 0)
Non-2xx responses:
2
Total transferred:
435551680 bytes
HTML transferred:
431671656 bytes
Requests per second:
75.50
Transfer rate:
1605.74 kb/s received
Connection Times (ms)
min
avg
max
Connect:
0
13
2045
Processing:
37
13051
13839
Total:
37
13064
15884