Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Redundancy to PowerPlant Simulator #45

Open
joesan opened this issue Apr 10, 2018 · 0 comments
Open

Add Redundancy to PowerPlant Simulator #45

joesan opened this issue Apr 10, 2018 · 0 comments

Comments

@joesan
Copy link
Owner

joesan commented Apr 10, 2018

Right now only one instance of the simulator can be run. As we build StateMachines using Akka only one instance can be runnable. We need to however make the StateMachines redundant, meaning that we have to be able to spin up another instance on demand or when the application that runs the PowerPlant goes down.

This can be done using Akka Persistence and Akka Cluster Sharding. Refer to the following documentation:

https://doc.akka.io/docs/akka/current/cluster-sharding.html

https://doc.akka.io/docs/akka/current/persistence.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant