I have an application demo coming up soon and I need my development environment to be a bit faster than it currently is. I'm running a Rails 3.2.19 app with Ruby 1.9.3, Postgres, and Anvil/Pow to serve on a Apple Mac Mini (Core i5/4g ram) and need to be able to demo the application with decent response times.
In production, the app runs very fast but in development it's more sluggish and at times if I let the app sit idle and hit another URL it takes up to a minute for the app to spin up again.
I'm wondering if it's a problem with Pow and that I should instead just run a local rails s
instance to spin up the environment. The main issue I'm seeing is that when the app sits idle for a while (let's say an hour or so) when I go to hit a url or resource within the app it can take up to a minute for the app to respond again.
Is there something I'm missing here that would allow me to prevent the latency?