You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Sivaguru Kannan (JIRA)" <ji...@apache.org> on 2016/05/19 19:59:12 UTC
[jira] [Created] (STORM-1852) Investigate using a
ScheduledThreadPoolExecutor instead of a Timer+Executor in Disruptor Queue
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)