You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Bharath Kumarasubramanian (JIRA)" <ji...@apache.org> on 2017/08/21 22:53:00 UTC

[jira] [Created] (SAMZA-1404) Add warning in case of potential process starvation due to longer window method

Bharath Kumarasubramanian created SAMZA-1404:
------------------------------------------------

             Summary: Add warning in case of potential process starvation due to longer window method
                 Key: SAMZA-1404
                 URL: https://issues.apache.org/jira/browse/SAMZA-1404
             Project: Samza
          Issue Type: Bug
            Reporter: Bharath Kumarasubramanian
            Assignee: Bharath Kumarasubramanian


Samza supports two types of run loop - synchronous and asynchronous. Fairness is guaranteed in synchronous run loop where commit, window, process gets called in round robin fashion. The asynchronous run loop has the potential for starvation if we have window trigger interval <<< time taken to execute code within window method.

We need to warn users about this potential starvation and fix the guarantee between window, process, commit methods in AsyncRunLoop.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)