You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Shekhar Sharma (Jira)" <ji...@apache.org> on 2020/10/12 21:18:00 UTC

[jira] [Created] (SAMZA-2595) Monitors executed by separate SechduledExecutorService

Shekhar Sharma created SAMZA-2595:
-------------------------------------

             Summary: Monitors executed by separate SechduledExecutorService
                 Key: SAMZA-2595
                 URL: https://issues.apache.org/jira/browse/SAMZA-2595
             Project: Samza
          Issue Type: Improvement
            Reporter: Shekhar Sharma


Monitors are currently scheduled by same ScheduledExecutorService with a pool size of 1. This means that if a monitor takes too long to return, the other monitors may not be scheduled and executed as per it's scheduled interval. 

Suggested Solution: We create a new ScheduledExecutorService for each monitor. This will allow every monitor to be executed concurrently. A monitor that takes a long time to return will only affect it's own future executions and not the other monitors. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)