What is the lightest solution to creating a multiprocess architecture with state shared across all processes What is the lightest solution to creating a multiprocess architecture with state shared across all processes multithreading multithreading

What is the lightest solution to creating a multiprocess architecture with state shared across all processes


  1. Yes. The database most likely involves the harddrive, and the harddrive is the slowest part of any computer so switching away from using the harddrive will probably have performance benefits.

  2. I would go with zeromq / zmq. Its a message oriented framework that supports several communication patterns. For instance PUB/SUB or REQ/REP etc. More examples here

  3. zmq is cross platform and its amazingly fast.

  4. Some C# examples on github


I would consider looking into an Actor Model based solution, such as Akka.NET.