Benchmarks
On Linux, libkqueue provides O(1) scalability relative to the number of concurrent client connections. This is an improvement over the traditional poll(2) system call which has O(N) scalability. For testing, two versions of the thttpd web server were compiled: one using libkqueue, and one using poll(). The ApacheBench benchmarking utility was used to compare the performance of both versions. A custom script was used to create thousands of idle connections to the server, to simulate the use of HTTP Keepalives on a busy real-world server.

Groups:
- Printer-friendly version
- Login or register to post comments
