Sivaguru Kannan created STORM-1852:
--------------------------------------

             Summary: Investigate using a ScheduledThreadPoolExecutor instead 
of a Timer+Executor in Disruptor Queue
                 Key: STORM-1852
                 URL: https://issues.apache.org/jira/browse/STORM-1852
             Project: Apache Storm
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Sivaguru Kannan


We use a DisruptorQueue with a Timer and a thread pool executor to schedule 
tasks periodically. 

https://github.com/apache/storm/blob/master/storm-core/src/jvm/org/apache/storm/utils/DisruptorQueue.java

This could potentially be replaced with a Scheduled Thread Pool executor to 
perform the job in a more first class way, 
http://stackoverflow.com/questions/409932/java-timer-vs-executorservice.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to