Node locking mechanism using redis