News for hackers. Stuff that matters.
Re:Hitless TLS Certificate Rotation in Go by kyrra on Wednesday January 11, 2017 @01:51PM (#13376411)
So I'm not 100% certain on this, but this flow seems like like it would be a good candidate for atomic.Value[0]? The the mutexes could be removed entirely. That way you don't need to get a lock on every config read.

[0] https://golang.org/pkg/sync/atomic/#example_Value_config

Re:Hitless TLS Certificate Rotation in Go by diogomonicapt on Wednesday January 11, 2017 @02:15PM (#13376632)
Author here, I actually added a footnote exactly because of that fact: https://diogomonica.com/2017/01/11/hitless-tls-certificate-r...