[ 
http://opensource.atlassian.com/projects/roller/browse/ROL-1294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

linda skrocki updated ROL-1294:
-------------------------------

    Fix Version/s:     (was: 3.3)
                   4.0

> Task scheduling is inconsistent due to use of java.util.Timer
> -------------------------------------------------------------
>
>                 Key: ROL-1294
>                 URL: 
> http://opensource.atlassian.com/projects/roller/browse/ROL-1294
>             Project: Roller
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: linda skrocki
>            Assignee: Allen Gilliland
>             Fix For: 4.0
>
>
> Roller's ThreadManagerImpl class uses a java.util.Timer class to schedule and 
> run all of it's periodic tasks, however, this approach is not well suited for 
> Roller's specific tasks.  As detailed in the javadoc for the java.util.Timer 
> class, long running tasks can backup in a timer and cause the scheduling to 
> get off track ...
> "Corresponding to each Timer object is a single background thread that is 
> used to execute all of the timer's tasks, sequentially. Timer tasks should 
> complete quickly. If a timer task takes excessive time to complete, it "hogs" 
> the timer's task execution thread. This can, in turn, delay the execution of 
> subsequent tasks, which may "bunch up" and execute in rapid succession when 
> (and if) the offending task finally completes." 
> To ensure more consistent behavior for the running of scheduled tasks we need 
> to improve the implementation of the task scheduler in the ThreadManagerImpl.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to