Followup questions relating to question #2: 2.1) In the scenario addressed in question 2 below, would the two tasks run in the same dyno, or does Heroku spin up another dyno for the second task? I thought I had read that the scheduled task would allocate dynos from the pool of dynos allocated for web and worker processes -- are you saying that scheduled jobs always result in additional dynos being spun up?
2.2) Besides the obvious performance issues of the two simultaneously-scheduled tasks competing for access to the database (and the possible locking deadlocks that could occur), should I expect to see performance issues with two scheduled tasks running simultaneously (e.g. will the two scheduled tasks be competing for CPU cycles as though they were running in the same dyno)? On Mar 8, 2012, at 1:04 PM, Mark Pundsack wrote: > On Mar 8, 2012, at 1:00 PM, Jack R-G wrote: > >> 1) The dashboard seems to offer only 30-minute increments on daily process >> scheduling times. Is there a way to schedule for times not on the half-hour >> (e.g. 8:15 UTC)? > > Sorry, no. > >> 2) What happens if a task scheduled to start at 8:00 is still running at >> 8:30 and there is a task scheduled for 8:30? If you are running the minimal >> (one-dyno) configuration, what will happen? If in this situation Heroku >> will not execute the two tasks concurrently, will Heroku Scheduler start the >> 8:30 task when the 8:00 task completes, or will it simply bypass the 8:30 >> task? > > Scheduler will start the second task at 8:30, regardless whether the first > task has finished or not. If each task takes a long time, this will result in > a LOT of dyno hour usage. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
