@yonderbox/gridfs-locks

Distributed read/write locking based on MongoDB, designed to make GridFS safe for concurrent access

lockdb

LockDB is a cross-platform tool you can use to handle process/event locking and avoid race conditions. It is sometimes also known as a semaphore.

smartlocks

Locking and optimistic locking built over Memory, Redis, Cassandra and Etcd.