devel/rubygem-redlock 2.0.6 DragonFly
Distributed lock using Redis written in Ruby
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD2CLAUSE
- Categories
- devel, rubygems
- Package size
- 15.3 KiB, 59.6 KiB installed
Description
Redlock provides a ruby distributed lock using redis.
Distributed locks are a very useful primitive in many environments where different processes require to operate with shared resources in a mutually exclusive way.
There are a number of libraries and blog posts describing how to implement a DLM (Distributed Lock Manager) with Redis, but every library uses a different approach, and many use a simple approach with lower guarantees compared to what can be achieved with slightly more complex designs.
This is an implementation of a proposed distributed lock algorithm with Redis. It started as a fork from antirez implementation.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/rubygem-redlock | 2.0.6 |
| FreeBSD | devel/rubygem-redlock | 2.1.0 |
Install
Binary package:
pkg install rubygem-redlock
From DPorts:
cd /usr/dports/devel/rubygem-redlock && make install clean
Dependencies
Run dependencies 3
No port depends on this one.