Skip to content
This repository

Drop-in EventMachine replacement for JRuby

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 foxbat.gemspec
README.md

foxbat

A plug-compatible EventMachine replacement, based on netty.

tl;dr

The JRuby port of EventMachine has been neglected for some time. Rather than trying to fix a string of long-standing bugs in an ageing codebase, it makes more sense to use a feature-complete, stable, battle-tested I/O library that's already been developed.

This project aims to be a performant and full-featured EM replacement for JRuby apps.

What works

  • TCP Server, aka EM.start_server
  • TCP Client, aka EM.connect
  • SSL (now on client + server)
  • EM.defer
  • One-shot timers
  • Zero-copy file transfer

Getting started

Get the gem:

jgem install foxbat

Require it:

require 'foxbat'
Something went wrong with that request. Please try again.