sodonnel commented on PR #5335:
URL: https://github.com/apache/ozone/pull/5335#issuecomment-1731664292

   So you have 44 pipelines with about 200 open containers, so that is about 
8800 pipelines.
   
   If you have "dozens" of owners - is that 12, 24, 36? Lets say 36.
   
   That means your 'getContainersByOwner' will return about 244 containers to 
be formed into a set, and your pipeline will have on average 200 / 36 = 5 
containers per owner.
   
   I wonder how this would work if you had only 2 owners, so the set has to be 
formed from 4400 containers. Perhaps it will still be faster than the 
containerInfo lookup and owner check the current code performs.
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to