Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.92 KB

README.md

File metadata and controls

33 lines (28 loc) · 1.92 KB

akka-asteroid-belt

Example how to use akka.net with sharding in containerized setup

What does this project?

The project simulates in a very simple way the movement of asteroids around a gravity pool. A asteroid is represented as actor in the akka cluster system. The asteriods are distributed via shards across available nodes in the cluster. If two asteroids are crossing paths, the asteroid with the smaller weight is destroyed and cannot move anymore. The state information about the asteroids are visible on a status dashboard (default page) and updated in realtime via signalR.

In case of a failover the moved asteroid actors are recreated with their inital state since the project doesn't use a persistent storage.

What is used?

Run project locally via DOCKER-COMPOSE and VS-Studio

Run project on K8s