StefanRRichter commented on issue #8431: [FLINK-12480] Introduce mailbox to 
StreamTask main-loop
URL: https://github.com/apache/flink/pull/8431#issuecomment-492334593
 
 
   @kezhuw the letters will always be just `Runnable`, and right now there are 
two cases: checkpoint trigger and processing timers. Stream elements are 
processed as part of the default action, they don't go through the mailbox for 
performance reasons. Imagine the default method as the often-called, hot action 
of the task. The letters are non-frequent request from other threads to run 
some code for them in the task's main thread to avoid concurrency. Thats all.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to