BT

InfoQ Homepage News Framework Performance: Ruby on Rails vs Django vs Symfony

Framework Performance: Ruby on Rails vs Django vs Symfony

Bookmarks

Someone (and it's unsure who, as they left no byline) recently decided to run some benchmarks against the three major Web application development frameworks, Ruby on Rails, Django and Symfony.

Firstly, they developed a simple application in all three frameworks that tested similar functions such as basic database functionality, reloading pages, and so forth. They tested the applications with 50 concurrent virtual users and 150 concurrent virtual users on a dual Xeon 3.2GHz server with 2 gigabytes of RAM, and produced some basic statistics for the results.

The testing, however, appeared to be flawed, with the tester admitting that in the 150 user test with Symfony, most requests returned with a 500 Internal Server Error. Their main set of successful results, however, shows that Rails proved significantly faster than Symfony, but Django proved faster still. They also demonstrated that not using a PHP accelerator significantly slowed down the already slow Symfony (a good counterpoint to those PHP programmers who claim their language is the fastest.. it's how you use it that counts!). 10 Mongrel processes also seemed to just outperform a lighttpd-based FastCGI configuration.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • publishing

    by Gerald Loeffler /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    sorry for this bad-tempered remark:

    the rules of the scientific community (which had a very large part in building up todays body of knowledge) has very strict rules on publishing: any publication must precisely state *who* did *what* based on *what previous work* and is then peer-reviewed to assess its credibility.

    It seems worthwhile recalling these basic rules when "someone anonymous did something that seems to be flawed", as in the piece of work referred to in this posting (interesting as it may appear)...

    cheers,
    gerald

    www.gerald-loeffler.net

  • seems to be flawed?

    by Obie Fernandez /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I don't understand your comment "did something that seems to be flawed". Yes it was anonymous, but I believe the information presented at the link is quite detailed and interesting to our readers.

  • Re: publishing

    by Peter Cooper /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I anticipated this response when writing up this item. Whenever someone publishes a link to some non scientific-method testing or benchmarking, it's time to put the flame jacket on.

    The reality is, however, one of pragmatism. These anecdotal results may be of some use and do provide a comparison. This is not an academic or scientific journal (where more stringent requirements are the norm) and we publish information about things that may be of use, whether they're bylined or not. After all, if this were a scientific journal, this blog post would have had to go through a peer review itself ;-)

  • Re: publishing

    by Gerald Loeffler /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    it's time to put the flame jacket on.


    if this was a "flame" than it must have been the most polite flame i've ever seen ;-)

    and actually, my critique was addressed at the original piece of work (anonymous, flawed) and not at your citation of it. after all, postings and discusssions on this forum *are* a kind of peer-review...

    cheers,
    gerald

    www.gerald-loeffler.net

  • Re: seems to be flawed?

    by Gerald Loeffler /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I don't understand your comment "did something that seems to be flawed".


    i was just alluding to this sentence in the original posting: "The testing, however, appeared to be flawed, with the tester admitting that [..]" That's all...

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.