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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-celluloid-io | 0.17.3 |
| DragonFly | devel/rubygem-celluloid-io | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.17.3 | 0.17.3 | 0.17.3 | 0.17.3 | 0.17.3 |
| FreeBSD:14:quarterly | 0.17.3 | 0.17.3 | n/a | 0.17.3 | 0.17.3 |
| FreeBSD:15:latest | 0.17.3 | 0.17.3 | n/a | 0.17.3 | 0.17.3 |
| FreeBSD:15:quarterly | 0.17.3 | 0.17.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.17.3 | 0.17.3 | 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 3
rubygem-celluloid>=0.17.2: devel/rubygem-celluloidrubygem-nio4r>=1.1: devel/rubygem-nio4rrubygem-timers>=4.1.1: devel/rubygem-timers
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
| File | Size | SHA256 |
|---|---|---|
| rubygem/celluloid-io-0.17.3.gem | 57856 | 248c9a3f91612eaea6b1625f4742e92e93d24129ce1d7eb8ee6c277894bc2cbb |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.