master
md 11 lines 440 Bytes
Rendered Raw
1 # `static-threaded` web server
2
3 The `static-threaded` web server spawns a fixed number of threads.
4 All the threads are concurrently listening for web requests on the same sockets.
5 The kernel distributes the incoming requests to them.
6
7 Each thread uses non-blocking I/O so it can serve any number of web requests in parallel.
8
9 This web server respects the `keep-alive` HTTP header to serve multiple HTTP requests via the same connection.
10
11