# Apache 1.3 + remote FastCGI balancing

**URL:** <https://www.ruby-forum.com/t/apache-1-3-remote-fastcgi-balancing/57616>\
**Category:** Rails\
**Created:** [April 12, 2006, 2:38pm UTC](https://www.ruby-forum.com/t/apache-1-3-remote-fastcgi-balancing/57616 "2006-04-12T14:38:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![waddilove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Post date:** [April 12, 2006, 2:38pm UTC](https://www.ruby-forum.com/t/apache-1-3-remote-fastcgi-balancing/57616/1 "2006-04-12T14:38:02Z")

</div>

Cheers,

As I have a lot of stability problems with Lighttpd + FastCGI-Cluster I  
wanted to test Apache 1.3 as most of the “big” sites like 43people or  
BaseCamp run on it.

Every example I find only talks about lokal FastCGI processes and not  
about remote ones and explains how the requests are balanced.

Are there any good examples out there and can Apache1.3/mod\_fastcgi load  
balance requests?

Thanks,  
Jonathan

---

<div class="post-metadata">

**Author:** ![waddilove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Post date:** [April 13, 2006, 10:56am UTC](https://www.ruby-forum.com/t/apache-1-3-remote-fastcgi-balancing/57616/2 "2006-04-13T10:56:47Z")

</div>

Nobody on Apache and multiple FastCGI processes?

---

<div class="post-metadata">

**Author:** ![waddilove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Post date:** [April 14, 2006, 8:25pm UTC](https://www.ruby-forum.com/t/apache-1-3-remote-fastcgi-balancing/57616/3 "2006-04-14T20:25:01Z")

</div>

i cant seem to get a simple answer either as to how you deploy a real 3  
tier  
infrastructure with rails. It seems fairly limited right now since  
fast\_cgi  
needs to run with apache. What rails needs is what mod\_jk is for  
tomcat.

---

<div class="post-metadata">

**Author:** ![waddilove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Post date:** [April 14, 2006, 11:57pm UTC](https://www.ruby-forum.com/t/apache-1-3-remote-fastcgi-balancing/57616/4 "2006-04-14T23:57:54Z")

</div>

Adam D. wrote:

> i cant seem to get a simple answer either as to how you deploy a real 3  
> tier infrastructure with rails. It seems fairly limited right now since  
> fast\_cgi needs to run with apache. What rails needs is what mod\_jk is  
> for tomcat.

This is not true, with Lighttpd and its mod\_fastcgi you can get a real  
three tier infrastructure. Lighttpd serves as the web server, fastcgi as  
the appserver (on local or remote machines) and you have the DB machine.

See also  
[http://poocs.net/articles/2006/03/13/the-adventures-of-scaling-stage-1](http://poocs.net/articles/2006/03/13/the-adventures-of-scaling-stage-1)

I’m asking for more info on the same thing with Apache and remote  
fastcgi processes.

Jonathan
