ououtt opened a new issue #6161:
URL: https://github.com/apache/dolphinscheduler/issues/6161


   ### 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
   
   Can I use the semaphore function of the cursor to first try to obtain 
semaphores in the mastertaskexecthread thread to achieve global concurrency 
control?Of course, there should be a page first, and the user can manually 
create a current limit queue and set the number of concurrency, and in the task 
creation interface Make a choice.because I have a lot of sql tasks to execute. 
In order not to put too much pressure on the data source, I hope to achieve 
concurrency isolation based on the data source.
   
   
是不是可以使用Curator的信号量功能,在MasterTaskExecThread线程中首先尝试获取信号量,做到全局并发控制?当然首先会有一个页面,用户可以手动创建限流队列和设置并发数,并在任务创建界面进行选择.因为我有很多的sql任务,为了不给数据源太大压力,需要做到根据数据源的并发隔离
   
   ### DolphinScheduler Version
   
   1.3.6
   
   ### Additional context
   
   _No response_
   
   ### 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