empujar icon indicating copy to clipboard operation
empujar copied to clipboard

Support multiple processes

Open evantahler opened this issue 10 years ago • 2 comments

Empujar's async workflow can be enhanced to execute across more than one process.

evantahler avatar Nov 29 '15 02:11 evantahler

How's the multiple processes support so far ?

jtuthehien avatar Mar 24 '16 10:03 jtuthehien

No progress what-so-ever!

Want to help out?

The main choice to make is:

  • do we use node's cluster module / IPC channels to communicate to sub-processes
  • do we use something like redis to share state over, and a polling/worker model

option 1 is simpler, but option 2 enables us to use more than one computer not just more processes/cores.

We would also need to use setters/getters for data stored at the book and chapter level, rather than modifying that object directly, as data would need to be persisted/shared between all processes.

evantahler avatar Mar 25 '16 17:03 evantahler