4 ms·
"It’s transparently obvious that PHP can scale — one look at who uses it (Facebook is really all you need to know) proves that." If by scale you mean code your
by functionform 15y ago
"It’s transparently obvious that PHP can scale — one look at who uses it (Facebook is really all you need to know) proves that."
If by scale you mean code your own extensions at the C level including your own VM, then sure, it scales!
- verelo 15y agoPHP can scale, however i think what we've seen historically is that the programmers who have written most of the PHP apps out there don't know how to write a scalable app.
- pestaa 15y agoThis is not a very useful response. If you enjoy the advantages of interpreted languages, accept the consequences. If you don't, well, good luck with websites implemented in compiled languages.
- copenhagencoder 15y agoFacebook began using HipHop (their PHP compiler) at a time when they already had 200 million users and a website that by definition is very hard to cache. So in other words, PHP without Facebook's custom compiler was able to handle a site having 200 million frequently returning users. I'd say that's pretty good. Sources: http://www.h-online.com/open/news/item/HipHop-Facebook-s-PHP-accelerator-makes-C-code-920962.html http://www.h-online.com/open/news/item/HipHop-Facebook-s-PHP... and http://en.wikipedia.org/wiki/Facebook http://en.wikipedia.org/wiki/Facebook
- gridspy 15y agoBut it wasn't all running on a single VPS. If OP had thrown more hardware (and hardware costs) at the equation his problems would have reduced.