I have an application that mixes actors with non-blocking sockets (i.e. NIO). The way I did this is to have a dedicated I / O stream that sends messages to the actors (much like it delegates the work to a thread pool in a Java system) using a reactor template.
Obviously, using old blocking sockets, you are limited to one thread per connection. And the actor can handle this, but, of course, this limits the number of connections that can be processed simultaneously.
- , ( ), - - . , NIO .