bossiernesto / springfield

Small event loop using the reactor pattern

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Springfield

Code Climate Stories in Ready Issue Count Build Status Test Coverage

Small event loop using the reactor pattern. My idea is to have a very simplistic event loop oriented mostly on tcp and ip connections

Current work

Currently the base event loop is stable and working properly. Unit tests have been created to cover mostly all the code. Some more work on keeping the code tested is still needed though.

The event loop has

  • Events that can be simple or IO tasks, these tasks can be timed
  • Timers are behaviour that can be added to an event and there are different types of timers (quantum, timestamp)
  • Listeners are blocks that execute a block when an event is attached or detached.

And soon the event loop will also have

  • TCP/IP connections and servers
  • HTTP connections.. (?)
  • Failover/Takeover

Api

Will update with the basic api soon.

About

Small event loop using the reactor pattern

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 100.0%