Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

构建并发锁优化 #9476

Open
irwinsun opened this issue Sep 15, 2023 · 0 comments
Open

构建并发锁优化 #9476

irwinsun opened this issue Sep 15, 2023 · 0 comments
Labels
area/ci/backend CI 后端issue kind/enhancement 功能改进特性

Comments

@irwinsun
Copy link
Member

irwinsun commented Sep 15, 2023

What would you like to be added:
优化构建并发锁, 根据分组串行,还是并发情况决定是否上锁,
Why is this needed:

1、BuildStart BuildEnd 共享BuildId锁, 如遇高并发的流水线, 则会导致锁时间过长, 造成当前MQ消费线程被锁等待长期阻塞, 影响到其他流水线的消费性能
2、目前分组串行没有加锁,导致并发时,可能导致队列判断不准确,造成没有按队列容量规定进行进出队列.

@irwinsun irwinsun added kind/enhancement 功能改进特性 area/ci/backend CI 后端issue labels Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci/backend CI 后端issue kind/enhancement 功能改进特性
Projects
None yet
Development

No branches or pull requests

1 participant