By Harry Fuecks

Friendster: switch to PHP

By Harry Fuecks

Via an anonymous tip off (OK Simon) – Friendster goes PHP, switching from JSP / Tomcat.

Apparently performance has visibly improved to end users.

Eventually Rasmus’s message of PHP as a Shared Nothing Architecture will sink in…

  • Wow, it’s a lot faster. A lot.

  • ahh nothing like seeing a PHP error on ;-)

  • andre

    could it be that their Java implementation was badly-engineered, that’s why its performance was substandard before?

  • Martin Hjort Eriksen

    This is a funny result. I am my self a PHP enthusiast, but i the journal “ACM SIGMETRICS Performance Evaluation Review, Volume 31 Issue 3” there was an article called “A performance comparison of dynamic Web technologies” where Perl, Java server technolgy (also tomcat) and Perl was benchmarked in a labratory environment. It was concluded that Serverside Java outpreformed PHP and Perl by a factor 8.

  • Dangermouse

    Well now Friendster have changed, im sure Microsoft will follow suite soon ;)

  • A testing environment is one thing. Production is another. If a developer moves from X to Y, and things speed up and improve because of it, no amount of tests is going to change the fact that moving from X to Y speed thigns up.


    > No $_COOKIE for you

    What does it mean ?

  • NativeMind

    I believe it means that $_SESSION is much faster than $_COOKIE

  • used to run on Tomcat and JSP at some point. They also turned to PHP a year or so ago. In fact the whole network runs most of it’s content on PHP


  • Perrin Harkins

    Martin Ericksen needs to actually read that ACM article if he’s going to attempt to quote from it. It does NOT say that Java outperforms PHP and Perl by a factor of 8. What it does say is that using any kind of dynamic generation is up to 8 times slower than static pages. This should surprise no one.

  • Yahoo,, now Friendster. I’m not surprised – in my previous work at a web agency, about two thirds of our business came from companies moving to Open Source, away from ASP and Java. About 30% was from one company alone – a major European auto manufacturer who were thoroughly disappointed with their JSP solution.

    The only question left is, how long before Amazon migrate? ;)

  • All in all, if they’re happy, and their site runs faster, it was a good decision.

    Q –

  • anon

    could it be because of a reconsilidating stand point? Where php developers are cheaper than J2EE / .NET devs?

Get the latest in Front-end, once a week, for free.