Demystifying the Read-Write Lock Pattern in Go: Simple Strategies for Easy Concurrency

Introduction In another article we discussed the Lock pattern. In this we used the sync.Mutex struct. The problem with this struct is, is that it doesn’t distinguish between reading from a resource, like accessing an element in a vector, and writing…
