Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A collection of high level non-blocking IO libraries
branch: master

This branch is 1 commit ahead, 20 commits behind oldmoe:master

handle edge case where all fiber db connections are busy and the main…

… thread asks to run a db query; clean up FiberedConnectionPool#acquire
latest commit 8fb71fb906
@tmm1 authored


== NeverBlock
Never, ever!

NeverBlock is a collection of classes and modules that help you write evented non-blocking applications in a seemingly blocking mannner.

NeverBlock currently provides the following Libraries:

=== FiberExtensions
A set of extenstions to the standard Fiber implementation

=== NeverBlock::Pool::FiberPool 
A pool of fibers that can be used to provide an upper limit to the numbers of active fibers in an application

=== NeverBlock::Pool::FiberedConnectionPool
A generic fibered connection pool for all sorts of connections with support for transactions. This was mostly copied from Sequel::ConnectionPool

NeverBlock should be the basis for providing completely async Ruby application development that does not require the usual twisted style of evented programming. For example, you will be able to develop in Rails in the usual style and deploy to a NeverBlock server which will do all the IO in an evented manner without you even noticing this. 

=== License
Ruby License,

Something went wrong with that request. Please try again.