Helllo John, Thanks for the detailed answer. I wonder if Heroku swaps the rails server if I buy a dedicated plan(i.e. Ronin and above). How do I ensure DMStorage shares the same DB configuration as the rails application? What is the performance implications of running the worker and server in the same process? Can I run multiple servers? (If I run multiple Dyno's every node might run a server, should this be an issue?) Is there a rails application that I can refer to?
Cheers, -kb On May 8, 8:05 pm, John Mettraux <[email protected]> wrote: > On Sun, May 9, 2010 at 11:53 AM, John Mettraux <[email protected]> wrote: > > > When such schedules are involved, you can't trust Heroku. After a period of > > inactivity, the process running your app and the ruote worker inside it > > will shutdown until a new request comes and the process is brought back > > alive (a new process that is). At this point schedules will wake up. > > From what I observed, a Heroku app is stopped one 1 hour after the last > request. > > http://severe-fog-71.heroku.com/ > > This sample app contains a thread that wakes up once per minute. After 1 hour > the app gets shut down (and the thread with it). > > This sample app 'slept' from February to today. > > Best regards, > > -- > John Mettraux - http://jmettraux.wordpress.com > > -- > you received this message because you are subscribed to the "ruote users" > group. > to post : send email to [email protected] > to unsubscribe : send email to [email protected] > more options :http://groups.google.com/group/openwferu-users?hl=en -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
