search for: proxy_balancer

Displaying 13 results from an estimated 13 matches for "proxy_balancer".

2007 Nov 07
1
merb/sequel mutex on or off? proxy_balancer or no?
Just a quick question to those of you using merb and sequel or datamapper. How do you setup your merb app? For example: merb -X off -c 5, then run mod_proxy_balancer or nginx to load balance between the 5 (or whatever #) of merb nodes? merb -X off -d, then simply use something like proxypass merb -c 5, keep the mutex lock and cluster it haproxy, swiftiply, evented mongrel...... What I''m curious about is if you are using sequel, do you typically re...
2007 Dec 13
1
mod_proxy_balancer mod_rewrite permission issue
I started the mongrel_cluster and tried to use the RewriteRule to forward the requests to proxy_balancer just as the http://mongrel.rubyforge.org/docs/apache.html said. When I visited my site from a remote computer, I always got the error messages "Forbidden, You don''t have permission to access / on this server." Finally, I added the "Allow from all" property (in the vhos...
2007 Dec 07
1
Ruby on Rails applications with Mongrel cluster
Hello All I am trying to install 5 mongrel servers against my app. i am using Vista. I found this article on a website.. but am stuck on one point. here are some notes from article: Now enable the needed modules (url rewriting, proxy, proxy_balancer e proxy_http) by editing the httpd.conf file (under c: \Apache_Software_Foundation\Apache2.2\conf, if you installed Apache in its standard path). You just need to uncomment the following lines (remove the #): LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_prox...
2006 Sep 26
5
Expert feedback needed
Hello list, Some time ago I was looking for apache (as non balanced proxy) + mongrel configurations. Almost everybody seemed to use similar approaches (one of these could be found @ mongrel.rubygorge.org docs) with mod_rewrite. I don''t use proxy_balancer because I don''t need it at the moment (my site has pretty low traffic). This is apache configuration that I''m using at the moment. It''s tested as Zed suggested (mr start -e production -B) and it looks like all static files are served by apache and dynamic ones be mongrel....
2006 Dec 29
3
production-izing a popular site
...sitors a day (plain ole'' browser requests) - plus probably ~ 40k uniques to feeds. Assume this site is 90% read like most of the web, so the traffic looks like your typical news or portal site. There are two web boxes behind a hardware load balancer, each doing apache 2.2.3 -> mongrel_proxy_balancer -> mongrel clusters. One db machine, but that shouldn''t be stressed at all due to heavy caching of the content. Where to being with performance testing something like this? How many mongrels per web box to start with? Any comparable sites in production to compare it to (Ezra?) than...
2006 Jul 26
0
help with best practice connection for apache 1.3.x and rails
...nd I was doing some research for the best way to use rails in this environment. The system consists of four webservers behind a hardware load-balancer so I don''t want to/can''t balance on the individual machines. I know some of the methods to setup a new server include apache 2.2/proxy_balancer/mongrel or lighttpd/fcgi, but I can''t do a new install or upgrade a the current servers because of legacy code. My research has show that you can use SCGI or mod_fcgi. I was wondering which of these is currently considered the better method for stability, performance, etc. Also, is there...
2007 Jun 06
9
"not authorized" when testing mongrel support
Hi, We''re trying to follow the instructions at http://reductivelabs.com/trac/puppet/wiki/UsingMongrel (Just using a single puppetmaster/mongrel instance and plain mod_proxy for now, instead of balancer one) We got past the "Server is not a class" error by modifying mongrel.rb We also kind-of got past the: /opt/bin/puppetmasterd:293: undefined method `daemonize'' for
2006 Jul 16
6
Apache2.2 + Mongrel: what do you think about these perfs?
...pache2.2. Here are my configure options: ./configure --prefix=/usr/local/apache2 --enable-modules=''alias asis auth_basic auth_digest authn_file authz_user autoindex access cgi cgid charset_lite dir env http imagemap include log_config mime negotiation setenvif status deflate info proxy proxy_balancer rewrite so headers'' Not too much, and static only... I don''t see how I could improve this... Now, here is my vhost config: <VirtualHost *> ServerName dedibox DocumentRoot /home/noe/cukv3/public <Directory "/home/noe/cukv3/public"> Options Foll...
2006 May 11
5
Recommendations for Apache 2 with mod_fcgid
Hi, Have been pulling out my hair for the last few days wondering what I''m going to deploy my site onto. I currently have FreeBSD 4.7, Apache 1.3.3, PHP 4 and MySQL 4 running a year-old PHP site. Dated stuff I know! The new version of the site will be entirely Ruby on Rails, and I am wondering what order I should be doing things in terms of upgrades and installation. I want to be
2006 Nov 13
5
apache -> pen -> mongrel cluster
Hi everyone, Recently, I''ve been reading about different deployment environments for rails and mongrel. One configuration I''ve started seeing is apache -> pen -> mongrel cluster. See http://errtheblog.com/post/35 as an example. Can someone explain to me the benefit of using Apache and Pen as opposed to either using apache as a load balancer or pen by itself?
2006 Apr 12
5
Production deployment speed "wakeup" issue
The deployment scenario... Apache2 on shared host, proxying to lighttpd, which has 3 external fcgis running on localhost. The fcgis are managed by spinner/spawner. We''re noticing a definite speed issue on "first requests" to this site. For example: * Hit the site a few times, paying no attention to load time * Wait x period of time (haven''t quite narrowed this
2007 Mar 10
5
Mongrel Hangs After Idle Period
I had posted a thread couple of weeks ago whereby mongrel just mysteriously stops interacting with my application after an idle period...usually less than 8 hours. http://rubyforge.org/pipermail/mongrel-users/2007-February/002908.html I had hoped this would go away after a few upgrades but to know avail. Interestingly, the process does not die...it still accepts HTTP requests but does not
2006 Dec 29
9
Error : No protocol handler was valid for the URL...
...protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. I googled this error and I found that I have to load 3 differents modules, so I typed : a2enmod proxy a2enmod proxy_http a2enmod proxy_balancer each time I get this return : This module is already enabled! So I have no idea to what can i do ... This is my config : ----------------------- cat /etc/apache2/mods-enabled/proxy.conf <IfModule mod_proxy.c> #turning ProxyRequests on and allowing proxying from all may allow...