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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-sucker_punch | 3.3.0 |
| DragonFly | devel/rubygem-sucker_punch | 3.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.3.0 | 3.3.0 | 3.1.0 | 3.2.0 | 3.3.0 |
| FreeBSD:14:quarterly | 3.3.0 | 3.3.0 | n/a | 3.2.0 | 3.3.0 |
| FreeBSD:15:latest | 3.3.0 | 3.3.0 | n/a | 3.2.0 | 3.2.0 |
| FreeBSD:15:quarterly | 3.3.0 | 3.3.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.3.0 | 3.3.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-concurrent-ruby>=1.0<2: devel/rubygem-concurrent-ruby
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
| File | Size | SHA256 |
|---|---|---|
| rubygem/sucker_punch-3.3.0.gem | 18944 | ad70e6663daae1f646cc92843a7fc74a2f2f172896cdbd5e9852c99e21a9dca2 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.