devel/rubygem-redlock 2.1.0 FreeBSD
Distributed lock using Redis written in Ruby
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- devel, rubygems
- Package size
- 17.5 KiB, 64.3 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 |
|---|---|---|
| FreeBSD | devel/rubygem-redlock | 2.1.0 |
| DragonFly | devel/rubygem-redlock | 2.0.6 |
Install
Binary package:
pkg install rubygem-redlock
From the ports tree:
cd /usr/ports/devel/rubygem-redlock/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-redlock>0:devel/rubygem-redlock
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.1.0 | 2.1.0 | - | 2.0.6 | 2.1.0 |
| FreeBSD:14:quarterly | 2.1.0 | 2.1.0 | n/a | 2.0.6 | 2.1.0 |
| FreeBSD:15:latest | 2.1.0 | 2.1.0 | n/a | 2.0.6 | 2.0.6 |
| FreeBSD:15:quarterly | 2.1.0 | 2.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.1.0 | 2.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
rubygem-redis-client>=0.14.1<1.0.0: databases/rubygem-redis-client
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/redlock-2.1.0.gem | 19968 | 3345271631b459c66e640854dde339cf1be3f6fcfab36ff63d8ff70feac73bac |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.