BSD Ports

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

SystemPortVersion
FreeBSDdevel/rubygem-redlock2.1.0
DragonFlydevel/rubygem-redlock2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.1.02.1.0-2.0.62.1.0
FreeBSD:14:quarterly2.1.02.1.0n/a2.0.62.1.0
FreeBSD:15:latest2.1.02.1.0n/a2.0.62.0.6
FreeBSD:15:quarterly2.1.02.1.0n/an/an/a
FreeBSD:16:latest2.1.02.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

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
FileSizeSHA256
rubygem/redlock-2.1.0.gem199683345271631b459c66e640854dde339cf1be3f6fcfab36ff63d8ff70feac73bac
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.