Skip to content

ettenauer/akka-asteroid-belt

Repository files navigation

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

About

example how to use akka.net with clustering on K8s

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages