# Mod\_ruby questions

**URL:** <https://www.ruby-forum.com/t/mod-ruby-questions/108876>\
**Category:** Ruby\
**Created:** [July 8, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/mod-ruby-questions/108876 "2007-07-08T17:26:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Travis\_D\_Warlick\_Jr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e9bcb4/32.png) [@Travis\_D\_Warlick\_Jr](https://www.ruby-forum.com/u/Travis_D_Warlick_Jr)\
**Post date:** [July 8, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/mod-ruby-questions/108876/1 "2007-07-08T17:26:46Z")

</div>

I’m looking into mod\_ruby because the Apache+Mongrel combination that  
I’m currently using seems to have big overhead and somewhat slow, but I  
don’t quite understand a few things:

1. If I move from the Apache+Mongrel combination to Apache+mod\_ruby,  
will my overhead decrease? Significantly? (definitions are up for  
debate)

2. Will I have to change any Ruby code?

3. In regards to the “shared interpreter” problem: I run multiple Rails  
apps on the same server; however, does this mean if I define constant A  
in one app and then also in another app I will get errors and/or it will  
be overriden?

Let me know if I need to clarify any question. Also, feel free to voice  
your opinions on the “best” Rails webserver setup (for shared hosting  
environments).
