Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/16291
  
    > I think that will be an over-kill. Having a separate thread per listener 
simplifies the design. 
    
    I don't think it's overkill, and it wouldn't really be that much of a 
change from your existing design. It also serves as a way of controlling how 
much extra memory you'll need for these things, since right now each listener 
would incur in its own thread + message queue.
    
    e.g. you could just have a tagging interface (if listener implements "X" 
then it gets its own dedicated dispatch thread, or if you want to get fancy, 
you could also define a "group" so that listener in the same group share a 
dispatch thread).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to