Lighty Rocks My PHP/MySQL World



, , ,

A few weeks ago I was tasked with moving from an old, overloaded XServe to a newly appropriated Xeon box. The boards were notorious for going down after big games and during big news events and usually took other things on the same server down with them.

Thankfully that is no more. A week or so before the Big 12 and NCAA tournaments we finally bit the bullet and committed some time to move the boards over to their own box with more horesepower and more RAM.

I put the ubuntu-server version of Breezy Badger on the box and took the opportunity to see if I could get UBB Threads running under lighttpd and php fast-cgi. I’m glad that I took the time, because it’s smoking fast.

The process was quite painless thanks to the Ubuntu packing system. I had to build lighttpd by hand but everything else was installable with command-line tools (aptitude/apt-get). The changeover process consisted of little more than shutting down the boards on the old box, doing a dump/restore of the database to the new server, updating DNS entries and issuing temporary redirects to get the board users through the day.

The best thing about the conversion is that lighttpd, mysql, and php-fcgi barely register any load on the server, even at peak usage. While we were scrambling with stom coverage the other weekend, the boards box quietly registered a new high water mark for usage. After a painful first-round loss in the NCAA tournament, the boards registered yet another high water mark (1134 simultaneous users). The server barely flinched with a load anywhere from 0.00 to 0.20 with plenty of resources free. Previously a third of that number could potentially bring the XServe to its knees.

While we were turbocharging things, I also installed eAccelerator on the box, which was equally painless and yielded about a 20-30% performance increase.

All in all I’m gaga over lighty, mysql, and php-fastcgi for when the situation warrants it. It really is insanely fast. At the same time I’m really glad that I work in Python all day.


