3 ms·
This is a good test, and the results are quite interesting. I'm surprised at just how much Apache + PHP beat out RoR. However, as the disclaimer in the post s
by shogunmike 19y ago
This is a good test, and the results are quite interesting.
I'm surprised at just how much Apache + PHP beat out RoR. However, as the disclaimer in the post says, "it's not a real world test".
I wonder why connecting to a database wasn't included? It confused me initially because the acronym on the graph is "LAMP" - should it not be "LAP"? :)
- SwellJoe 19y agoWhy would that surprise you? RoR is stunningly slow and PHP is pretty damned fast (in general--though I've seen a lot of pathologically bad PHP code in the wild that sucked for performance, usually due to database abuse...of course, I've also seen RoR apps that are even slower due to database abuse). Luckily, most applications built in RoR (or PHP, or Catalyst, or Django, etc.) never have to scale out very much, and by the time they do, the revenue is hopefully there to help fix the problem by brute force.
- shogunmike 19y agoHehe...perhaps it didn't really surprise me so much, maybe I was just hoping for it to be a bit better! I really don't like code that "hacks together" a solution and then requires a substantial remedy later (who does?!) so I'm quite interested in getting it right from the beginning. Assuming that many of us here develop web applications, and that some are going to need to scale heavily, what do you recommend as a good solution? I have yet to read either of these two books, but they are on my list (I only have one at home, the other I'll order): http://www.amazon.co.uk/Building-Scalable-Web-Sites-Henderson/dp/0596102356/ref=pd_sim_b?ie=UTF8&qid=1197382004&sr=8-1 http://www.amazon.co.uk/Building-Scalable-Web-Sites-Henderso... http://www.amazon.co.uk/Performance-MySQL-Advanced-Techniques-Administrators/dp/0596003064/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1197382004&sr=8-1 http://www.amazon.co.uk/Performance-MySQL-Advanced-Technique... Both are O'Reilly so I'm assuming they'll be good! Let me know if you have any other resources for this, because I imagine it's a very common issue for successful startups.
- aston 19y ago"High Performance MySQL [and other oxymorons]" Not a bad book, though, for letting you know about all of the random features MySQL has. It's hard to get the same information in one place otherwise.