Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« Evolution not Revolution
The PHP scalability saga continues »

PHP Scalability and Performance

June 30th, 2004

Troutgirl seems to have hit a hot button in her blog about Friendstar switching from JSP to PHP. This story has been picked up by a variety of bloggers. I originally saw it from Dynamically typed. Russell Beattie Notebook has some good discussion on the topic. Joe Grossberg talks about a redirection problems with the switch over and adds a link to Scott Andrew who talks about standards compliance of the new design. The consensus is that the new version is faster.

I hope that more information will come out about this. It would be nice to have another large scale case study alongside the Yahoo talks: Large Scale PHP, One year of PHP at Yahoo, and Making the case for PHP at Yahoo.

Another interesting case study is the Gaia Online discussion board. One of the largest forums on the net, on a recent check, it claims to have 70 million messages online with roughly 9,000 simultaneous users, and 750,000 registered users. The sitepoint post that brought this to my attention claims they are getting over 700,000 new posts per day. All of this running on a modified version of open source phpBB. Here is an interview with the board owner and founder.

The thread that talks about the modifications to phpBB to support Gaia Online’s volume is very interesting. It focuses mostly on query optimization. Not surprising in light of the previous discussion on PHP’s shared nothing architecture. If PHP encourages moving concurrency management to the database, then application scalability is going to become a matter of database scalability.

Switching from scalability to performance, John Lim talks about his experiences optimizing PHP code using xdebug. His article makes me want to check out xdebug, but I have too much on my plate right now to even risk getting near my PHP configuration. I am hoping that I will have time to do this before the upcoming WACT release.

Filed Under

  • PHP

Related Posts

  • un-Friendster: fired for blogging
  • PHP Development From Java Architects Eye
  • The PHP scalability saga continues
  • Why is PHP Code Considered Hard to Maintain?
  • Friendster wrapup: does MySQL scale
Both comments and pings are currently closed.

