Displaying 20 results from an estimated 5000 matches similar to: "Apache: mod_balancer vs. mod_proxy_balancer"
2006 Apr 21
4
Scaling Rails with Apache 2.2, mod_proxy_balancer and Mongrel
Cheers,
I''ve just published a blog post about scaling Rails with Apache 2.2,
mod_proxy_balancer and Mongrel. This way you do not need another proxy
server or load balancer for Mongrel. Just use Apache 2.2 and mod_proxy
balancer.
http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-apache-2-2-mod_proxy_balancer-and-mongrel
Jonathan
--
Jonathan Weiss
2007 Sep 13
5
Apache mod_proxy_balancer hang on high traffic hour
more info
just 1 server
webserver + appserver + dbserver
On 9/14/07, Yan Meng <dreamwords at gmail.com> wrote:
>
> Hi, Guys
>
> Our team is running a web2.0 finance site in China
>
> http://www.caibangzi.com/
>
> We use APACHE + mod_proxy_balancer + mongrel to deploy our application, it
> workd super in the past few monthes.
>
> However, just from last
2007 Feb 26
2
Apache+mod_proxy_balancer+Mongrel+Mephisto, Apache kills CPU
Our Mephisto install kills Mongrels and causes Apache to pound the
CPU. This started when we moved to Apache+mod_proxy_balancer+Mongrel.
Here''s what we know:
The following things are working OK, except when used in the
combination listed above: mongrel, mongrel_rails, MySQL, Apache,
mod_proxy_balancer. We believe these are all OK because we moved five
other Rails apps to this
2007 Aug 26
5
Issues with mod_proxy/mod_proxy_balancer and my ded. server host
Hello list,
I wonder if someone could help me understand the following:
I''ve got a managed dedicated server with GoDaddy. Until now, I''ve only
hosted PHP applications there. I now need to set it up to host my new
beloved Rails application. I asked them to set up apache with
mod_proxy_balancer for the mongrel cluster, however, here''s what they told
me:
*Unfortunately,
2007 Mar 12
1
Basic authentication with Apache and Mongrel
I recently moved an app. from lighttpd + fastcgi to apache 2.2 +
mod_proxy_balancer + Mongrel. On lighttpd, I was using basic
authentication with a configuration like this:
auth.backend = "htpasswd"
auth.backend.htpasswd.userfile = "/path/to/htpasswd"
auth.require = ("/" => ("method" => "basic", "realm" => "My
2007 Feb 27
11
Mongrel performing only half as fast as Apache?
I''m trying to do some initial benchmarking of our setup, mainly just to
establish baselines. I''m essentially using the process Zed outlines in a
previous message:
http://rubyforge.org/pipermail/mongrel-users/2006-May/000200.html
What I''m running into is that Mongrel appears only half as fast as Apache
when serving a small static HTML file. If I then add in Apache with
2007 Mar 13
1
Fwd: Re: Basic authentication with Apache and Mongrel
There is a big difference if you are not running a pure rails site. I am doing auth apache-side because I serve static content, perl scripts via cgi and feed the mongrel pack from Apache.
The REMOTE_USER variable value can be passed to rails using a technique described deep down in one of the informative pieces on the Mongrel website.
Bill
On Mon, 12 Mar 2007 17:54:07 -0700, Matte Edens wrote:
2006 Jul 27
3
[somewhat OT] Apache config for Rails + ColdFusion + PHP
Our group has several web apps developed in ColdFusion, PHP, and Rails. The
ColdFusion and PHP apps are on an older server, and the Rails apps on a new
server. Ideally, we''d like them all to share the same server.
Our current setup for the Rails server is Apache2.2 with mod_proxy_balancer
and mongrel_cluster. We''d like to have specific directories be processed
and served by
2007 Jan 02
10
problems with apache 2.2 proxying to mongrel cluster
Hi all,
I''ve been having problems with the apache 2.2-mod_proxy_balancer-
mongrel setup.
My setup is:
CentOS 4.3
apache 2.2.3 (compiled from source) with mod_proxy_balancer
mysql 4.1
ruby 1.8.4
mongrel 0.3.14 (I know I need to update but I think this problem is
independent of the mongrel version)
mongrel_cluster 0.2.0
rails_machine 0.1.1
I have apache setup as per Coda''s
2007 Sep 17
0
Apache mod_proxy_balancer hang on high traffic
Try nginx + evented mongrel instead of apache + normal Mongrel. Maybe :)
-Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070917/c6f6f43a/attachment.html
2007 Jul 19
0
[mongrel_cluster] hosting multiple web sites via apache mod_proxy_balancer
I''m newbie to mongrel,
I''m not able to config mongrel_cluster in order to host multiple web sites added/remove as apache VirtualHost.
I followed codahale http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/
mixed with Wiki Radiant (I use Radiant as a rails apps to be deployed, 1 domain 1 radiant sites with its own document tree
2006 Jul 03
2
Strange local requests with Apache 2.2, mod_proxy_balancer, and Mongrel 0.3.13.2
Hello all,
My Rails app is logging some rather strange requests:
Processing StoreController#index (for ::1 at 2006-07-03 13:18:48) [GET]
Session ID: ed5e2a0e5b4b9290835a969cdd749e6e
Parameters: {"action"=>"index", "controller"=>"store"}
Completed in 0.08174 (12 reqs/sec) | Rendering: 0.07951 (97%) | DB:
0.00000 (0%) | 200 OK [http://127.0.0.1/]
2006 Aug 29
15
Setup with Apache 2.2 proxy balancer : timeout during uploads
Hi all,
I encounter timeout errors during file uploads in my Rails application.
I think the problem may be in the Mongrel configuration. Here is my setup:
* Load balancer (Cisco CSM, my provider''s Catalyst 6509)
* Apache 2.2.3 with mod_proxy_balancer
* Mongrel 0.3.13.3
* Rails 1.1.6
* Ruby 1.8.4
* MySQL 5.0.22
* file_column
I host an application in which users may upload medium files
2006 Aug 16
1
Debian Apache 2.2 package available on experimental
Finally!
See
http://people.debian.org/~terpstra/message/20060815.194742.e85b8143.en.html
For all those Debianites wanting to try mod_proxy_balancer with Mongrel
--
Neil Wilson (neil at aldur.co.uk)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060816/6fcee72b/attachment.html
2006 Sep 20
3
Spinning mongrels and SIGUSR1
First off: Our clusters are LVS balanced Apache 2.2.3 +
mod_proxy_balancer + gem mongrel 0.3.13.3 / mongrel_cluster 0.2 +
memcached / gem memcache_client + gem rails 1.1.6 on debian boxen, and a
pgcluster backend.
On 2 of our deployed clusters, we are getting the "spinning mongrel"
problem. As the clusters are very low volume right now, it takes days to
collect a spinner, making it
2006 Oct 10
6
"MySQL server has gone away" with Apache 2.2 + Mongrel cluster
Hi
I just setup a server (Apache 2.2, mod_proxy_balancer, mongrel_cluster) with
2 Rails applications according to this excellent Post:
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you
Everythings works great, but after a long inactive period (say one night),
the first 3 connections allways get an Error 500
Excerpt from production.log:
...
2006 Jul 17
3
Mongrel with LocalDirector - static content?
Hello everyone-
I am considering using Mongrel and I have read this list pretty
extensively. I know that the Apache/mod_proxy_balancer/mongrel
approach is the preferred one right now, with Apache serving the
static content via mod_rewrite and such. However, in my hardware
arsenal, I already have an old and trusty LocalDirector, which I
would be inclined to at least try first as a
2010 Apr 10
5
Rendering a Partial as an Alternative
Suppose that I want to have a block of default content within a
template that is replaced with the content of a specific partial only
if that partial exists. Obviously there is the brute force approach
of simply rendering the default content unless the relevant partial
file exists in which case the relevant partial is rendered instead. I
suspect that there may be a more elegant way to skin this
2006 Aug 10
7
Mongrel proxied through Apache won''t serve images
I followed the tutorial from Coda Hale[1] on setting up
Mongrel/Mongrel_cluster and Apache to move away from my current
Apache+FastCGI setup.
The mongrels are all working fine, and Apache is proxying all dynamic
requests through to the cluster using proxy balance.
Strange thing is now, that all my images in public/images aren''t loading
at all, if I access them directly I just get a
2009 Sep 14
5
Expecting field value and getting record
The following short console session illustrates the problem:
Loading development environment (Rails 2.3.2)
>> topic=BlogTopic.find(4)
=> #<BlogTopic id: 4, parent: 2, topic: "Topic Four", created_at:
"2009-07-13 21:31:22", updated_at: "2009-09-14 00:37:29">
>> topic.inspect
=> "#<BlogTopic id: 4, parent: 2, topic: \"Topic