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

On Sep 3, 2:21 pm, sigma [email protected] wrote:

  • nginx with fastcgi or mongrel
  • apache 2 with fastcgi

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?

On 3 Sep., 14:41, Pål Bergström [email protected]

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

On 04 Sep 2008, at 14:21, Nathan E. wrote:

I would personally recommend either Phusion Passenger (Apache 2 with
almost no configuration) or Nginx proxying to multiple Mongrels. Do
check out passenger though, I don’t see any reason not to go with that
as a default now.

http://www.modrails.com/

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

I would personally recommend either Phusion Passenger (Apache 2 with
almost no configuration) or Nginx proxying to multiple Mongrels. Do
check out passenger though, I don’t see any reason not to go with that
as a default now.

Hey Robby -

On 4-Sep-08, at 10:17 AM, Robby R. wrote:

for this?
the rescue… then Nginx kicked both of their asses out of the water.
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

On Wed, Sep 3, 2008 at 5:21 AM, sigma [email protected]
wrote:

  • 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


Robby R.
Chief Evangelist, Partner

PLANET ARGON, LLC
design // development // hosting

http://www.robbyonrails.com/
aim: planetargon

+1 503 445 2457
+1 877 55 ARGON [toll free]
+1 815 642 4068 [fax]