Project

General

Profile

WEBrick Server for Production

Added by Karl Heinz Marbaise over 15 years ago

I would like to know what the reason is not using WEBrick for production?
I'm asking, cause it's very easy to start using WEBrick instead of Apache etc.


Replies (4)

RE: WEBrick Server for Production - Added by Thomas Lecavelier over 15 years ago

A very good reason: very poor performances. If you want better performance and keep the same way to start your server, just install mongrel (gem install mongrel): rails detect it and launch it instead of webrick.

My preference goes to thin, which you can use the same way than mongrel, but is not recognize by ruby script/server. BTW, for production, automatize your launching (and choose thin + reverse_proxy ;) )

RE: WEBrick Server for Production - Added by Karl Heinz Marbaise over 15 years ago

Hi Thomas Lecavelier,
first of all many thanks for your support...

A very good reason: very poor performances. If you want better performance and keep the same way
to start your server, just install mongrel (gem install mongrel): rails detect it and
launch it instead of webrick.

Does exist a comparsion based on the performance between WEBrick and mongrel ?

This is very simple...i changed my current installation to that (within 15 seconds..)..

My preference goes to thin, which you can use the same way than mongrel, but is not recognize
by ruby script/server. BTW, for production, automatize your launching (and choose thin + reverse_proxy ;) )

Does exist a description how to do this? Would be very interesting...

Thanks in advance.
Karl Heinz Marbaise

RE: WEBrick Server for Production - Added by Thomas Lecavelier over 15 years ago

For benches: http://groups.google.com/group/thin-ruby/browse_thread/thread/ef6ae8ca4ec2fe29?pli=1 You can get plenty of them on the web.

For automatization... RTFM? O:-)

Follow this: HowTo_run_Redmine_with_a_Mongrel_cluster and this one (dig in the middle of the article, search for autostart).

RE: WEBrick Server for Production - Added by Karl Heinz Marbaise over 15 years ago

Hi Thomas,

For benches: http://groups.google.com/group/thin-ruby/browse_thread/thread/ef6ae8ca4ec2fe29?pli=1

This is very interesting to see...

For automatization... RTFM? O:-)

Sorry ... for that...I should have thought about that my own first.... ;-(

Kind regards
Karl Heinz Marbaise

    (1-4/4)