On 19 Oct 2010, at 03:58, Philip Hallstrom wrote:
Just my opinion, but WEBrick has always been the default server.
Adding mongrel to the default Gemfile makes it a required
dependency and people without it will have to install the gem first.
But why put unicorn in there commented out? Why switch from a
commented out mongrel to a commented out unicorn?
IMO, WEBrick is the default fallback server because it's pure Ruby and
thus doesn't depend on native compiled libraries. However, it's also
the slowest kid on the block.
Whether to use Unicorn, Mongrel, Thin or Passenger Standalone in
development is up to the developer himself. Mongrel has served me well
in the past and I still use it on older projects purely out of habit.
When I started using Rails 3 where Unicorn was the suggested (even
though it was commented out) development server, I started using that
and I have to say I'm pretty pleased with it. It does feel faster than
Mongrel and certainly more robust and based on its specs and
philosophy I would say it's better apt for a reverse proxy production
environment than Mongrel was (although Mongrel worked just fine with
the right load balancing). Passenger Standalone might be a good choice
if you want to stay close to your Passenger production environment.
But in the end all ruby servers will do, just pick the one that feels
"right" to you.
Best regards
Peter De Berdt
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.