Killersites.com - Web Design Resources

View Cart

Is Ruby slow compared to php?

Like any good nerd, we’ve been experimenting with a little Ruby and Rails development – it is always good to try new things …

One thing we have noticed is that simple Ruby web apps (running on the same server,) are noticeably slower than PHP.

We installed fastcgi with apache 1.3 (took an hour to do) and are running simple web applications.

I will get into more detail in other post / articles.

6 Responses to “Is Ruby slow compared to php?”

  1. paul Says:

    I think ruby is much slower than php, i have done quite a bit of testing, php seems faster especially with zend server

  2. Stefan Mischook Says:

    I just wanted to update things:

    As it turns out, it looks as though we had not actually installed the fastcgi properly and our Ruby app was running on slow-ass CGI.

    So my first post on Ruby’s speed was not fair to Ruby.

    Once we get around to fixing it, I will update this post.

    Stefan

  3. Rob Says:

    Did you ever get around to testing this? I have done some very small testing in it and feel Ruby is working slower thusfar. At this time I am not sure how it would work on a webserver and with the extra bells and whistles (fastcgi etc.) but I had heard so much raving about RoR that I felt it was worth trying…

    Also bear in mind we are talking about a Framework in RoR and a scripting language in PHP so the unfair advantage goes to PHP to start with.

  4. Stefan Mischook Says:

    No.

    Due to the fact that there are some server install issues and that the Ruby framework is not as mature as PHP, we have opted to develop in php for the time being.

    Don’t get me wrong, Ruby is a really interesting language and has some nice aspects – as does Rails.

    That said, I felt that those extra bells and whistles did not trump php’s maturity and flexibility.

  5. John Says:

    Here is a quote from O’Reilly’s Ruby in a Nutshell writen by Yukihiro Matsumoto (the creator of Ruby),

    “I don’t have a concrete plan for future versions, even 2.0…”
    “…Ruby’s internals are too complex to maintain and can be slower than other languages.”
    “The future is unknown, and my imagination is limited. …”

  6. Stefan Mischook Says:

    Ouch!

© 2009 - Killersites.com - All rights reserved
  • Hosting and domain name support:
  • (480) 624-2500

PayPal Customer Support: 1-888-221-1161

Killersites.com has been a PayPal Verified Merchant since 2001. We also accept payment via check or money order.

Please send payment to:

Killersites.com Inc. 4156 Dorchester #2 Westmount, Quebec Canada H3Z 1V1

The more you learn, the more you earn!

Subscribe to our newsletter
Unsubscribe