Is anyone out there running their production RoR apps on just *nix and Lighttpd (bypassing Apache completely)? I''d be curious to hear your story, good or bad. Thanks _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Its not a production app, but I''m running my blog on FreeBSD and Lighttpd. Are you thinking about using Apache for proxying your port 80 to higher numbered ports which will run your Rails app? Shane Vitarana On 10/11/05, CLung <chad.lung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Is anyone out there running their production RoR apps on just *nix and > Lighttpd (bypassing Apache completely)? I''d be curious to hear your story, > good or bad. > > Thanks > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
> > Date: Tue, 11 Oct 2005 13:11:05 -0500 > From: Shane Vitarana <shanev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Subject: Re: [Rails] Running just Lighttpd on production > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Message-ID: > <4ab757a40510111111p25a458f8sb035075423bd5c86-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> > Content-Type: text/plain; charset="iso-8859-1" > > Its not a production app, but I''m running my blog on FreeBSD and Lighttpd. > Are you thinking about using Apache for proxying your port 80 to higher > numbered ports which will run your Rails app? > > Shane Vitarana > >I am looking at running just Lighttpd (no Apache). The RoR app I have is not going to be under extreme loads, probably no more than 10-20 users on it at any given time. However, large uploads are going to be required which I was waiting for Lighttpd to get over the 1.4.5 hump which fixed the issues with the large uploads they were having. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
CLung <chad.lung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is anyone out there running their production RoR apps on just *nix and > Lighttpd (bypassing Apache completely)? I''d be curious to hear your story, > good or bad.We''re running blinksale.com on linux+lighttpd since day one, and it''s worked like a charm. Despite lightty''s dramatic documentation dearth, I found it extremely easy to configure -- c.f. Apache, which I''ve used for years but still don''t understand all of its configuration options. :sco
On 10/12/05, CLung <chad.lung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is anyone out there running their production RoR apps on just *nix and > Lighttpd (bypassing Apache completely)? I''d be curious to hear your story, > good or bad.Sure. And, if you have the option to not do apache proxying then *don''t*. Proxying to lighttpd with Apache doesn''t improve performance or stability or.. anything. It just makes it easier for a primarily apache shop to deal with lighttpd customers. Ben
CLung- I am running a fairly large site( 60,000 page views a day) on OSX server with just lightppd and it is great. The site is here: <http://yakimaherald.com>. Here is a link to a complete write up of the dev process on this site and the deploy details as well: <http:// permalink.gmane.org/gmane.comp.lang.ruby.rails/20637>. I started out using apache1.3/fcgi but soon switched to lighty and have never looked back. Feel free to contact me if you want config files or more details. Cheers- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org On Oct 11, 2005, at 11:01 AM, CLung wrote:> Is anyone out there running their production RoR apps on just *nix > and Lighttpd (bypassing Apache completely)? I''d be curious to hear > your story, good or bad. > > Thanks > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
CLung wrote:> Is anyone out there running their production RoR apps on just *nix and > Lighttpd (bypassing Apache completely)? I''d be curious to hear your > story, good or bad. >+1 for Lighttpd. I''m used to Apache2, and tried to set it up with FastCGI for rails and got into a world of pain. Lighttpd + FastCGI turned out to be much easier to configure and darn fast on production. Vamsee. -- If you are not living on the edge, you are taking up too much room. - Jayne Howard
On 10/11/05, Vamsee Kanakala <vamlists-hi6Y0CQ0nG0@public.gmane.org> wrote:> > CLung wrote: > > > Is anyone out there running their production RoR apps on just *nix and > > Lighttpd (bypassing Apache completely)? I''d be curious to hear your > > story, good or bad. > > > +1 for Lighttpd. > > I''m used to Apache2, and tried to set it up with FastCGI for rails and > got into a world of pain. Lighttpd + FastCGI turned out to be much > easier to configure and darn fast on production. >I believe apache 1.3 has less problems with fastcgi than apache2. If you are already running apache and need it on the same server anyways, then I''d say stick with apache. We have done quite a bit of testing with apache 1.3.x and lighttpd on freebsd with fastcgi, and frankly there isn''t much of a difference. And if your rails app does much processing of anything, the performance advantage of lighttpd simply won''t be noticable, although it will use less resources. If we had dedicated rails servers I would probably go with lighttpd, but we have to run mod perl also so lighttpd is just one more thing to manage and keep running. Chris _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Oct 11, 2005, at 5:50 PM, Ben Myles wrote:> On 10/12/05, CLung <chad.lung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Is anyone out there running their production RoR apps on just *nix >> and >> Lighttpd (bypassing Apache completely)? I''d be curious to hear >> your story, >> good or bad. >> > > Sure. And, if you have the option to not do apache proxying then > *don''t*. > > Proxying to lighttpd with Apache doesn''t improve performance or > stability or.. anything. It just makes it easier for a primarily > apache shop to deal with lighttpd customers.I disagree with this. One of the reasons for running apache in front (a big one to me) is that it is very defensively multiprocess. Part of the reasoning behind the MPM setup is that it is considered an absolute requirement to always respond to any request, even if it is with a 500 error. A process can die, no big deal, but with prefork nothing else will notice, with worker a few others will notice, but you are very effectively managing the risk of having a server die. The responsiveness hit you get for putting apache with mod_proxy in front is trivial, and doesn''t touch throughput for any realistic pipe. I quite like lighttpd, but I am *very* uncomfortable running any single-process daemon as the sole responder to a public network service for a non-trivial site. -Brian> > Ben > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >