Show HN: Pure-PHP server outperforms NginX for static files + 10x PHP throughput

Posted by EGreg 1 day ago

Counter4Comment3OpenOriginal

Comments

Comment by try_it_nogaf 16 hours ago

The readme says that db connection happens before forking. Im assuming its MySql. This means every child inherits the same tcp connection to the db. That single connection is not only shared, but also will timeout out shortly after startup (depending on the environment of course) Im guessing this is an error in the readme because that sounds a like a major issue.

Comment by EGreg 9 hours ago

That’s an issue with the README. The server doesn’t do that. Thanks for the good catch, will update README.

Comment by kkaske 21 hours ago

This project looks really promising. It's not something I'd deploy in production today, but I'd love for a pure PHP application server to become a mature and production-ready. Could be a great option for the future. I'll definitely be watching its progress.