|
|
|
|
|
by dmuth
3784 days ago
|
|
It's a long read, but the gist of this article is "use the right tool for the job". Redis is really good for some things, but in its current implementation, distributed locking is not one of them. Along with the author of this blog post, I would recommend the usage of Zookeeper if you have a need for obtaining a lock in a distributed environment. You can read an analysis of how Zookeeper performs under a (intentionally) partitioned network here: https://aphyr.com/posts/291-jepsen-zookeeper |
|