celluloid / celluloid-io

UNMAINTAINED: See celluloid/celluloid#779 - Evented sockets for Celluloid actors
https://celluloid.io
MIT License
879 stars 93 forks source link

Celluloid::IO::ServerCell framework #85

Open tarcieri opened 11 years ago

tarcieri commented 11 years ago

I think it'd be good to do an extraction of the connection management logic that Reel uses into a generic, repurposable server framework for any kind of Celluloid::IO::Stream-derived server (i.e. TCP, TLS, or Unix domain)

Perhaps this framework could compose things correctly so we can generally address problems like https://github.com/celluloid/reel/issues/92 for all Celluloid::IO-based servers.

I think this sort of high level framework that wraps up the connection management logic is the reason why people like frameworks like EventMachine and Node.js in the first place.