SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru
    Join Date
    Oct 2006
    Location
    Queensland, Australia
    Posts
    852
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Most Common Ruby Web Server?

    Hi All,

    I've decided to start learning Ruby. I've been coding PHP for over 3 years and am after something a little different, hopefully to satisfy me where PHP doesn't. I'm wondering however, what the most common web server is that you usually find hosting ruby web applications? On PHP for example, Apache is the clear standard - it's on the majority of web servers hosting PHP. I'm wondering what the equivilant web server for Ruby is, as learning the platform/environment the language runs under I think it equally important as learning the language itself. In toher words, if I was to get Ruby web hosting from a mainstream web host, what web server would they likely use?

    Cheers

  2. #2
    Team ********* Louis Simoneau's Avatar
    Join Date
    Sep 2009
    Location
    Melbourne, Australia
    Posts
    228
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi Wardrop,

    Some mainstream web hosts (that is, shared hosts) will be using Apache with Phusion Passenger (aka mod_rails http://www.modrails.com/), because it's extremely easy to setup and configure.

    That said, if you're doing your own deployment, I think the most common option among developers is to use Nginx as a front-end, proxying requests to either Mongrel or Thin instances. Nginx is becoming increasingly popular with PHP developers as well because it can handle higher concurrency with lower memory usage than Apache (I use it for my WordPress sites).

    Finally, if you're looking for an all-in-one cloud hosting solution for ruby apps, I've heard a lot of good things about Heroku (http://heroku.com/), though I haven't used it myself.

    Hope that helps!

  3. #3
    SitePoint Guru
    Join Date
    Oct 2006
    Location
    Queensland, Australia
    Posts
    852
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the helpful reply. It's a shame that Phusion Passenger isn't available on windows, but I certainly can't blame the developers for deciding not to port it.

    Cheers

  4. #4
    Team ********* Louis Simoneau's Avatar
    Join Date
    Sep 2009
    Location
    Melbourne, Australia
    Posts
    228
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Do you plan on hosting your Rails application on a Windows server? or is it just for development purposes? If it's for development I'd recommend using a virtual machine linux server, to keep your dev environment as close as possible to the eventual deployment... that way your server can sit inside your windows machine happily

  5. #5
    SitePoint Member
    Join Date
    Jun 2010
    Location
    San Jose California
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can run a virtual linux server in your windows and it will take care of everything without any confliction.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •