Is Ruby suitable to develop a large dynamic web site with a heavydatabase usage?

Discussion in 'Ruby' started by tenxian, Dec 18, 2007.

  1. tenxian

    tenxian Guest

    How about its running speed?
    tenxian, Dec 18, 2007
    1. Advertisements

  2. tenxian

    Luis Lavena Guest

    I don't want to sounds harsh, but if you research a bit (I mean,
    google) you will find pretty much all the answers to your questions.

    Ruby speed, Rails as possible framework. Concurrency, hardware or VPS
    to deploy into (specialized rails/ruby hosting companies).

    Also look at RubyCorner and read most posts from Ruby blogs.

    Don't forget to actually try something in ruby before choosing it as
    platform, in that way, you can know the pros and cons of it


    Luis Lavena
    Luis Lavena, Dec 18, 2007
    1. Advertisements

  3. well, there are sites talking about speeding it up.
    and there is MERB, that speeds up the actionpak.

    there is a whole google wanna-be site on ruby/rails,
    and they say the apple mini and mongrel just rock.

    then some say cache the whole freaking thing.

    google, and there is stuff, and good stuff, and bad stuff,
    and old stuff, more old stuff. lol
    gemblon (t.b.), Dec 18, 2007
  4. tenxian

    khaines Guest

    The short answer to the question in the subject is: Absolutely.

    The overall execution speed is less likely to be a bottleneck on a site
    with heavy db usage because the db, in that scenario, often becomes the

    However, to address the basic issue of running speed, I have sites running
    on Ruby 1.8.x that are completely dynamically rendered, with all content
    coming out of the database, and everything, including the navigation,
    constucted dynamically based on the db content.

    These sites are running on a 100% ruby based stack (no Apache, lighttpd,
    nginx, etc... involved), and can do on the order of 1100 dynamically
    created page views per second through a single backend process. A cluster
    of three backend processes does around 2700-2800 r/s. I get those speeds
    because I don't go back into the database itself on every request, so they
    serve to illustrate what kind of performance a person can get when the
    bottleneck is NOT the database. Ruby speed shouldn't be a problem when
    addressing the scalability of a large dynamic web site.

    Kirk Haines
    khaines, Dec 23, 2007
  5. Hi,

    Am Dienstag, 18. Dez 2007, 13:00:17 +0900 schrieb tenxian:
    I never did measure it in any way but at least I can say that
    FastCGI is worth being considered as it is very easy to
    implement. I even wrote my own one. You may have a look at it if
    you like.

    Bertram Scharpf, Dec 23, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.