some experimentos towards this are in a branch already, but ~mjl-/httpd already looks like a better-constructed program. maybe they can be merged?
xjix added on 2022-12-12 19:37:14:
i've been slowly working on improve-svc-httpd to prepare for migrating tilde web hosting from bozohttpd to svc/httpd from tomo. mjl-/shttpd saved me a lot of work as far as having a production web server, but i still want to do a blog post on the c10k problem. i'll delay that for now in favor of gaining experience using the service in production. the biggest blocker so far is building on FreeBSD, but that's actually coming along really quick.
other items that need to be addressed:
[ ] setup test container, route in haproxy, &c.
[ ] create /services/httpd/config.db entries for all vhosts
heropunch.io
mirror.heropunch.io
walkaway.wiki
infinite.ai
null.media
xj-ix.luxe
kopimi.null.media
r14c.net
heropunch.io
mirror.heropunch.io
chan.sunshinegardens.org
sunshinegardens.org
[ ] figure out if we can handle reverse proxy configs here or if they need to be moved out to the router edge
[ ] setup round robin serving between bozohttpd and svc/httpd
[ ] setup error tracking to observe the behavior of the new service compared to the existing setup
[ ] look into sharing configs and running multiple instances of shttpd
xjix added on 2022-12-14 01:29:11:
reverse proxy is definitely out of scope for this ticket! ip/shttpd doesn't need new features, but its good to refine what is already there.
there are improvements left to be made, but the goals of the branch have been satisfied i think. the remaining action items may introduce some changes, but they are external to having a half-decent httpd to work with. my blog post about c10k is still very much in play, but i don't need to approach solving it to host some content. ip/shttpd is a much higher quality server than svc/httpd/httpd was.