How to speed up concurrent Golang routines by up to 50%?
We’ll discuss how using RWMutex over Mutex can greatly enhance performance. Introduction Multiple threads accessing the same memory at the same time is not desirable. In Golang we can have several different goroutines that all possibly have access to the same memory variables, which can lead to a race condition. Mutex, mutual exclusion, along with […]