Friday, August 19, 2011

Reactor Design Pattern

Imagine you want to have a lot of processes BUT without using threads...
How to achieve something like that?

''Reactor pattern
The reactor design pattern is an event handling pattern for handling service requests delivered concurrently to a service handler by one or more inputs.
'' [source]

''EventMachine: scalable non-blocking i/o in ruby'' [source]

An application of these ideas can be found in ''Node.js'' [source]

No comments:

Post a Comment