yunfengzhou-hub opened a new pull request, #147:
URL: https://github.com/apache/flink-ml/pull/147

   ## What is the purpose of the change
   
   Improve the performance of Flink ML iteration mechanism by reducing the 
overhead on HeadOperator.
   
   While #144 has reduced the overhead brought by `HeadOperator.endInput()`, it 
is discovered that the implementation has only reduced the overhead of `Mail`s 
related to feedback edge. For the other mails, they still need to wait until 
timeout before they are able to be processed, which is equivalent to 
`Thread.sleep(timeout)`. Thus we need to modify the implementation in #144 to 
reduce the overhead for all mails the `HeadOperator` would receive.
   
   
   ## Brief change log
   - Replace the lock and condition used in 
`HeadOperator.MailboxExecutorWithYieldTimeout` with a timer to schedule the 
timeout event.
   
   ## Does this pull request potentially affect one of the following parts:
   - Dependencies (does it add or upgrade a dependency): (no)
   - The public API, i.e., is any changed class annotated with 
@public(Evolving): (no)
   - Does this pull request introduce a new feature? (no)
   - If yes, how is the feature documented? (N/A)


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to