I am trying to figure what is the Factor model to work with server applications.

If I understand correctly, Factor is single threaded, but the
underlying I/O facilities are not (I remember reading an article where
it was compared to Java NIO).

This resembles the model of Node applications: the application logic
runs in a single threaded event loop, but the input/output is
asynchronous and delegated to background threads, so that applications
that are I/O bound can be responsive even on a single thread.

Is this correct? What about I/O facilities that are meant to be
blocking (for instance, the API of ZeroMQ features a recv() function
that blocks until data arrives on the socket)?

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to