Difference between Mongrel and Webrick

Hi Everybody,

I would like to know the exact difference between Mongrel and Webrick.

I have gone through few sites about Mongrel and Webrick differences. I
came
to know that Mongrel is fast, efficient than Webrick.

Are there any other differences other than this? Which one is better?

Are there any other servers other than Mongrel and Webrick.

Thanks in advance.

On Jan 13, 2:51Â pm, Rails ROR [email protected] wrote:

Hi Everybody,

I would like to know the exact difference between Mongrel and Webrick.

I have gone through few sites about Mongrel and Webrick differences. I came
to know that Mongrel is fast, efficient than Webrick.

Are there any other differences other than this? Which one is better?

That is pretty much the main difference - other than that they are
pretty similar in scope

Are there any other servers other than Mongrel and Webrick.

thin and passenger (although you might consider that to be in a
slightly different category) are two that spring to mind, there are a
bunch more options in the jruby world but that’s not something I’m
familiar with

Fred

Accidentally direct messaged, apologies.

WEBrick has basically been deprecated, even for development purposes.
Mongrel is faster and more reliable and now the de facto standard in
the community.

Alan

http://www.twitter.com/anachronistic

There’s also Unicorn.

On Jan 13, 10:24Â am, “[AFH]” [email protected] wrote:

Accidentally direct messaged, apologies.

WEBrick has basically been deprecated, even for development purposes.
Mongrel is faster and more reliable and now the de facto standard in
the community.

Alan

http://www.twitter.com/anachronistic

WEBrick isn’t depricated. Mongrel main development branch doesn’t
entirely work with Ruby 1.9 yet, although there seem to be plenty of
patches which do appear to work.

http://rack.rubyforge.org/doc/ has a nice list of popular Ruby
webservers.

WEBrick was dropped and isn’t considered a serious contender. Mongrel
replaced it. Even in 2007 you can find mention of WEBrick being “semi-
deprecated” as Mongrel gained favor.

Technically, deprecated only means “should be avoided in favor of a
more suitable alternative.” Outright replaced is perhaps more accurate
in this case.

One of Mongrel’s main differences is how efficiently and effectively it
scales with multiple apps/clusters running at the same time. Try
running 6 different applications using mongrel on 6 different ports and
allow them all to tie into one another. Then, try the same thing with
webrick and you’ll understand quickly why Mongrel is better.

I would actually argue that even Mongrel at this point would be
considered deprecated by that definition. Most deploy environments are
using Passenger & even that is now looking like Unicorn might give it a
run. I switched to using Passenger for my dev environment over a year
ago.

Niels