We often need to do some locking to avoid concurrency problems. While Java offers a lot of tooling for that, it only works for a single instance. But sometimes we need to lock a resource across cluster members, in which case we don't really have any easy way to do it. |