Optimize locking when processing events
Closed this issue · 3 comments
andrii-korotkov-verkada commented
Sometimes it takes a while until Kubernetes event is received or processed. It could be partially related to using locks when processing events. They can be optimized to use read locks sometimes.
andrii-korotkov-verkada commented
See more details about the complex issue that this tries to help with here argoproj/argo-cd#18500.
andrii-korotkov-verkada commented
Seems like this helps a lot!
#603 (comment)
andrii-korotkov-verkada commented
The testing was misleading and it actually less locking time from faster iterate hierarchy v2 that is a problem solver. A bunch of benchmarking for the lock change shows neutral-to-regression results.