BSD Ports

devel/rubygem-sucker_punch 3.3.0 FreeBSD

Asynchronous processing library for Ruby

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

Description

Sucker Punch is a single-process Ruby asynchronous processing library. This reduces costs of hosting on a service like Heroku along with the memory footprint of having to maintain additional jobs if hosting on a dedicated server. All queues can run within a single application (eg. Rails, Sinatra, etc.) process.

Sucker Punch is perfect for asynchronous processes like emailing, data crunching, or social platform manipulation. No reason to hold up a user when you can do these things in the background within the same process as your web application.

Sucker Punch is built on top of concurrent-ruby. Each job is setup as a pool, which equates to its own queue with individual workers working against the jobs. Unlike most other background processing libraries, Sucker Punch's jobs are stored in memory. The benefit to this is there is no additional infrastructure requirement (ie. database, redis, etc.). However, if the web processes are restarted with jobs remaining in the queue, they will be lost. For this reason, Sucker Punch is generally recommended for jobs that are fast and non-mission critical (ie. logs, emails, etc.).

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-sucker_punch3.3.0
DragonFlydevel/rubygem-sucker_punch3.2.0

Install

Binary package:

pkg install rubygem-sucker_punch

From the ports tree:

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

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

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

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:latest3.3.03.3.03.1.03.2.03.3.0
FreeBSD:14:quarterly3.3.03.3.0n/a3.2.03.3.0
FreeBSD:15:latest3.3.03.3.0n/a3.2.03.2.0
FreeBSD:15:quarterly3.3.03.3.0n/an/an/a
FreeBSD:16:latest3.3.03.3.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 7

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/sucker_punch-3.3.0.gem18944ad70e6663daae1f646cc92843a7fc74a2f2f172896cdbd5e9852c99e21a9dca2
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.