* Tony Arcieri ([EMAIL PROTECTED]) wrote:

> I've just made my initial public release of Rev, a high performance
> event library for Ruby 1.9 built on top of libev. Events are monitored
> with advanced system calls including epoll on Linux, kqueues on BSD,
> and event ports on Solaris.

Yum, thanks :)

Buffered writing seems to be broken; the buffer is sliced incorrectly,
so it spins writing the last few KB, and the Watcher doesn't have an
enabled? method so that fails if it ever reaches it.  Patch:

  http://voi.aagh.net/rev-0.1.0_lib-rev-buffered_io.rb.diff

Few other issues: spurious closed connections - if I do one big write
I'm ok, but splitting a 500k buffer into 4k writes almost always results
in a closed stream IOError on the second write, and a ECONNRESET on the
reading side.

Servers don't serve much; they serve one client and exit even in the
exception-free case, including the example echo server.  Multiple
clients will be served if they manage to connect before the rest close,
but once the listen queue's empty Rev::Loop#run returns.

This is tested with FreeBSD 6.2, using kqueue, select and poll.

-- 
Thomas 'Freaky' Hurst
    http://hur.st/

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to