Hacker News new | ask | show | jobs
by losfair 5 days ago
Hi, thanks!

Will implement forking + SO_REUSEPORT. I've been using nftables for things like this so haven't needed it for myself yet :)

2 comments

Pleas think before forking(). Do not follow Apache blindly...

Code, as is today, looks [acording to benchmarks] better then nginx, except one case !

There is fcgi in, right ? So all that additional processes are already started in the backend. If benchmarks are real no need to complicate code before some industry adoption. Of course there can be a branch to check possibilities :)

And forking is complicated and full of surprising traps. Even if they are somewhat "standard" historic Unix traps... Case study: Perl - better don't use fork there even if "threads" are in.

I wonder how zs_reverse_proxy() + SO_REUSEPORT would perform