Implementation of vector watches

For my code that runs on different devices, I need to determine the order of messages that are sent between these devices. Therefore, I would like to use vector clocks, as I read vector clocks that allow you to organize events.

Is there any installed / public API that I can use for this? Or reference implementation = Or do I need to encode it from scratch?

Thanks for any links and tips.

+7
java frameworks vector-clock
source share
2 answers

A VectorClock implementation is available from Google Code .

You can also watch patches to add support for vector clocks in Cassandra .

You should also read the wiki [1] [2] for technical limitations and other alternatives.

+8
source share

I found this vector clock written in Java as part of project voldemort .

Here is a link to the source code . You will also need to remove references to the class and interface.

Here is a link to Javadoc .

Here's a Wikipedia article on vector clocks .

+4
source share

All Articles