🔗 Distributed Locks using Golang and Redis

Maintaining locks across a cluster of application instances, be it multiple threads on the same server, or different servers altogether, is an often underestimated component of developing clustered applications (be it Golang or other languages and frameworks). It’s relatively straightforward but there are some gotchas to look out for when implementing your distributed locking mechanisms.

🌎 https://kylewbanks.com/blog/distributed-locks-using-golang-and-redis