# Mongrel vs Apache with Mongrel

**URL:** <https://www.ruby-forum.com/t/mongrel-vs-apache-with-mongrel/103210>\
**Category:** Rails\
**Created:** [May 2, 2007, 11:44pm UTC](https://www.ruby-forum.com/t/mongrel-vs-apache-with-mongrel/103210 "2007-05-02T23:44:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![giorgio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/cab0a1/32.png) [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Post date:** [May 2, 2007, 11:44pm UTC](https://www.ruby-forum.com/t/mongrel-vs-apache-with-mongrel/103210/1 "2007-05-02T23:44:23Z")

</div>

Hi,

Is there any point in running Apache in front of Mongrel if you are  
not running a Mongrel Cluster?

I have a small app with only a few users and currently just using  
standalone Mongrel. I cant really see any advantage of putting it  
behind Apache.

Am I missing something?

Cheers  
Giorgio

---

<div class="post-metadata">

**Author:** ![giorgio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/cab0a1/32.png) [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Post date:** [May 3, 2007, 12:06am UTC](https://www.ruby-forum.com/t/mongrel-vs-apache-with-mongrel/103210/2 "2007-05-03T00:06:30Z")

</div>

> Is there any point in running Apache in front of Mongrel if you are  
> not running a Mongrel Cluster?
> 
> I have a small app with only a few users and currently just using  
> standalone Mongrel. I cant really see any advantage of putting it  
> behind Apache.
> 
> Am I missing something?

Nope. If you’re traffic isn’t high enough to warrant having apache  
serve  
the static files, there’s not much reason to do this.

But without a cluster you can only serve _one_ rails request at a time.  
Again, if traffic isn’t high enough this might not be a problem either.

But say your small app is a video archive… one user uploading a video  
will block all the other rails requests.

But if it’s working out for you, there’s no reason to change it now.

---

<div class="post-metadata">

**Author:** ![giorgio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/cab0a1/32.png) [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Post date:** [May 3, 2007, 4:23am UTC](https://www.ruby-forum.com/t/mongrel-vs-apache-with-mongrel/103210/3 "2007-05-03T04:23:43Z")

</div>

Oh, that’s quite nice to know. My current little project is only ever  
going  
to have one user at a time, because it’s running on a small intranet, so  
it’s good that Mongrel will do the job just fine. I might have to have  
non-programmers starting it up some of the time, and my exe startup  
program  
(using NSIS) will be much easier to write.
