You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/12/09 11:37:53 UTC

[GitHub] [camel-k] astefanutti edited a comment on pull request #2823: chore: Use atomic.Value for client-side apply fallback

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 to draw any conclusion.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org