The Artima Developer Community
Sponsored Link

Java Buzz Forum
Another performance/scalability "debate" due to Friendster migrating to PHP from Java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Another performance/scalability "debate" due to Friendster migrating to PHP from Java Posted: Jul 9, 2004 12:19 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Another performance/scalability "debate" due to Friendster migrating to PHP from Java
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
There has been a usual public "I am better than you" debate over the fact that Friendster goes PHP. Ian Kallen uses some common sense in his thoughts: The Scalability Holy Grail. Obviously there is never a winner in "language X is better/faster/more scalable than language Y". It just doesn't make sense. However, I do have direct knowledge on whether a Java site can run fast (some of the pro-PHP'ers claim it can't on that thread). TheServerSide doesn't run fast, or slow, due to the fact that Java and a JVM are in the loop. What has allowed us to scale is the architecture. We don't use all of the most amazing design patterns, or the latest technology. We are using EJB and our own MVC layer (for now), yet it still runs well (although it is a pain to maintain like this). Smart caching is king in our application (as Ian mentions in his blog). This is where Tangosol Coherence comes into play. Weilding that tool well has allowed our cluster to scale. It also allows us to get away with sloppy lower-level code, as in the grand scheme of things those nano-seconds don't matter! We try hard not to be bottlenecked at the DB, and that is what gives us our performance AND scalability. A PHP site designed to scale will be able to do this just as well. A site not designed in this manner will not be able to handle a large load. Moving to PHP has worked for Friendster, but this probably means that they didn't grok how to write a Java web application that can scale (even with Java book authors ;) Fortunately they could write one in PHP, and good luck to them. There is room for all!

Read: Another performance/scalability "debate" due to Friendster migrating to PHP from Java

Topic: Whatever Happened To... Previous Topic   Next Topic Topic: Project Looking Glass: What's in the Open Source Project and where to download it?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use