Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2595

Monitors executed by separate SechduledExecutorService

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.6
    • None
    • None

    Description

      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. 

      Attachments

        Activity

          People

            shekhars-li Shekhar Sharma
            shekhars-li Shekhar Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h