Research Article

Deco: A Decentralized, Cooperative Atomic Commit Protocol

Algorithm 1

Rule to forward a token.
Token handling by , .
void forward(Token) {
 Use the ALM protocol to evaluate a receiver pR;
 do {
   Forward the message to ;
   If is suspected unreachable during a predefined period {
     Use the ALM protocol to evaluate a another receiver and it to ;
   }
 } until (the delivery succeeds or == )
}