similar to: Best practice?

Displaying 20 results from an estimated 20000 matches similar to: "Best practice?"

2006 May 22
6
which kind of deployment has the best performance
In the following deployment of web app on ONE pc-based server,running linux,which can support the most amount of concurrent users as well as the shortest latency? 1 apache+mongrel 2 apache+mongrel_cluster 3 lighthttpd+mongrel 4 lighthttpd+mongrel_cluster 5 lighthttpd+fastcgi Thanks charlie -- Posted via http://www.ruby-forum.com/.
2006 May 11
3
LightHTTPD FastCgi Error in Production Mode
I''ve been banging my head against the following for about 8 hours now, and have exhausted my web research options: /usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21:in `require'': no such file to load -- /usr/home/matthew.feadler/rails/avclfc/public/../config/environment (LoadError) from /usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21
2006 Apr 20
21
Can someone please explain Lighttpd + Mongrel + Rails.
I know that Mongrel is a web server that hosts rails applications. But i don''t understand what part Lighttpd (or Apache) has in the setup. I know that you can use Mongrel on its own. What does Lighttpd improve on? Thanks, Chris -- Posted via http://www.ruby-forum.com/.
2006 Jun 16
12
FastCGI times out?
Hello there, So I''m still struggling with this fastcgi stuff. I''m trying to upload and process a decent sized ZIP file, but the request dies before it finishes and I get the following error: FastCGI: comm with (dynamic) server "/Users/ryan/Workspace/rails/photos/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: http://photos/album/new/4
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5 (with in-house-built framework)... so the jump is not terribly bad. I''m REALLY excited actually! My problem: I am overwhelmed with all the setup Loops I have to jump through to get RoR setup. I tried it on my current Apache 1.34 and decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2006 Mar 31
35
Frustrated with RoR environment splintering
Why isnt the RoR community focusing on robust and scalable mod_perl style of Apache environment, rather then splintering all over the place with lighthttp, mongrel, WEBrick, SCGI, fcgi, etc??? Its frustrating as someone who is trying to migrate to RoR. Its very unlikely I would ever get a contract to work on any webserver except Apache, so it would seem logicaly to focus all our efforts to
2006 Jun 24
6
apache2 on red hat linux need help anyone
I''ve poured over many docs online and thought it would be wonderful to get RoR running in 15 minutes. Well after 15 hours, I''m completely stuck and ready to give up on RoR. I''m hoping somebody can give me some guidance. I''ve pulled out my hair and am bald like others who have tried to get RoR running without any luck. When I run
2006 Mar 09
12
ruby/rails seems to be fubar''d
Hello. Any help the community can give me will be greatly appreciated. I''ve got the server guys who administer my dedicated server working on my issue, but it''s been two days and they are still at square one. Let''s start with the history. I''ve been working with ruby for a month or so now, and am starting to get pretty comfortable with it. I asked my host
2006 Jul 24
22
which webserver to use in production?
Apologies in advance if this ignites a war of comflicting opinions.... I''m a few days away from going live with my first RoR application. It is completely database centric and each user will have his own queries so cacheing will not really help. I have a dedicated linux server being built by my hosting provider and I need to tell them which webserver to use. The databse is MySQL
2005 Dec 01
12
Difficult process of restarting SCGI, Lighttpd, Apache, sessions
I''ve managed to get Rails working using Apache->Lighttpd->SCGI. Restarting everything is really difficult. This appears to be the process: - stop apache - stop lighttpd - stop scgi - make sure scgi still isn''t running (it sometimes does) - if it is, kill it - delete all session files (they often cause permission errors) - start scgi - start apache - start lighttpd - cross
2006 Mar 02
9
FastCGI vs. Simple CGI
I''ve seen several postings where FastCGI is being used with RoR projects, yet, most of the material I''ve read (Dave Thomas'' book, online articles, etc) recommend not using FastCGI anymore because it is a dormant project and hasn''t been updated since 2003 (I think???). So, I went out and got Simple CGI instead. It had to be compiled and installed from
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody I am trying to get RoR to work with lighttpd. Nearly there, but I am stuck with a strange phenomenon. If I configure lighttpd to serve pages on say port 2000, I can get at my testapp fine and see the "Welcome aboard" page. However, if I configure lighttpd to use port 80, I get a download prompt from my browser. If I access my URI like
2006 Apr 15
19
Trouble with Lighty
I''m trying to setup my rails application with Light+fcgi. This is the error I''m getting when I try to start Lighttpd : ============ [getcapture@alpha getcapture]$ ~/etc/rc.d/lighttpd.sh start Starting Lighttpd 2006-04-15 11:27:24: (mod_fastcgi.c.1022) execve failed for: /home/getcapture/application/public/dispatch.fcgi No such file or directory [getcapture@alpha getcapture]$
2006 Feb 24
8
RoR meets .net *cringe*
It was a miserable failure for us. Your best bet is to run on Linux. > 1. Has anyone done any benchmarks with it? Is there any reason this > couldn''t be viable for production loads? (feel free to speculate if you > haven''t) When it finally worked, after two weeks of trial and error (and we can''t reproduce it again) it performs poorly under IIS. It looks
2006 Feb 22
3
Newbe Rails question on Apache.
Hello, I am new to Rails, like totally new. I am not new to application development having near 10 years experience with data mining and store front development with various Java web severs. I see a ton of power in Rails but I am slightly put off by what looks like a difficulty when running Rails apps under Apache. So I am posting a few prelimenary questions of getting Rails apps going
2005 Dec 19
1
Lighty External Fast CGI Process Load Balacing Note
I''ve just spent a while chasing a false bug in lighttpd and load balancing among external fast cgi processes due to what I think is a documentation bug. Following the info on the wiki page <http://wiki.rubyonrails.com/rails/pages/LighttpdWithProcessScripts>, one would think that something like this works: fastcgi.debug = 1 fastcgi.server = ( ".fcgi" => (
2006 Mar 06
13
Internal Server Error - I want to cry
I got a brand new Fedora Core 4 box and was all excited to get Rails running on it. That was about two days ago. I did all the ''yum install ruby, etc. etc. etc.'', then ''gem install rails, etc. etc. etc''. I''ve tried running Rails with httpd (fastcgi and cgi), lighttpd (scgi, fastcgi, cgi), mongrel, webrick, and even ''ruby
2006 Jun 07
9
lighttpd/fastcgi - where does stdout go?
i''m using lighty and fastcgi in my rails production environment. standard output appears to get swallowed up somewhere... it''s clearly not coming out of the development log. don''t know where to look for it. is this a byproduct of running in production mode? is there a way to turn this off? thanks, paul
2006 Jan 04
14
Rails on Tomcat or JBoss?
Hi all, The Rails book talks about running Rails under Apache, but is there a (relatively) easy way to deploy it to either Tomcat or JBoss? Is the CGI servlet the only option? Thanks, Ken -- Kenneth A. Kousen, Ph.D. President Kousen IT, Inc. <http://www.kousenit.com> http://www.kousenit.com <mailto:ken.kousen@kousenit.com> ken.kousen@kousenit.com
2006 Mar 30
6
Stable Production Environment on Unix/Linux
Hello, I wonder what would be the most stable production runtime environment for a rails application on Unix/Linux. I am not very fond of FastCGI indeed, since it''s not seen any further developement lately. What are your experiences e.g. with the mongrel server? Has anybody used it for production? What are the alternatives? May be some fine lad could just point me to web site