Skip to content

Becavalier/tiny-http-echo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-http-echo-server

A simple HTTP Echo Server, just for educational purposes.

If you send the HTTP request with a query parameter named "num" and an integer value N, then the server will respond to you with the Nth value in the standard Fibonacci sequence.

Compilation

mkdir build && cd build && cmake .. && cmake --build .

Run Server

./build/main thread_count=4

Load Test

ab -c 50 -n 100 http://127.0.0.1:8080/?num=40

About

A mini HTTP Echo Server, just for educational purposes.

Resources

License

Stars

Watchers

Forks