# How to make RoR load faster

**URL:** <https://www.ruby-forum.com/t/how-to-make-ror-load-faster/132016>\
**Category:** Deployment\
**Created:** [March 15, 2008, 12:44pm UTC](https://www.ruby-forum.com/t/how-to-make-ror-load-faster/132016 "2008-03-15T12:44:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sujoykroy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@sujoykroy](https://www.ruby-forum.com/u/sujoykroy)\
**Post date:** [March 15, 2008, 12:44pm UTC](https://www.ruby-forum.com/t/how-to-make-ror-load-faster/132016/1 "2008-03-15T12:44:00Z")

</div>

Hi,

I am working on a RoR eCommerce application built on Substruct.  
The website runs on shared hosting using Apache with FastCGI with idle  
time 5 minutes.

The problem is Substruct takes time to load first time then it runs  
smoother.  
Now, when visitor is opening a page, it is taking much time to render if  
within 5 minutes another visitor had not open up a page.

Since, it is eCommerce site, if a visitor get the first page after more  
than 30 seconds, it will be sure setback.

I am willing to know what are the possible options to overcome this,  
considering that,  
1)Hosting would not increase idle time.  
2)Hosting do provide mongrel server.

Regards  
SR

---

<div class="post-metadata">

**Author:** ![sujoykroy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@sujoykroy](https://www.ruby-forum.com/u/sujoykroy)\
**Post date:** [March 15, 2008, 4:43pm UTC](https://www.ruby-forum.com/t/how-to-make-ror-load-faster/132016/2 "2008-03-15T16:43:36Z")

</div>

On Sat, Mar 15, 2008 at 5:44 AM, Sujoy Roy  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I am willing to know what are the possible options to overcome this,

Get off shared hosting and get yourself a $20 VPS in some place like  
RailsMachine. That is by far the best option, in my humble opinion.  
Failing that, you could try to set up something that sends an HTTP  
request to your Rails app every 3 minutes.

–  
Alexey V.  
CruiseControl.rb [[http://cruisecontrolrb.thoughtworks.com](http://cruisecontrolrb.thoughtworks.com)]  
RubyWorks [[http://rubyworks.thoughtworks.com](http://rubyworks.thoughtworks.com)]

---

<div class="post-metadata">

**Author:** ![sujoykroy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@sujoykroy](https://www.ruby-forum.com/u/sujoykroy)\
**Post date:** [March 16, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/how-to-make-ror-load-faster/132016/3 "2008-03-16T16:06:07Z")

</div>

Thanks Alexy.

> > Get off shared hosting and get yourself a $20 VPS in some place like  
> > RailsMachine.

I will definitely try that, if my client agrees.

> Failing that, you could try to set up something that sends an HTTP  
> request to your Rails app every 3 minutes.

This is pretty interesting idea. I google a bit and found one  
[http://gabrito.com/post/keeping-rails-running-at-dreamhost-part-2](http://gabrito.com/post/keeping-rails-running-at-dreamhost-part-2)
