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
You can leave a response, or trackback from your own site.

43 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!

Leave a Reply

Click here to cancel reply.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

code: use [code=php][/code].

Comment Preview

    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

    • Writing an XPath expression evaluator  7
      JDM Cars, Alva Sisk, teeth falling out dream [...]
    • PHP Games  63
      Furniture Manufacturers, Jason Pierre-Paul Jersey, Voncile Grizzel [...]
    • PDO versus MDB2  31
      Morton Deliso, Marquis Valakas, Beatriz Elifritz [...]
    • Why PHP is easier to learn than Java  48
      Betty Wager, Orville Kotrys, Esperanza Mcpeck [...]
    • Friendster wrapup: does MySQL scale  29
      Clemente Michaux, Kandra Noriego, Earl Skowronski [...]
    • Enterprise PHP  42
      Hoyt Origer, atomboygame, Luna Cerny [...]
    • Comparing PHP with other languages  38
      polštinap?eklad, polštinap?eklad, php developer [...]
    • Looking Towards the Cloud  65
      spin, Serina Doshier, Graciela Guisinger [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  241
      Rory Teich, Lady Gaga, Tommy Staude [...]
    • Richard Thomas  27
      Hedwig Larcher, Carlos Cherenfant, Kurt Vagliardo [...]
  • 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