dotnet / dnceng

.NET Engineering Services
MIT License
24 stars 18 forks source link

Add capacity to ubuntu.2204.amd64.open.rt queue #3457

Closed ilyas1974 closed 2 weeks ago

ilyas1974 commented 1 month ago

In doing some research, it appears that the Ubuntu.2204.amd64.open.rt is reaching the limit of instances that a single scale set can support. Helix has a mechanism in place to allow a single queue to be backed by multiple scale sets. We need to add another scale set to the Ubuntu queue used by runtime to help with the capacity issues we are seeing.

Release Note Category

chcosta commented 1 month ago

@ilyas1974 do you have a link to the code or doc which is pertinent to multiple scale sets per queue?

riarenas commented 1 month ago

I was looking at this today!

https://dnceng.visualstudio.com/internal/_git/dotnet-helix-machines?path=/src/DeployQueues/QueueManager.cs&version=GBmain&line=994&lineEnd=995&lineStartColumn=1&lineEndColumn=1&lineStyle=plain&_a=contents This loop makes sure that if we have a max count of over 600, we will split the deployment of the queue into multiple scale sets. I think it's just a matter of adding the Max attribute to whatever queue we want, and that should take care of splitting it.

We would have an ubuntu.2204.amd64.open.rt-a-scaleset and a ubuntu.2204.amd64.open.rt-b-scaleset that are both connected to the same service bus queue.

chcosta commented 2 weeks ago

Completed with https://dev.azure.com/dnceng/internal/_git/dotnet-helix-machines/pullrequest/41156