4 ms·
Reminds me of cronlock[0] which is a bash script that uses Redis as a global lock that you can use across multiple servers. Needing to just download a single ba
by beering 12y ago
Reminds me of cronlock[0] which is a bash script that uses Redis as a global lock that you can use across multiple servers. Needing to just download a single bash script makes it easy to drop into an existing project.
[0] https://github.com/kvz/cronlock https://github.com/kvz/cronlock
- cheald 12y agoI use Redis as an IPC lock for our applications, too - it's quite good at it, especially since you can have atomicity guarantees with a Lua script.