61 responses to “Lighty Rocks My PHP/MySQL World”

  1. Matt Avatar

    We had good luck with Lighttpd, but it eventually turned out to be too buggy and quirky for us to use in production. For and similar things we’ve moved over to Litespeed, which is a bit faster, but commercial.

  2. Endurance . Avatar

    Dear Sales,
    I’m highly interesting in purchase some items in your
    store which i will like to know if the items can be
    shipped to my address below by Overnight Delivering
    VIA any fastest courier services Dhl,Ups,Fedex..I will
    be paying you with my Credit card(Visa,Master )as a
    method of payment.

    Ship To:
    4210 Illinois Street,
    San Diego California,
    92104 CA, USA.

    If all this is accepted, kindly get back to me as soon
    as possible before i can proceed to go ahead with the
    order.Looking forward to hear from you soonest..
    With Regards,

    Endurance .

  3. Endurance . Avatar

    Dear Sales,
    I’m highly interesting in purchase some items in your store which i will like to know if the items can be shipped to my address below by Overnight Delivering VIA any fastest courier services Dhl,Ups,Fedex.I will be paying you with my Credit card(Visa,Master )as a method of payment.

    Ship To:
    4210 Illinois Street,
    San Diego California,
    92104 CA, USA.

    If all this is accepted, kindly get back to me as soon as possible before i can proceed to go ahead with the order.Looking forward to hear from you soonest.
    With Regards,

    Endurance .

  4. visa master card…

  5. Daniel Avatar

    I couldn’t understand some parts of this article y Rocks My PHP/MySQL World at Matt Croydon::Postneo, but I guess I just need to check some more resources regarding this, because it sounds interesting.

  6. âûâîç ñòðîèòåëüíîãî ìóñîðà…

    âûâîç ñòðîèòåëüíîãî ìóñîðà…

  7. Rubin Worthington Avatar

    “Anyway, I guess I’m a trifle off topic right here?.
    . Precisely.!!!. It seems to be like that! Ha, Ha, Ha.!!!.”

  8. Chinese Zodiac Avatar

    “There are definitely loads of specifics like that to require into consideration. Which is a wonderful place to provide up. I offer the thoughts above as common inspiration but clearly you will discover questions like the 1 you provide up where probably the most important point will likely be operating in truthful great faith. I don?t know if greatest practices have emerged approximately things like that, but I’m certain that your work is plainly recognized like a fair sport. In any case, in my language, there are not very much good source like this.”

  9. Raymon Collister Avatar

    I was doing tria laser hair removal system applications for over a year at this point on my facial beard. Before this I had quite a thick dark beard. I’m pleased about the results. The hairs are very thin and I have not gone back for re-application in about six months. I am going to point out that it did hurt somewhat on my upper lip and there were definitely instances where I got some redness on my face. I suggest Intense pulsed light to those having thicker hairs or currently have large areas of hair they want to eliminate. For the males who want to do their tough facial beard be prepard to get patches within the coming several weeks and lots of people saying dude whats wrong with your beard.

  10. Margarita Avatar

    Just recently looked an breathtaking lodge in Seattle. Listed below it is, by the residence address and so which a person can try to find it quite easily : Sorrento Hotel | 900 Madison Street | Seattle | WA 98104-1297 | (206) 622-6400

  11. darmowe porno Avatar

    I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this. Are you aware of any other websites on this subject.

  12. zamek w łęczycy Avatar

    Wow that was really interesting, altought i would add few more deeper thoughts

  13. luxury car rental Avatar

    A cool blog post there mate ! Thanks for it !

  14. filmy tube Avatar

    This post written here was absolutely creativity, both of which we all need . really did it for me is all the interaction among posters at such good info… had to say thanks again!

  15. buy propecia Avatar

    Willingly I accept. The question is interesting, I too will take part in discussion.

  16. outdoor wedding rental Avatar

    This blog site is extremely cool. How can I make one like this !?

  17. seo Avatar

    This website is extremely good. How can I make one like this !?

  18. reverse mobile phone directory Avatar

    How did you make a blog site look this awesome!? Email me if you get the chance and share your wisdom. I’d appreciate it!

  19. cheap seo services Avatar

    Nice post. I learn something more challenging on different blogs everyday. It will always be stimulating to read content from other writers and practice a little something from their store. I’d prefer to use some with the content on my blog whether you don’t mind. Natually I’ll give you a link on your web blog. Thanks for sharing.

  20. Last minute maroko Avatar

    hi,now, i saw this site,is good

  21. teeth whitening results Avatar

    Hello! I just would like to give a huge thumbs up for the great info you have here on this post. I will be coming back to your blog for more soon.

  22. eNflhMiH Avatar


  23. Milton	Ray Avatar

    there was something similiar to the posted on take a look it might be of particular interest for your requirements

  24. wpolscemamymocneseo Avatar

    Do you want my webpage?

  25. vyvoz stroitelnogo musora spb…

    vyvoz musora…

  26. Last minute maroko Avatar

    wow… thanks a lot writing this

  27. Willena Peniston Avatar

    Can I make a suggestion? I feel youve acquired one thing good here. However what if you happen to added a pair links to a web page that backs up what youre saying? Or perhaps you probably can give us something to look into, something that would join what you are expressing to one thing touchable? Only a advice. Nevertheless, in my terms, there will not be a lot good supply like this.

  28. Shila Moede Avatar

    Valuable information. Lucky me I found your web site by chance, and I’m surprised why this twist of fate didn’t happened earlier! I bookmarked it.

  29. Koh Samui Reseguide Avatar

    continue with the the nice work on the site. I kinda like it! 🙂 Could use some more frequent updates, but i am sure that you got some better or other things to do like we all do. :p

  30. gun safes for sale Avatar

    Amazing article, thanks, I will subscribe to you RSS soon!

  31. dieta Avatar

    You are very smart….

  32. versacheck 2010 Avatar

    I’ll bookmark this page… Thank you for sharing.

  33. obsluga informatyczna Krakow Avatar

    I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.

  34. pisanie prac Avatar

    Super diary! I actually enjoy how it is easygoing on my eyes and also the information are good scripted. I am questioning how I might be notified whenever a newborn post has been successful. I have signed to your rss feed which must make the trick! By!

  35. Best Way to Lose Weight Avatar

    The post you made was awesome!

  36. wyspy kanaryjskie Avatar

    Great blog! I genuinely love how it is easy on my eyes as well as the info are well written.

  37. oczyszczanie organizmu Avatar

    Thanks for taking the time to talk about this, I feel fervently about this and I take pleasure in learning about this topic. Please, as you gain information, please update this blog with more information. I have found it very useful.

  38. dentysta Krakow Avatar

    There’s a tremendous amount of high-quality information throughout this post. I will be signing up to your rss feed.

  39. driving instructor courses Avatar

    This website is really good. How was it made !?

  40. sterydy Avatar

    Mate nice website, but there is a problem with it in firefox

  41. paraprotex Avatar

    Now that’s what exactly I was looking for. If it is really working then you need applause. I’ll try running it and give you feedback.

  42. Antoinette29Neal Avatar

    Every one remembers that our life seems to be expensive, however we require money for different things and not every one earns big sums money. Thus to get quick loan or collateral loan will be a right way out.

  43. tory burch shoe sale …

    Tory Burch flip flop online sale.For the younger working expat women,look at these tory burch Shoes.these tory burch flip flops are definitely fun,yet the glossy design and round-toe stay these lovely.These tory burch shoes with multiple.New arrivel To…

  44. Resor Avatar

    keep up the good work on the site. Do like it! :p Could use some more frequent updates, but i’m quite sure that you got other things stuff to do like we all do. =p

  45. zero friction marketing Avatar

    What would many of us do without the presence of the wonderful suggestions you reveal on this web site? Who else comes with the persistence to deal with critical topics in the interest of common subscribers like me? My spouse and i and my pals are very fortunate to have your website among the types we regularly visit. Hopefully you know how significantly we get pleasure from your work! Best wishes through us all.

  46. Duphaston (Dydrogesterone) Avatar

    What goes up must come down

  47. paraprotex Avatar

    I have bookmarked your site for future reference.

  48. Fay Agreste Avatar

    mondo chart you own

  49. Pozycjonowanie Szczecin Avatar

    Cheers for your posting, that’s some very useful info. I’ll be back again to learn more, maintain publishing.

  50. Willian Erdley Avatar

    Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Thanks, thann Aldrege