SbloodyS commented on issue #3905:
URL: 
https://github.com/apache/incubator-streampark/issues/3905#issuecomment-2242243134

   > As I understand, `responsible for task distribution and task worker 
selection functions.` means workers call `fetch task` rest api periodically, 
right?
   > 
   > If so, `task distribution and task worker selection` is a part of API 
responsibilities.
   > 
   > Please correct me if any understanding is wrong, thanks~
   
   The application submission context includes `API submitted application 
information` and `WorkerLoadBalancer` select worker's ip/hostname result. `API 
submitted application information` is part of `API` responsibilities. And 
`WorkerLoadBalancer` is part of `Master` responsibilities. The 
`WorkerLoadBalancer` is an interface in `Master`. It can be implemented by 
multiple load balance strategies, such as `Round-Robin`, `Random`, `Dynamic 
Weight`, etc... We will only choose one of these strategies to implement this 
time.
   
   Please correct me if I'm wrong. @1996fanrui 


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