BSD Ports

devel/rubygem-que 2.4.1 FreeBSD

Job queue that uses PostgreSQL advisory locks for speed and reliability

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, rubygems
Package size
66.0 KiB, 230.2 KiB installed

Description

Que is a high-performance job queue that improves the reliability of your application by protecting your jobs with the same ACID guarantees as the rest of your data.

Que is a queue for Ruby and PostgreSQL that manages jobs using advisory locks, which gives it several advantages over other RDBMS-backed queues:

  • Concurrency - Workers don't block each other when trying to lock jobs, as often occurs with "SELECT FOR UPDATE"-style locking. This allows for very high throughput with a large number of workers.
  • Efficiency - Locks are held in memory, so locking a job doesn't incur a disk write. These first two points are what limit performance with other queues. Under heavy load, Que's bottleneck is CPU, not I/O.
  • Safety - If a Ruby process dies, the jobs it's working won't be lost, or left in a locked or ambiguous state - they immediately become available for any other worker to pick up.

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-que2.4.1
DragonFlydevel/rubygem-que2.4.1

Install

Binary package:

pkg install rubygem-que

From the ports tree:

cd /usr/ports/devel/rubygem-que/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-que>0:devel/rubygem-que

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.4.12.4.12.2.02.4.12.4.1
FreeBSD:14:quarterly2.4.12.4.1n/a2.4.12.4.1
FreeBSD:15:latest2.4.12.4.1n/a2.4.12.4.1
FreeBSD:15:quarterly2.4.12.4.1n/an/an/a
FreeBSD:16:latest2.4.12.4.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6

Configuration

No options to configure.

USES
gem shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/que-2.4.1.gem74240a7ba7679d13ef499da5de30a147f910e9e6d9d60cad15f8691a0b0b5bc758a7b
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.