Clock checker with Akka.net

Hi!

We have clock issues in our virtual environment so I made a little project to check if there is really a problem.

The project is very simple, it has two actors:

  • Master: the central actor that runs in a machine in the cluster, it sends its time to the slaves and receives and prints the result of their processing.
  • Slaves: one per machine except the machine that contains the master.  It takes the DateTime provided by the Master and check if its time is greater than the one in the message, if it is not it return the error to the master.

 

Only two things to be configured:

  • ClockCheckerMaster: change the appconfig from localhost to the master machine name.
  • ClockCheckerSlave: change the master machine application config to the master machine name.

 

Hope this can help to anyone with clocks or just as a very simple akka.net remoting example. Here is the code:

https://github.com/pablocastilla/AkkaClockChecker

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: