This is a implementation of Http server using Linux SystemCalls.
There are some implementations:
- simple-server.c: Using only accept syscall.
- epoll-server.c: Using epoll syscall with 1000 events.
- uring-server.c: Using io_uring (liburing) with queue depth 256.
- GET /health-check: just return Healthy!
- GET /api/io-bound: simulate io-bound with sleep
- GET /api/cpu-bound: simulate cpu-bound with prime numbers
- timeout: in ms (default is 10ms)
- /home/simple-server
- /home/epoll-server
- /home/uring-server