similar to: Nginx conf with all the right rules for mongrel_cluster

Displaying 20 results from an estimated 2000 matches similar to: "Nginx conf with all the right rules for mongrel_cluster"

2006 Nov 04
0
Rails caching enabled Nginx.conf file.
Folks- James Cox, Alexy Kovyrin and I all huddled up and got nginx working perfectly with mongrel cluster and rails page caching. So all static and cached files are served fast by nginx and anything not static gets sent to mongrel. http://brainspl.at/articles/2006/09/12/new-nginx-conf-with-rails-caching Nginx(engine-x) is a lightweight webserver that serves static files *fast*. It also has
2006 Aug 22
9
Article: High-Performance Ruby On Rails Setups Test...
This week we have started one new project with Ruby on Rails as primary framework. My first task was to prepare runtime environment for it on one of our development servers. When I have tried to research how people doing it, I noted that there is no information about how to deploy rails application with nginx as frontend and what is performance of such solution. Before blindly make any
2006 May 02
4
recommended setup of Mongrel_cluster + SSL for multiple apps?
I''d like to use Mongrel_cluster with SSL on a green-field application (it can be configured however is best - initially, "ease of setup" is important, but then soon after will be scaling and response time). I''ve read a lot of emails on this topic, and checked out the Mongrel pages, etc, but I''m left with this question of what is recommended: For a
2006 Aug 04
5
Mongrel Cluster Compatibility
Is anyone using ferret with Mongrel/Mongrel-cluster? The first one or two times I access the ferret index it works fine, but then it throws a write lock error StandardError (: Error occured at <index_rw.c>:703 Error: exception 6 not handled: Could not obtain write lock when trying to write index ): I need to do more testing on this to narrow down the problem/solution but just wanted to
2006 May 15
10
BackgrounDRb background task runner and Application Wide Context Store
Friends- I''m happy to annouce the first alpa release of BackgrounDRb. This is a small framework for managing long running background tasks that allows for ajax progress bars and more. It also serves as an Application wide cache and context store for when you need something like sessions but shared between users and multiple backend processes like fcgi''s or mongrels.
2006 Apr 04
4
Maintaining and securing the "Perfect Rails/Debian/Lighttpd Stack"
Hi there I''m planning to build "The Perfect Rails/Debian/Lighttpd Stack", published by Ezra Zygmuntowicz and Sean Schertell at http://brainspl.at/rails_stack.html I''m wondering what sort of constant maintanance that setup would incur. What actions have be regularly performed to keep this setup healthy and secure under normal conditions? Alder
2006 Jun 25
4
Function/Method Execution Progress Bar
Hello, I want to create a progress bar for the exececution of a particular function. I found a solution at http://brainspl.at/articles/tag/background but one need to create a separate server that communicates the progress of a job. Is there anyways to change a global variable or so and have the user see the execution stage of the function? I tried playing with Thread but no success because
2005 Dec 22
3
How to specify SwitchTower SSH port
Hi ! Following Ezra's suggestions on http://brainspl.at/pages/perfect_vps, I changed the port sshd listens to. I'm trying to setup SwitchTower, and I don't know how to set the port. Where should that be configured ? I can't see anything in switchtower.rake, nor can I see it in the source. If this already exists, can anybody point me to documentation. If not, can I get any
2006 Jun 30
3
New release of ez-where plugin
Hello friends- There is a new release of the ez-where plugin. This plugin makes it easy to do complex ActiveRecord queries without writing any SQL. Ruby operators are mapped to SQL operators like so: foo == ''bar'' #=> ["foo = ?", ''bar''] foo =~ ''%bar'' #=> ["foo LIKE ?", ''%bar'']
2006 Apr 27
3
Books, other resources for new Rails VPS sysadmin
Hello! Since Virtual Private Server seems to be the only way to run Rails apps without problems, so in the future I will need to become a Linux sysadmin. I plan on using debian (as per Ezra''s instructions in <http:// brainspl.at/pages/perfect_vps>). Rails VPS sysadmin is not the same as general Linux sysadmin, since only webserver, db and email are of interest (and of
2006 Apr 26
3
Dead Simple Deployment
Friends- I have put up a small tutorial about my experimentations with mongrel clusters behind an HTTP load balancer with no front web server like lighty or apache. This little setup is extremely powerful for how easy it is to set up. I would love for more folks to experiment with this type of setup to expose any issues it may have as a production environment. I have had zero issues
2006 Feb 02
1
FYI lighttpd 1.4.9 has problems running with rails out-of-the-box
In case this helps anyone I recently finished setting up a Debian server closely following Ezra''s excellent guidance @ http://brainspl.at/rails_stack.html. I used newer libraries in some cases (and mysql 5.0) and everything worked great until the end when lighttpd wouldn''t start. I finally figured out that Lighty 1.4.9 has a problem working with rails out-of-the-box. See
2006 May 25
1
New BackgrounDRb release
Friends- There is a new release of BackgrounDRb. This time it is a full fledged rails plugin with generators and rake tasks thanks to Saimon Moore. Thanks Saimon! You can read all about it here on my blog: http://brainspl.at/articles/2006/05/25/backgroundrb-new-release The newest feature besides the much cleaner way to install and control the drb server is caching. You can now use
2006 Jan 31
11
ez_where plugin updated features.
Friends- I wanted to let people know that there is a new experimental release of this plugin. I would love feedback on syntax and features. There is now a full test suite with fixtures that covers all the available syntax. Look at the test suite for more syntax possibilities. There have been many additions since my last release. Fabien Atelier has been working on this with me and has
2009 Feb 10
3
clustering and load balancing Apache
Hi, I am new to clustering and loadbalancing in apache, What is best way of doing it? How do I do the clustering and what tools do I need to use? Do I have those tools, I use CentOS , Do i have any tools in CenOs which comes default in it? And how do I do apache load balancing? should I rely on apache forums or mailing list or is there any way or tool I can use in CentOS? Can any throw some vague
2006 Jun 30
0
Mongrel-users Digest, Vol 5, Issue 24
>> Can I change my vote to http://samugliestdog.com/Sam162edited.jpg yikes! how''d that get past my firewall? +1 On 6/30/06, mongrel-users-request at rubyforge.org <mongrel-users-request at rubyforge.org> wrote: > Send Mongrel-users mailing list submissions to > mongrel-users at rubyforge.org > > To subscribe or unsubscribe via the World Wide Web, visit
2006 Apr 12
4
rails stack on debian
I am putting a rails stack on a debian linux box. Ezra did a great job with his tutorial <http://brainspl.at/rails_stack.html> What I am in doubt is what is recommended / common practise to install stuff which is not availble yet with apt-get (eg. ruby 1.8.4, postgresql 8.1, lighttpd). the options I played with (=> and the conclusion): compiling from source (get source straight from
2007 Dec 18
3
Mongrel + Lighttpd
Hi guys, I''ve been chasing a problem in my web-stack: Lighttpd -> Mongrel -> Rails, and found a problem with the interaction of Lighttpd and Mongrel. If a request takes more than 5 seconds, Lighty will retry it - and then the requests / responses get mixed up in Lighty and it returns a bad response to the client. Not good. I''m convinced that the problem is
2007 May 08
5
mongrel_cluster 1.0.1.1 does not create /var/run/mongrel_cluster
Hi everyone, I am going crazy over here! :) I just want to be able to use --clean with my mongrel_rails cluster::start command. I''ve upgraded to mongrel_cluster 1.0.1.1 and mongrel_rails 1.0.1. my config file is in /etc/mongrel_rails/config.yml and contains: --- log_file: log/mongrel.log port: 8000 pid_file: /var/run/mongrel_cluster/mongrel.pid servers: 2 address: 127.0.0.1 environment:
2005 Dec 28
3
problems with lighty on linux
I''m trying to get our app running on Lighty... I followed Ezra''s instructions: http://brainspl.at/pages/rails_stack... Currently the app runs fine with webrick, but with lighty I get 404 errors on everything. I found if I don''t edit the lighttpd.conf file to use absolute paths, it works fine. But this is not good for production because I need to run it with the -d