Best server solution

Hi all

I must set up a Dedicated Server for a large community which is based on ruby on rails.

What is the best, fastest & most secure server solution/configuration for this?

I found several different opinions on the web... - Lighttpd with fastcgi or mongrel - nginx with fastcgi or mongrel - apache 2 with fastcgi

What do you think? What's the best way?

Chris

there's also mod_rails (Passenger) which is neato. I would use either that or something proxying to mongrels

Fred

Christoph Thommen wrote:

Hi all

I must set up a Dedicated Server for a large community which is based on ruby on rails.

What is the best, fastest & most secure server solution/configuration for this?

I can really recommend LiteSpeed http://litespeedtech.com/

Hi

Thank you for your answers

Have you got a tutorial or a step by step instruction for LiteSpeed?

Thank you for your answers

Have you got a tutorial or a step by step instruction for LiteSpeed?

+1 for litespeed.

http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki#ruby_rails

Please note that the *free* version is limited to 150 connections per
second. That is still a *lot* of traffic, but something to keep in
mind. It's also bound to only one CPU.

Still, it's really easy to setup.

Hi

Hmm, this is not as much as I need :frowning:

What do you think about the solution Apache 2 with some (4) Mongrels?

Chris

Because Apache is quite a hefty memory user and the first passenger spawner is still in somewhat of the same league as a single mongrel, nginx+mongrel might be a better option if you’re planning on running a single rails app on a low-memory vps. I might be tempted to try passenger on our next server though.

Best regards

Peter De Berdt

Chris,

Apache w/FastCGI was standard 3+ years ago... then Lighttpd came to the rescue... then Nginx kicked both of their asses out of the water.

I'd look at using Nginx with a mongrel cluster if you're going to be deploying to a Linux-based envrionment. This is the default configuration that we use with our Rails Boxcar[1]

[1] http://railsboxcar.com

Good luck!

Cheers, Robby

Hey Robby -

Hi all

I must set up a Dedicated Server for a large community which is based on ruby on rails.

What is the best, fastest & most secure server solution/configuration for this?

I found several different opinions on the web... - Lighttpd with fastcgi or mongrel - nginx with fastcgi or mongrel - apache 2 with fastcgi

Chris,

Apache w/FastCGI was standard 3+ years ago... then Lighttpd came to the rescue... then Nginx kicked both of their asses out of the water.

I'd look at using Nginx with a mongrel cluster if you're going to be deploying to a Linux-based envrionment. This is the default configuration that we use with our Rails Boxcar[1]

[1] http://railsboxcar.com

Good luck!

Cheers, Robby

couple questions for you Robby.

Do you use evented mongrels ?

How about the fair balancer patch for nginx ?

We have deployed both, and found the app server to be able to withstand high loads.

thanx. J