Setting up Rails for Virtual Hosting?
Kurt Griffiths
kurt.griffiths at gmail.com
Tue Apr 29 16:40:54 MDT 2008
That may be a good way to start out, simply because you will be up and
running a little faster (less to configure). However, I would still
recommend moving to Nginx at some point. I've found that there is a lot of
variability between web server performance, even for static content. The
difference becomes more and more obvious the more traffic you have. And even
for low-traffic sites, Nginx will make the website feel more "snappy" for
your users.
Of course, all this depends on your ratio of static-to-dynamic content. And
how much Russian you understand. ;)
On Mon, Apr 28, 2008 at 3:53 PM, Carl Youngblood <carl at youngbloods.org>
wrote:
> What about simply serving them with Apache? I assume that static
> content would be nearly equally fast on all web servers. Wrong?
>
> On Wed, Apr 23, 2008 at 11:16 AM, Kurt Griffiths
> <kurt.griffiths at gmail.com> wrote:
> > One more note - even if you use Passenger + Apache (because it *is*
> lovely)
> > for the rails app, you will still see significant performance benefits
> by
> > serving your static content (images, css, cached items) via Nginx.
> >
> >
> >
> > On 4/23/08, Kurt Griffiths <kurt.griffiths at gmail.com> wrote:
> > >
> > > I would highly recommend that you try Nginx. It is significantly
> faster
> > > than the other common servers we have tested at Sebo, both as a proxy
> and
> > > for serving static content directly.
> > >
> > > On 4/23/08, Steve Morrey <lists at itconsultingplus.com> wrote:
> > > >
> > > > <SNIP>
> > > > On Tue, Apr 22, 2008 at 4:03 PM, Carl Youngblood <
> carl at youngbloods.org>
> > > > wrote:
> > > >
> > > > Those instructions are quite old. I would not recommend using
> > > > lighttpd. Until recently, the setup of choice was to use some kind
> of
> > > > software-based load balancer (such as mod_proxy_balancer) in front
> of
> > > > a few mongrel instances, but now there is an easier way. There is
> a
> > > > new apache module called passenger that is very easy to set up:
> > > >
> > > > http://www.modrails.com/
> > > >
> > > > </SNIP>
> > > >
> > > > Holy mother of pearl!
> > > > Thats awesome Carl, thanks!
> > > >
> > > >
> > > > Sincerely,
> > > > Steve
> > > >
> > > > /*
> > > > PLUG: http://plug.org, #utah on irc.freenode.net
> > > > Unsubscribe: http://plug.org/mailman/options/plug
> > > > Don't fear the penguin.
> > > > */
> > > >
> > >
> > >
> > >
> > > --
> > > Kurt
> >
> >
> >
> >
> > --
> > Kurt
> >
> > /*
> > PLUG: http://plug.org, #utah on irc.freenode.net
> > Unsubscribe: http://plug.org/mailman/options/plug
> > Don't fear the penguin.
> > */
> >
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>
--
Kurt
More information about the PLUG
mailing list