astefanutti edited a comment on pull request #2823:
URL: https://github.com/apache/camel-k/pull/2823#issuecomment-989772452


   @zregvart I've taken on your idea to use a mutex, and I've gone for using 
`sync.Once`, which encapsulates the mutex, and exposes just the right semantic 
for doing the _SSA attempt / fallback_ logic only once.
   
   Interestingly, the installation of the 137 bundled Kamelets now takes less 
than 200ms on my computer using Minikube, which is less than what I observed 
without the extra synchronisation. That being said, we're probably inside the 
measurement margin error, but at least the impact is either negligible or 
positive.


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