github-actions[bot] commented on issue #10996:
URL: 
https://github.com/apache/dolphinscheduler/issues/10996#issuecomment-1185290260

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   ## The current task distribution logic problem
   1. Does not consider the factors of worker load and available memory
   2. Distribute only one task to workers at a time
   
   ##Optimize
   1. Batch assignment of tasks
   2. Workers that are overloaded will not distribute tasks for the time being
   3. The number of distributed tasks refers to the memory size available to 
the current worker
   
   ## Flowchart
   ![task batch 
distribution](https://user-images.githubusercontent.com/13765310/179178765-b4e6d56e-9a69-476a-b2c6-13234ed678e7.jpg)
   
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


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