The Performance of Two Phase Commit Protocols in the Presence of Site Failures |
| |
Authors: | ML Liu D Agrawal A El Abbadi |
| |
Affiliation: | (1) Computer Science Department, Cal Poly, San Luis Obispo, CA, 93407;(2) Department of Computer Science, University of California, Santa Barbara, CA, 93106 |
| |
Abstract: | The two phase commit is an important protocol in distributed database systems. Much of the existing literature on the protocol is restricted to discussing and analyzing the protocol (and its variants) in the absence of failures. Very little, especially in quantitative terms, has been written about its performance in the presence of site failures. In this study, we use a simulation testbed of a distributed database system to quantify the differences in the performances of four widely known variants of the 2PC protocols (the generic 2PC, presumed commit, presumed abort, and early prepare). Our study covers both the no-failure case and the case of site failures. We present a number of interesting results based on our experiments. One is that the performance of these protocols is highly dependent on the message-processing latency at the transaction coordinator site. Another is that the presumed abort protocol does not necessarily yield better performance in the presence of site failures. |
| |
Keywords: | atomic commitment protocol two phase commit protocol site failures response time throughput |
本文献已被 SpringerLink 等数据库收录! |
|