When a lock is acquired, a deletion event is created that listens for a lock on the lock. In this way, “herding effect” can be avoided. When a lock is released (deleted), all waiting locks are not woken up, saving network and service resources.

Reference implementation:

Github.com/wxisme/zoop…