Will PHP Die In Web Page Development World?
Posted
by Morgan Cheng
on Stack Overflow
See other posts from Stack Overflow
or by Morgan Cheng
Published on 2010-04-27T10:56:38Z
Indexed on
2010/04/27
11:03 UTC
Read the original article
Hit count: 272
I know that PHP is still the most popular web programming language in the world. This question just want to bring some of my concerns about PHP.
PHP is naturally bound to C10K problem. Since PHP (generally run in Apache) cannot be event-driven or asynchronous, each HTTP request will occupy at least one thread or process. This makes it resistant to be more scalable.
Currently, a lot of web sites (like Facebook) with high performance and scalability still depends on PHP in their front end servers. I suppose it is due to legacy reason. Is it possible that PHP will be replaced by language more suitable for C10K?
© Stack Overflow or respective owner