A Plan-X project

Concurrency control and merging in a value-oriented XML Store

Overview

In cooperative work there is a need to have some agreement on what is the present state of the work, a consensus of the value representing the present state (Consensus in this context must not be mistaken as the same problem as the byzantine agreement introduced by Lamport et al. (1982)). For instance, consider a group of people that cooperatively and concurrently writes a document.

In order to obtain consensus between workers or applications, some sort of communication is needed conducted by some systematic rule, a consensus protocol, see Figure \ref{figconssynchron}. To uniform and ease the use of the consensus protocol for the application programmer, an interface to a coordinator implementing the protocol is convenient. The interface specifies how the applications communicate with each other to reach consensus through the coordinator. That is, each application does not know how the global consensus is reached, because it is the responsibility of the coordinator. By doing so the applications are decoupled from the process of reaching consensus.

But when the applications and the coordinator is decoupled they might not at all time have the same view of consensus. This leads to the problem of how the coordinator and applications synchronize their view of consensus. This can be summarized by the following:

This thesis analyzes what operation signatures should comprise the interface of the coordinator to make it as generally applicable as possible for the value-oriented XML Store. Further, the problem of conflict resolving will be analyzed and a solution by merging XML documents stored in the XML Store will be given. Finally, the consistency problem of having more than one value represent the consensus will be analyzed an solved.ments stored in the XML Store will be given. Finally, the consistency problem of having more than one value represent the consensus will be analyzed an solved.

Links

Synchronization

Consensus

Concurrency control

Merge

Related work

Paper

The most recent version of our thesis is available here.

Source

The most recent version of our source is available here.

People

Last updated: Mar. 04, 2004 (jea)

Valid XHTML 1.0!