Newsvine
  • Welcome
  • Help
  • Report Bug
  • Conversation Tracker
  • Your Column
  • Replies
  • Friends
Type Comments Since You Last CheckedArticle Source Last Checked Stop Tracking All Clear Tracking All
Advertise | AdChoices
Log In | Register
Close the Login Panel
Existing users log in below. New users please register for a free account.

New Users:

Existing Users:

E-Mail:
Password:
Forgot Password?
Please enter the e-mail address or domain name you registered with:
E-Mail/Domain:
Back to Login
Log Out
  • Top News
  • Local News
  • World
  • U.S.
  • Sports
  • Politics
  • Tech
  • Entertainment
  • Science
  • Business
  • Health
  • Odd News
  • More
    • Arts
    • Education
    • Environment
    • Fashion
    • History
    • Home & Garden
    • Not News
    • Religion
    • Travel
Visit Marilyn L's column >>

MARILYN L

Home Page
Saying Yes to Life, both the bitter & the sweet
Articles Posted: 67  Links Seeded: 3141
Member Since: 11/2005  Last Seen: 2/12/2011

What is Newsvine?

Updated continuously by citizens like you, Newsvine is an instant reflection of what the world is talking about at any given moment.

Get a Free Account
Help
Fun Stuff
  • Your Clippings
  • Leaderboard
  • E-Mail Alerts
  • Top of the Vine
  • Newsvine Live
  • Newsvine Archives
  • The Greenhouse
  • Recommended Articles
  • Wall of Vineness
Put a Seed Newsvine link on your own site

Ruby's easy but Java is quicker

Seeded on Mon Jun 25, 2007 10:25 AM EDT
Read ArticleArticle Source: Government Computer News: gcn.com
technology, web-design, web-development, programming, php, java, ruby-on-rails
Seeded by Marilyn L
Advertise | AdChoices

From the article: For this week's print issue, we did a big story on the Java-based scripting languages. Over the past few years, Web application developers have been gravitating towards scripting languages such as Ruby on Rails and PHP, which allow them to quickly ramp-up applications.

The received wisdom around these languages, and the frameworks they operate under, is that they can not match the performance of an application running off of Java Enterprise Edition, which, after, was built expressly for multi-thread environments. (And this is why the scripting languages like Groovy that can run on the Java Virtual Machine are such good news: They combine the speed of the Java platform with the ease of the scripting languages).

In any case, it turns out that this perception about scripting-based applications running slower is correct—at least according to tests carried out by Sun engineers.

  • Enjoy this article? Help vote it up the 'Vine.

Published to:

  • Marilyn L's Column, All of Newsvine
  • Groups: Newsvine Technology, programmers, Web Designers, Web Development
  • Regions: none
  • Public Discussion (3)
Marilyn L

As a web designer, this analysis is interesting, since I may specify a particular development framework to programmers. At the same time, my experience is limited to articles like this. What do you all think of this analysis?

  • 1 vote
Reply#1 - Mon Jun 25, 2007 10:27 AM EDT
Tim Baxter

Not much, really. There's several problems with it.

First, to take RoR and something as marginal a Groovy/Grails and extend that to a blanket "Java is faster" statement is misleading. It's fasters than those two. No more, no less.

Second, speed and scalability are not RoR strong points. Quite the opposite. While it's a fine development platform, those are two known issues. Every platform has weak points, and at this point, speed and scalability are two things the RoR guys are working on.

Third, it's pretty much moot for most folks. Consider the test:

Here's how the platforms fared: The Ruby on Rails deployment was able to execute about 2,000 operations per second (such as reading a database entry, or refreshing the Web page), whilst serving 100 users simultaneously. Grails executed just over 3,250 operations per second for 100 users. And JEE 5 trumped both of the others, executing almost 11,000 operations per second with 100 users.

Well, for most folks, the ability to execute 2000 operations per second while supporting 100 simultaneous users (on just 8 megs of RAM) would be more than adequate.

Finally, they stress that the tests are not proper benchmarks, as each wasn't tuned. You could very conceivably get much better performance from the scripting languages with proper tuning.

Bottom line: Java is going to tend to be fastest, but for most projects a scripting language may be plenty fast enough.

I would have been interested in how Django fared, though. I suspect it might have done quite a bit better than RoR.

  • 2 votes
Reply#2 - Mon Jun 25, 2007 10:54 AM EDT
Minerva

Interesting seed. Ruby on Rails is still a newcomer to the web development world and in my opinion, it's a specialised framework targeting a particular niche. Ruby on Rails is intended for rapid development of websites which mainly pull data out of a database and display it based on what a user has chosen. It has yet to prove itself in the enterprise market which is what J2EE is targeting but scripting languages like PHP are making inroads in that area.

I don't have specific experience in the area that they have benchmarked but it looks like they are trying to see how these scripting languages perform in Java's main area and it looks like Java is the best performer there.

For a small business which won't be running a website that will need take a load as big as that, rapid development is much more of a bigger factor to take into consideration when choosing which technology is to be used.

  • 1 vote
Reply#3 - Tue Jun 26, 2007 3:44 PM EDT
Leave a Comment:
You're in Easy Mode. If you prefer, you can use XHTML Mode instead.
You're in XHTML Mode. If you prefer, you can use Easy Mode instead.
(XHTML tags allowed - a,b,blockquote,br,code,dd,dl,dt,del,em,h2,h3,h4,i,ins,li,ol,p,pre,q,strong,ul)
Newsvine Privacy Statement
As a new user, you may notice a few temporary content restrictions. Click here for more info.
FUN STUFF:
  • Leaderboard |
  • E-Mail Alerts |
  • Top of the Vine |
  • Newsvine Live |
  • Newsvine Archives |
  • The Greenhouse |
COMPANY STUFF:
  • Code of Honor |
  • Company Info |
  • Contact Us |
  • Jobs |
  • User Agreement |
  • Privacy Policy |
  • About our ads
LEGAL STUFF:
  • © 2005-2012 Newsvine, Inc. |
  • Newsvine® is a registered trademark of Newsvine, Inc. |
  • Newsvine is a property of msnbc.com