Skip to content
Example Windows Form and Website that displays the current and unreachable members as well as who the member is seenby within an Akka Cluster. Also demonstrates how the following frameworks give you a real-time monitoring application; Akka .Net, TopShelf, MVC, WebApi, SignalR and AngularJS.
JavaScript HTML C# CSS Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

My Akka.Net Examples that I have created within this solution.

I created a recording of the Cluster Monitor and Service Monitor in action. [Example in action!]( The example demonstrates the following: * When the windows service stops when you can see the member to leave the cluster. * When the windows service starts you can see the member join the cluster. * When you ask the member to leave you can see the windows service stops.

Remember to start all of the projects up to see the full effect!

Shows the state of the cluster from its point of view.

#####This project has 4 endpoints:

  • http://localhost:8088/#/akka/report
    Reports the state of the cluster from its point of view.
    The state is scheduled to be sent from the SignalRClusterStatusActor -> SignalR.ClusterStateHub -> Webpage

  • http://localhost:8088/#/akka/reportapi
    Get the cluster state from a specific cluster member.
    Currently the only member that you can query is the WorkerWebApi.
    Demonstrates that you don't need to be part of the cluster to get the information as well as send commands.
    Currently the Leave and Down button are not fully wired up and will hopefully be soon.

  • http://localhost:8088/#/akka/itemstatus
    Displays current jobs running and the status of the work being performed.

  • http://localhost:8088/#/akka/servicestatus
    This page allows you to see the status of the services and the option to start or stop the services.

###Tasker Schedules a set of jobs and have those jobs repeat every x seconds.
Create the "Job" which is then deployed onto the Worker node.
Allows other cluster members to subscribe to all Jobs running for status updates.

###Worker Plain cluster member ready for the tasker to task work off to.
Demonstrates clean exit when itself is removed from the cluster.
The worker will get a set of records and then process those records.
Report back what the status of the work back to the Tasker.

###WorkerWithWebApi You can only run one instance of this as the website port is hardcoded.
You must also run it as an adminstrator.
Creating your services similar to this will allow you to view that members current state.
This will allow you to access the ClusterEvent.CurrentClusterState by hitting the endpoint.

Opens the door to be able to send a Leave/Down message to that member through that api.
With having this access to the member my ClusterMonitor has no need to actually be part of
the cluster to view just its state but instead can just request the state from a specific member.
This will disconnect this client to avoid any interuptions with in the cluster perhaps.
Start all of the projects up, then open up your favorite browser and navigate to
http://localhost:8080/api/ClusterStatus/1 This will give you the JSON results of the worker member.

###Lighthouse Added for easy setup of a cluster. You should always run 2 or more.

Contains the messages, shared paths and actors used in the above projects.

###Common Akka Links to help you along with your Akka adventure!
Main Site:
The Code (includes basic examples):
Need to ask a question:
Where do you begin:
Where do you begin Part2:
Persistent Actors:

You can’t perform that action at this time.