About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 7 years ago
  • Total downloads: 99
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Francis Girardeau
See full specifications

scripts default iconRuby EventMachine Publisher's description

Ruby EventMachine is a fast, simple event-processing library for Ruby programs.

EventMachine implements a fast, single-threaded engine for arbitrary network communications. It's extremely easy to use in Ruby. EventMachine wraps all interactions with IP sockets, allowing programs to concentrate on the implementation of network protocols. It can be used to create both network servers and clients.

To create a server or client, a Ruby program only needs to specify the IP address and port, and provide a Module that implements the communications protocol. Implementations of several standard network protocols are provided with the package, primarily to serve as examples. The real goal of EventMachine is to enable programs to easily interface with other programs using TCP/IP, especially if custom protocols are required.

A Ruby program uses EventMachine by registering the addresses and ports of network servers and clients, and then entering an event-handling loop. EventMachine contains glue code in Ruby which will execute callbacks to user-supplied code for all significant events occurring in the clients and servers. These events include connection acceptance, startup, data-receipt, shutdown, and timer events. Arbitrary processing can be performed by user code during event callbacks, including sending data to one or more remote network peers, startup and shutdown of network connections, and installation of new event handlers.

The EventMachine implements a very familiar model for network programming.

It emphasizes:

1) the maximum possible isolation of user code from network objects like sockets;

2) maximum performance and scalability;

3) extreme ease-of-use for user code. It attempts to provide a higher-level interface than similar projects which expose a variety of low-level event-handling and networking objects to Ruby programs.

System Requirements:

No special requirements.
Program Release Status:
Program Install Support: Install Only

Is Ruby EventMachine your software?

Manage your software

Most Popular

scripts default icon Facebook comments counter (Scripts) 1.0
This This plugin is addon plugin to the plugin "Facebook Comments for WordPress".
scripts default icon Net::Flickr (Scripts) 0.0.1
Net::Flickr provides an elegant, Ruby-fied implementation of Flickr's REST API.
scripts default icon Lipsiadmin (Scripts) REL 5.1.2
Lipsiadmin is a new revolutionary admin for your projects.
scripts default icon QuNet::NNTP Client Library (Scripts) 0.0.2
Retrieve and post Usenet news articles via NNTP, the Network News Transfer Protocol
scripts default icon LED Sign Manager (Scripts) Angie
A Ruby On Rails web application for the management of Betabrite and Alpha LED signs.