Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 645 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 645 Bytes

Akka Cluster Example

This is an example of creating a master distributing work to a set of competing workers. It is highly inspired by this blog post: http://letitcrash.com/post/29044669086/balancing-workload-across-nodes-with-akka-2

Clone the repo and run a seed node (seed nodes are 1337 and 1338):

./run.sh 1337

Additional nodes can be run without specifying a port:

./run.sh

The master on the seed node should start handing out work to workers. If a node is killed it should be registered by the master. If the node running the master is killed a new master should be started on another node.