BSD Ports

devel/rubygem-celluloid-io 0.17.3 FreeBSD

Evented IO for Celluloid actors

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

Description

Celluloid::IO provides an event-driven IO system for building fast, scalable network applications that integrates directly with the Celluloid actor library, making it easy to combine both threaded and evented concepts. Celluloid::IO is ideal for servers which handle large numbers of mostly-idle connections, such as Websocket servers or chat/messaging systems.

Celluloid::IO provides a different class of actor: one that's slightly slower and heavier than standard Celluloid actors, but one which contains a high-performance reactor just like EventMachine or Cool.io. This means Celluloid::IO actors have the power of both Celluloid actors and evented I/O loops. Unlike certain other evented I/O systems which limit you to a single event loop per process, Celluloid::IO lets you make as many actors as you want, system resources permitting.

Rather than callbacks, Celluloid::IO exposes a synchronous API built on duck types of Ruby's own IO classes, such as TCPServer and TCPSocket. These classes work identically to their core Ruby counterparts, but in the scope of Celluloid::IO actors provide "evented" performance. Since they're drop-in replacements for the standard classes, there's no need to rewrite every library just to take advantage of Celluloid::IO's event loop and you can freely switch between evented and blocking IO even over the lifetime of a single connection.

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-celluloid-io0.17.3
DragonFlydevel/rubygem-celluloid-io0.17.3

Install

Binary package:

pkg install rubygem-celluloid-io

From the ports tree:

cd /usr/ports/devel/rubygem-celluloid-io/ && make install clean

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

RUN_DEPENDS=	rubygem-celluloid-io>0:devel/rubygem-celluloid-io

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:latest0.17.30.17.30.17.30.17.30.17.3
FreeBSD:14:quarterly0.17.30.17.3n/a0.17.30.17.3
FreeBSD:15:latest0.17.30.17.3n/a0.17.30.17.3
FreeBSD:15:quarterly0.17.30.17.3n/an/an/a
FreeBSD:16:latest0.17.30.17.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 3

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

Build dependencies 6
Run dependencies 9

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/celluloid-io-0.17.3.gem57856248c9a3f91612eaea6b1625f4742e92e93d24129ce1d7eb8ee6c277894bc2cbb
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.