Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> because of unoptimized DB queries, and because of PHP

Don’t blame PHP. We use it to handle millions of concurrent users and it does it without breaking a sweat. It scales horizontally better than basically anything, Modern versions of PHP are remarkably fast, up to 3x faster than Python in recent benchmarks.

The real problem is Wordpress, it’s written like 20 years ago PHP to avoid breaking any plugins. The API is largely writing to global variables.

On top of that, the quality of the given plugins is usually dubious at best, and a lot of people just slather more and more of them on, and they often interfere with each other.




> We use it to handle millions of concurrent users and it does it without breaking a sweat.

Have you tried doing the same with other technologies?

> It scales horizontally better than basically anything

How does it horizontally scale better than projects written in Golang/C#/Ruby/Python/whatever?

> up to 3x faster than Python in recent benchmarks.

Computational speed rarely matters. If it does, you would usually fallback to C/C++/Rust library doing the heavy lifting, when using 'slow' languages, or just move the workload to async processes.

Web applications spend most of the time doing I/O operations, where async programming makes a lot of sense. Async with PHP is still in its infancy, compared to Python, which has native support for it.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: