otm:the_matching_of_causal_sequences

This is an old revision of the document!


Distributed systems are computer systems that are connected by a communication network or any technology that features by the delay in its communication. In addition, these systems present absence of a share clock and shared memory. As a consequence of these absences, it is not easy to observe the order of a distributed system execution trace because events (eg. sending and receiving of messages) generates by computer systems are not always causally related. There are algorithms that are able to determine the causal relation between two events, therefore, these algorithms can partially determine the order of a distributed system execution trace. The vector clock algorithm is widely used to observe the order of a distributed system execution trace.

Vector clocks (reference Wikipedia)

                        Example of a system of vector clocks (wikipedia)

As OTM supports the definition of entities that observe and react to a Web application execution trace, we have extended our prototype to observe and react to distributed execution traces using the vector clock algorithm. Next, we present two examples, where OTM observes distributed execution traces that present in social Web applications like Twitter or Google Reader. The examples show the use of OTM+vector clocks to analysis flows of information between actors instead of the use of dynamic graphs 1).

Go OTM home.


1)
This idea has recognized before in the paper Using Vector Clocks to Visualize Communication Flow
  • otm/the_matching_of_causal_sequences.1294859499.txt.gz
  • Last modified: 2011/01/12 15:11
  • by aspectscript