You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jagadish (JIRA)" <ji...@apache.org> on 2018/04/04 18:44:00 UTC
[jira] [Created] (SAMZA-1635) Usage of AsyncRunLoop with threadpool
size = 1 results in slowness
Jagadish created SAMZA-1635:
-------------------------------
Summary: Usage of AsyncRunLoop with threadpool size = 1 results in slowness
Key: SAMZA-1635
URL: https://issues.apache.org/jira/browse/SAMZA-1635
Project: Samza
Issue Type: Bug
Reporter: Jagadish
Assignee: Xinyu Liu
When using a threadpool of size one with Samza's AsyncRunLoop, a lot of process-time is wasted in simply submitting tasks to the hand-off queue in the executor. We should evaluate if there are actual use-cases of using AsyncRunLoop with a single-threaded executor. If we determine that there are none, we should fallback to the sync-run-loop instead. Additionally, it would be nice to warn users when they use a single-threaded executor + AsyncRunLoop
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)