This talk on lock internals and performance characteristics is going to be incredible.
The Go runtime uses locks extensively (as does your memory allocator) sometimes to the detriment of performance.
The LOCK instruction precisely in x86 is what powers the lock implementation in most programming languages.
OMG - this talk is indescribably good! 😍
And what’s the cost of an atomic operation. @kavya719 at @qconnewyork
My tweets do complete injustice to this talk. It’s absolutely incredible! @kavya719 at @qconnewyork
Hybrid futexes are an improvement on futexes. @kavya719 at @qconnewyork
Next up - how does a language with userspace threads like Go implement this? 😍
sync.Mutex is a hybrid lock. Comparison with pthreads. @kavya719 at @qconnewyork
It’s locks all the way down! @kavya719 at @qconnewyork
And some strategies to deploy if contention is indeed the problem.
@kavya719 at @qconnewyork