78 Responses to “PHP Scalability and Performance”

  1. Jeff Moore's Blog » un-Friendster: fired for blogging says:
    9/1/2004 at 5:58 am

    [...] I had hoped that more information would come out about Friendsters Java to PHP conversion (1 2 3). Sadly, I don’t think thats going to happen. It seems t [...]

  2. mark says:
    8/19/2004 at 10:21 am

    PHP looks like a clear winner, but only time will tell.

  3. Venezolano says:
    9/4/2004 at 2:44 pm

    I started with ASP years ago, I think PHP is a lot more powerful… I’d like to know which one would give better performance in high load application between PHP, JSP or ASP.NET… But I think any of them installed on a Unix server will be better than a Windows one.

  4. Ruturaj Vartak says:
    12/3/2004 at 4:17 am

    I still work in PHP (more than a yr. now) . What I find here in India is that PHP still is considered as a simple Script tech. they consider php is unable to compete with J2EE which IS a more advanced.. but consider the Learning curve is far more sharp for J2EE and I don’t need to say anything about my Love PHP :)

    But yes PHP still needs more application like variable stuff… which is required if you want same set of variables, values over an application…

    Anyways… PHP is still Ruling.

  5. Jeff Moore’s Blog » Blog Archive » php-development-from-java-architects-eye says:
    4/23/2005 at 11:05 am

    [...] led premature optimization. And it often leads to code that is slower and less scalable. Scalable applications can be written in PHP. One just uses a di [...]

  6. Ajitesh says:
    8/1/2005 at 4:24 am

    Thatks for the nice blog! Looks like PHP is winning over me. I am planning to start a portal and considering PHP or JSP.

  7. John Loehrer says:
    10/6/2005 at 7:38 pm

    I am a developer at gaiaonline.com and i am here to tell you that php scales. We now can easily support 30K simultaneous users signed in with no problem. After a few more optimizations we should be able to double and triple our load, without even adding any more hardware. We currently have about 300M posts on the site, with a few million more being added every day. Our site is now refactored and fine tuned, but the real trick to getting the most bang for your buck is to segregate the data into distinct services and build infrastructure that will allow you to transparently distribute the data load out across your servers. Divide and conquer!

  8. Todo revuelto » Blog Archive » PHP y la escalabilidad says:
    2/8/2006 at 5:36 am

    [...] PHP scalability and performance  [...]

  9. kvz says:
    10/6/2007 at 9:00 am

    A thorough article to increase the performance of apache & php:
    http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver

  10. Shared-Nothing FTW « 21st Century Digital Boy says:
    2/18/2009 at 9:10 am

    [...] Hmmm. Shared nothing … I wonder where I’ve heard that before. [...]

  11. Pierre says:
    8/2/2009 at 3:43 am

    Many users of PHP, Python and the like will face disruption of their business model soon because of the “CPU frequency halt”:
    http://gwan.ch/en_scalability.html

  12. windows xp realtek says:
    1/5/2011 at 11:55 am

    Definitely, what a great blog and illuminating posts, I definitely will bookmark your blog.Best Regards!

  13. thermal vision inc says:
    6/14/2011 at 2:38 am

    I your writing style genuinely loving this site.

  14. Laurence Rupley says:
    6/21/2011 at 7:53 pm

    Fantastic blog! Do you have any hints for aspiring writers? I’m hoping to start my own site soon but I’m a little lost on everything. Would you recommend starting with a free platform like Wordpress or go for a paid option? There are so many choices out there that I’m totally confused .. Any suggestions? Thank you!

  15. Quentin Pennachio says:
    8/12/2011 at 6:14 am

    I sincerely value your way of seeing things.

  16. Tactical AR15 Rifle says:
    8/24/2011 at 12:00 pm

    I see your point, and I totally enjoy your opinion. It goes without saying I will be back again soon, quite innovative. Cheers.

  17. Immobilienkredit says:
    9/27/2011 at 1:51 pm

    Radix complement your blog is as good I pulls the hat

  18. Barbie Hemker says:
    10/22/2011 at 12:26 am

    I am not sure where you are getting your information, but great topic. I needs to spend some time learning more or understanding more. Thanks for fantastic information I was looking for this information for my mission.

  19. Rory Sokolski says:
    10/25/2011 at 9:35 am

    I’ve been surfing online more than three hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all site owners and bloggers made good content as you did, the web will be a lot more useful than ever before.

  20. Sharon Kjos says:
    10/26/2011 at 4:39 am

    excellent. I actually like what you have acquired here, certainly like what you are stating and the way in which you say it. You make it enjoyable and you still take care of to keep it smart. I can not wait to read much more from you. This is really a great site.

  21. Affordable Melvindale debt collection services says:
    11/4/2011 at 3:26 am

    Good write!.. I’ve been looking around for this for a while now. Thank you Google for bringing me to your site lol. I can usually rely on Google to get the greatest info. Anyways, I found some related details about Affordable Melvindale debt collection services also. You might want to check them out. Pretty interesting read, also. Anyways, thank you for your post! If you have anything else associated, please shoot me and e-mail to Montalbano477@gmail.com to let me know. Take care! BTW .. I bookmarked you on StumbledUpon as PHP Scalability and Performance – Professional PHP also added a link to my site http://melvindalecollectionagency.info – please link back to me if you want to.

  22. Thersa Purter says:
    11/21/2011 at 6:06 pm

    I am extremely impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you customize it yourself? Anyway keep up the nice quality writing, it’s rare to see a great blog like this one nowadays..

  23. Kalyn Faulhaber says:
    12/1/2011 at 3:08 pm

    Fantastic beat ! I wish to apprentice while you amend your web site, how can i subscribe for a blog web site? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright clear concept

  24. Patrick Kristofferson says:
    12/5/2011 at 3:52 pm

    Undeniably believe that which you said. Your favorite justification appeared to be on the internet the easiest thing to be aware of. I say to you, I definitely get irked while people think about worries that they plainly do not know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people can take a signal. Will probably be back to get more. Thanks

  25. Gregg Anderson says:
    12/6/2011 at 12:43 pm

    Great beat ! I would like to apprentice while you amend your site, how could i subscribe for a blog web site? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear idea

  26. Eli Seward says:
    12/6/2011 at 12:56 pm

    Hi there, just became alert to your blog through Google, and found that it’s truly informative. I am gonna watch out for brussels. I will appreciate if you continue this in future. Many people will be benefited from your writing. Cheers!

  27. Marilu Wuertz says:
    12/6/2011 at 1:09 pm

    hello there and thank you for your information – I have definitely picked up something new from right here. I did however expertise a few technical points using this web site, as I experienced to reload the site many times previous to I could get it to load properly. I had been wondering if your hosting is OK? Not that I am complaining, but slow loading instances times will sometimes affect your placement in google and could damage your high quality score if ads and marketing with Adwords. Anyway I am adding this RSS to my e-mail and can look out for much more of your respective exciting content. Make sure you update this again very soon..

  28. Reena Reher says:
    12/6/2011 at 2:04 pm

    Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but instead of that, this is excellent blog. A fantastic read. I will certainly be back.

  29. Dominic Chittenden says:
    12/19/2011 at 2:31 am

    Hi there! Someone in my Facebook group shared this site with us so I came to take a look. I’m definitely loving the information. I’m bookmarking and will be tweeting this to my followers! Wonderful blog and brilliant style and design.

  30. Aurelio Ginkel says:
    1/1/2012 at 10:22 pm

    Hello, I think that I saw you visited my weblog thus I came to “return the favor”.I am trying to find things to improve my website!I suppose its ok to use some of your ideas!!

  31. Lanelle Kromka says:
    1/5/2012 at 12:04 am

    Write-up is very nicely written, and by no means forgetting to mention that it may be very informative at the same time. Kudos to you towards the wonderful task nicely completed there!

  32. Fumie Fujii says:
    1/5/2012 at 12:19 am

    Konichiwa, are you good? I just wanted to say that I like your web site. It’s content is just what I needed. Thanks

  33. Hanaka Koda says:
    1/6/2012 at 11:04 pm

    My wife and i got now excited Ervin could round up his preliminary research via the ideas he acquired in your blog. It is now and again perplexing to just find yourself handing out tips and hints which other people could have been trying to sell. And we know we have you to give thanks to for this. The type of explanations you have made, the straightforward site navigation, the friendships you will help to instill – it’s everything astounding, and it is making our son in addition to the family believe that that article is thrilling, which is especially indispensable. Thanks for the whole lot!

  34. Nicholle Konwinski says:
    1/7/2012 at 9:37 pm

    Just desire to say your article is as astonishing. The clarity in your post is simply excellent and I can assume you are an expert on this subject. Well with your permission let me to grab your feed to keep up to date with forthcoming post. Thanks a million and please carry on the gratifying work.

  35. Elton Phatdouang says:
    1/8/2012 at 10:37 am

    I loved as much as you’ll receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get got an shakiness over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly very often inside case you shield this increase.

  36. Ramiro Kara says:
    1/10/2012 at 10:38 am

    Excellent post. I was checking constantly this blog and I’m impressed! Extremely helpful information specially the last part :) I care for such information a lot. I was seeking this particular information for a long time. Thank you and best of luck.

  37. Gregg Akahi says:
    1/10/2012 at 7:06 pm

    I simply want to say I am just all new to blogging and definitely loved your web blog. More than likely I’m want to bookmark your website . You amazingly come with tremendous article content. Kudos for revealing your webpage.

  38. Tomoha Kai says:
    1/14/2012 at 3:16 am

    Konichiwa, are you good? I really wanted to say that I love your site. It’s content is just what I was looking for. Thanks

  39. Yuuha Kiyomizu says:
    1/15/2012 at 6:05 pm

    My wife and i felt absolutely ecstatic Albert could do his studies while using the precious recommendations he received in your site. It is now and again perplexing to just find yourself freely giving tricks which usually many others could have been making money from. And now we keep in mind we have got you to give thanks to because of that. The most important explanations you’ve made, the straightforward web site menu, the friendships you help to engender – it’s got mostly superb, and it’s leading our son in addition to us recognize that that subject matter is excellent, and that is really indispensable. Thank you for all!

  40. Hyman Renison says:
    1/21/2012 at 10:58 am

    Hi there, just became alert to your blog through Google, and found that it is really informative. I am going to watch out for brussels. I will appreciate if you continue this in future. Numerous people will be benefited from your writing. Cheers!

  41. Pamella Parone says:
    1/23/2012 at 9:49 am

    Hello there, just became alert to your blog through Google, and found that it is really informative. I’m going to watch out for brussels. I will appreciate if you continue this in future. A lot of people will be benefited from your writing. Cheers!

  42. Marlin Marsolek says:
    1/27/2012 at 12:27 am

    Simply wish to say your article is as surprising. The clarity in your post is just excellent and i can assume you’re an expert on this subject. Well with your permission allow me to grab your feed to keep up to date with forthcoming post. Thanks a million and please continue the gratifying work.

  43. Isaac Economides says:
    1/31/2012 at 3:15 pm

    It is perfect time to make some plans for the future and it’s time to be happy. I have read this post and if I could I desire to suggest you few interesting things or tips. Perhaps you can write next articles referring to this article. I wish to read more things about it!

  44. Shona Brine says:
    2/5/2012 at 5:24 pm

    It’s appropriate time to make some plans for the future and it’s time to be happy. I have read this post and if I could I wish to suggest you few interesting things or suggestions. Maybe you could write next articles referring to this article. I want to read more things about it!

  45. McLean, Joel C. says:
    2/7/2012 at 1:59 am

    What i don’t understood is actually how you’re not really a lot more neatly-favored than you may be now. You’re so intelligent. You realize therefore significantly relating to this subject, produced me personally imagine it from so many various angles. Its like women and men are not interested until it’s one thing to accomplish with Lady gaga! Your personal stuffs outstanding. All the time take care of it up!

  46. Un Hawse says:
    2/8/2012 at 12:25 am

    hey all, I was just checking out this weblog and I definitely admire the basis of the write-up, and have absolutely nothing to try and do, so if everyone would like to to have an engrossing convo about it, please make contact with me on AIM, my name is heather smith

  47. Taryn Flott says:
    2/13/2012 at 6:07 am

    Talking about realty matters This made me smile and hopefully after your last post it will do the same for you:

    Time flies like a bullet. Fruit flies like a banana. :)

  48. invest review says:
    2/17/2012 at 8:11 pm

    Very good to know this, sincere huge congratulations for writer of these crystal minds. It was very lowlyinformation I would appreciate to read on the topic again. If in any case people would have any chance we would beginn investing on that.

  49. Gerry Froncek says:
    2/24/2012 at 2:50 pm

    Hello there, just became aware of your blog through Google, and found that it’s truly informative. I’m going to watch out for brussels. I’ll appreciate if you continue this in future. Numerous people will be benefited from your writing. Cheers!

  50. Iraida Jedziniak says:
    2/27/2012 at 11:43 am

    I like the valuable info you provide in your articles. I will bookmark your weblog and check again here regularly. I’m quite certain I’ll learn a lot of new stuff right here! Good luck for the next!

  51. Jennette Driscoll says:
    2/27/2012 at 3:50 pm

    I’m really impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you customize it yourself? Anyway keep up the excellent quality writing, it is rare to see a nice blog like this one today..

  52. Kayleen Scarrow says:
    2/28/2012 at 2:29 pm

    I think this is one of the most significant information for me. And i am glad reading your article. But want to remark on few general things, The website style is perfect, the articles is really great : D. Good job, cheers

  53. Micaela Ellena says:
    3/10/2012 at 3:47 pm

    Talking about property loving it Here’s some payback: Thought for the day? : If I want your opinion, I’ll ask you to fill out the necessary forms.

  54. Cherrie says:
    3/12/2012 at 6:36 am

    Hi nice art! i’m Cherrie and i add “Like” (facebook) to PHP Scalability and Performance – Professional PHP

  55. Nicolasa Crewe says:
    3/13/2012 at 12:06 am

    Very nice post. I just stumbled upon your blog and wanted to say that I’ve truly enjoyed browsing your blog posts. In any case I’ll be subscribing to your rss feed and I hope you write again soon!

  56. Ashely Goodheart says:
    3/14/2012 at 11:01 am

    You made some respectable points there. I seemed on the internet for the issue and located most people will go along with with your website.

  57. Marine Andriopulos says:
    3/15/2012 at 11:53 am

    I was recommended this web site by my cousin. I’m not sure whether this post is written by him as nobody else know such detailed about my difficulty. You’re incredible! Thanks!

  58. Maribeth Chynoweth says:
    3/15/2012 at 11:08 pm

    You actually make it seem so easy with your presentation but I find this matter to be really something which I think I would never understand. It seems too complex and very broad for me. I am looking forward for your next post, I’ll try to get the hang of it!

  59. Kenton Gorence says:
    3/16/2012 at 9:16 am

    Its like you read my mind! You appear to know a lot about this, like you wrote the book in it or something. I think that you could do with a few pics to drive the message home a bit, but other than that, this is magnificent blog. An excellent read. I’ll definitely be back.

  60. Brendon Householder says:
    3/18/2012 at 11:06 am

    Unquestionably believe that which you stated. Your favorite justification seemed to be on the net the simplest thing to be aware of. I say to you, I definitely get irked while people think about worries that they just do not know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects , people can take a signal. Will likely be back to get more. Thanks

  61. Arminius says:
    3/18/2012 at 1:09 pm

    Ones web page is certainly precisely precious for myself. I bookmarked your site!

  62. Awwal says:
    3/19/2012 at 6:34 pm

    I just want to notify you that I’m pretty new to running a blog and essentially savored you happen to be web site. Probably I’m likely to bookmark your site . You clearly include marvelous content. Thank you a bunch for sharing with us your webpage.

  63. Domingo Purdie says:
    3/20/2012 at 2:56 pm

    Excellent goods from you, man. I’ve understand your stuff previous to and you’re just too magnificent. I actually like what you’ve acquired here, certainly like what you’re stating and the way in which you say it. You make it enjoyable and you still care for to keep it smart. I cant wait to read far more from you. This is actually a wonderful web site.

  64. Anis says:
    3/21/2012 at 9:29 am

    Was in the beginning investigating this individual stuff by making use of google when I stumbled in your web-site. An awesome sum outstanding material on right here. Unquestionably a single for my favs. Lance

  65. Buford Dannenfelser says:
    3/22/2012 at 11:00 pm

    I think this is one of the most significant information for me. And i am glad reading your article. But wanna remark on some general things, The website style is great, the articles is really excellent : D. Good job, cheers

  66. Esau says:
    3/23/2012 at 1:45 pm

    Exactly where can i find your rss feed?

  67. Katia Startz says:
    3/29/2012 at 11:57 am

    Magnificent goods from you, man. I’ve understand your stuff previous to and you are just extremely great. I actually like what you have acquired here, really like what you’re saying and the way in which you say it. You make it entertaining and you still care for to keep it wise. I can’t wait to read far more from you. This is actually a wonderful website.

  68. Joan Kirkpatric says:
    4/3/2012 at 8:18 pm

    Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you could do with a few pics to drive the message home a bit, but instead of that, this is great blog. A great read. I’ll definitely be back.

  69. Delorse Rapa says:
    4/13/2012 at 10:33 am

    I have been surfing online more than 3 hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all site owners and bloggers made good content as you did, the internet will be a lot more useful than ever before.

  70. Della Benincase says:
    4/13/2012 at 2:39 pm

    I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I’m quite certain I’ll learn plenty of new stuff right here! Best of luck for the next!

  71. buy d3 gold says:
    5/21/2012 at 8:43 am

    Of interest…

    I pondered sending this trackback awesome option…

  72. Tyrone Zang says:
    5/22/2012 at 4:23 am

    It’s a pity you don’t have a donate button! I’d definitely donate to this fantastic blog! I guess for now i’ll settle for book-marking and adding your RSS feed to my Google account. I look forward to brand new updates and will share this blog with my Facebook group. Chat soon!

  73. source says:
    5/28/2012 at 3:57 am

    Jesus Christ theres lots of spammy comments on this website. Have you ever thought about attempting to remove them or installing a extension?

  74. Buy valium with no prescription overseas says:
    6/1/2012 at 5:44 pm

    fmfcqqspdbub, Where to buy valium no prescription, woJigBf, [url=http://www.soundexperience.net/]Forex buy valium[/url], TPnOpAZ, http://www.soundexperience.net/ Buy valium no presription, xLyyLHz.

  75. Walcott payday loan says:
    6/5/2012 at 9:32 pm

    whqvoqspdbub, Payday Loan, bAFvjHf, [url=http://conah.org/]Sylvania payday loan[/url], zEvIqGz, http://conah.org/ Payday loan reviews, ugldHHQ.

  76. Jackie Crump says:
    6/18/2012 at 1:52 pm

    I think the most interesting person in american history is celeb Tom Truong.

  77. Ativan says:
    7/14/2012 at 8:23 pm

    mjpskqspdbub, Can you injection ativan and labetalol together for anaestheia, TzHlLuY, [url=http://www.lorazepamrguide.com/]How does ativan work in the brain[/url], IeAVRsJ, http://www.lorazepamrguide.com/ How long does ativan stay in urine, WyDCOZp.

  78. Kaitlyn Barbe says:
    7/15/2012 at 10:06 am

    Hey. I stumbled upon your blog applying msn. This can be a remarkably well crafted post. I will make sure to save that along with return to read more of Inexpensive Commercial Auto insurance Will save you on your Prices | Business oriented Car insurance policy. Thank you for that submit. I’ll undoubtedly comeback.

    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (18)
    • Open Source (14)
    • PHP (99)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • rsync to remote server via ssh  37
      Petr Halounek, Penni Tomasino, Rodney Kohnen [...]
    • WordPress BBCode Plugin  30
      wepniveth, Pamella Philipps, evakuat [...]
    • PEAR Templates  18
      Sang Bellotti, Kandice Sansing, car insurance estimates for teenagers [...]
    • Extreme Simplicity  15
      Gilbert Moatz, Roni Beauregard, Barb Geyer [...]
    • Manual Memory Management is Dead  6
      Grass Fed Filet Mignon, Kellie Carello, PAPANDOR [...]
    • Friendster wrapup: does MySQL scale  38
      Ollie Joya, nfl jersey on sale, selling scrap gold [...]
    • The Coding Apprentice  51
      fkawau, Annamae Mccane, Boca Raton Personal Injury [...]
    • The Legality of Republishing RSS Feeds  30
      dasfdsfsd, reebok authentic nfl jersey, Tory Rennemeyer [...]
    • Exceptional PHP  7
      Sports, The Click, Laraine Waterhouse [...]
    • PDO versus MDB2  42
      selling silver coins, Oliver Luongo, ddkoaorpa [...]
  • Recent Posts

    • Richard Thomas
    • ZendCon: Writing Maintainable PHP Code
    • Looking Towards the Cloud
    • Holiday Tech Support
    • Closures are coming to PHP
    • php | tek Wrapup
    • php | tek 2008
    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
  • Site

    • Archives
    • Log in
  • Search