Hacker News new | ask | show | jobs
Show HN: Pure-PHP server outperforms NginX for static files + 10x PHP throughput (github.com)
4 points by EGreg 1 day ago
2 comments

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.
That’s an issue with the README. The server doesn’t do that. Thanks for the good catch, will update README.
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.