Working on a small web server library : simple_httpd I tested both domains and effects.
The result are relatively impressive: faster than apache, not too far from nginx for small static file. The performance on big file is not too bad and I am using relatively small chunk.
I run 6 domains (1 only to accept connection) and the client is wrk running 5 threads and the indicated number of connections, all this on my 6 cores laptop.
I hope to release simple_httpd in a few weeks, do not hesitate to have a look and comment.
I am trying to do a pr dor retro-httpaf-bench … but opam on docket does not bind bisect_ppx.2.8.1 while 2.8.0 is not compatible with ocaml 5.0.0. I do an opam update so I do not understand why opam does not find the latest version.