Efficient, distributed locking using ruby redis