Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@krisleech
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krisleech/8949744ef2cc11d50cd0 to your computer and use it in GitHub Desktop.
Save krisleech/8949744ef2cc11d50cd0 to your computer and use it in GitHub Desktop.
Distributed evented processing
-input1->
-event4+5-> [Process1] -event1-> [Process2] -event2-> [process4] -event4->
-event1-> [Process3] -event3-> [process5] -event5->
Each process could be a pool of processes. Each process can use the Actor model.
Events need to include a uuid so inputs and results (event4 + event5) can be matched up.
Event1 is consumed by two different processes break up different processing of input.
Process1 will consume both events 4 and 5, combining to get the final result.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment