I am trying to write a tool that requires knowing the state of other machines in a cluster (local area network). This is for a network fault tolerance / high availability system similar to VRRP and corosync / openais, but I want to contain more information (for example, about real-time speed / performance), so devices can make more reasonable choices. This means using a protocol that is more complex than a predetermined mass-based mechanism: allowing all cluster machines to see each other's state, they can jointly agree on what is most suitable for the host device.
From my searches, I have not found any (C, C ++ or JavaME) libraries that offer a distributed state mechanism. Ideally, I am looking for something that periodically broadcasts / multicast mailings for each individual machine so that the machines participating in it can create a global status table and everyone can see who the master should be. The state in this case is arbitrary key / value pairs.
I would rather not invent any wheels, so I'm curious to know if anyone here can point me in the right direction?
Mike
source share