Blogs / Personal blogs

Compile and Run

compileandrun.com

When building highly available services, it's common to need to lock a resource every once in a while. You can use Redis and a simple wrapper to create a heartbeat/watchdog that will keep a lock alive as long as a task is running, and automatically unlock the resource if the process dies.

Popular posts
1
Total points
353
HN comments
318
Rank
#7,634 personal

Visit compileandrun.com → On Hacker News May 2017 – May 2017

Software Engineering 1Programming Languages 1