Heroku put you app into a sleep mode when it's no accessed in a
certain amount of time. Sometimes when no one visited you application in
the last several minutes and whoever access it, the app will bootstrap,
this process can take several minutes. But this only occurs in the first
request, subsequents request should run fast.

[]'s
Paulo Poiati

blog.paulopoiati.com


On Tue, Jan 31, 2012 at 3:04 PM, Rodrigo Ruiz <rodrigo.ru...@gmail.com>wrote:

> That is weird, in the logs it looks like everything is working smoothly,
> but when I try to access it, takes me about 5 seconds.
>
>
> On Tue, Jan 31, 2012 at 2:59 PM, Javier Quarite <jquari...@gmail.com>wrote:
>
>>
>>
>> On Tue, Jan 31, 2012 at 11:56 AM, Rodrigo Ruiz 
>> <rodrigo.ru...@gmail.com>wrote:
>>
>>> Hi, I just deployed a simple crud (Rails 3.1) to heroku, and it takes
>>> more than 5 seconds to load the index page.
>>>
>>> Does anyone know how to solve this?
>>>
>>> Ps.: locally it takes less than 500 ms, and have more data at the
>>> database.
>>>
>>> Thanks in advance.
>>>
>>
>> Have you tried (in console)
>>
>> $ heroku logs
>>
>> It could help, but I have the same problem... sometimes. After that the
>> application works fine
>>
>>
>> Javier Q.
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to rubyonrails-talk@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rubyonrails-talk+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to