yingh0ng commented on issue #17156:
URL: 
https://github.com/apache/dolphinscheduler/issues/17156#issuecomment-2942499450

   > > [@ruanwenjun](https://github.com/ruanwenjun) Hello, I have a design 
question. Why do ITaskExecutor and IWorkflowExecutionRunnable each require 
their own EventBus?
   > > In systems I've observed, a component typically uses a single event bus. 
This approach is simpler to manage and can leverage message sharding for 
scalability when performance needs arise.
   > > Could you advise on which design is more appropriate in this case?
   > 
   > Since TaskExecutor is a component at worker, IWorkflowExecutionRunnable 
and ITaskExecutionRunnable are components at master.
   
   I`m sorry. I mean, why every `WorkflowExecuteContext` has a 
`WorkflowEventBus` instance instead of share one `WorkflowEventBus` instance.


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