Issue No. 05 - May (2006 vol. 17)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TPDS.2006.56
Claudio Basile , IEEE
Zbigniew Kalbarczyk , IEEE
Ravishankar K. Iyer , IEEE
<p><b>Abstract</b>—Software-based active replication is expensive in terms of performance overhead. Multithreading can help improve performance; however, thread scheduling is a source of nondeterminism in replica behavior. To achieve strong replica consistency in multithreaded environments, this paper proposes intercepting mutex lock/unlock operations performed by threads on accessing the shared data and contributes with two algorithmic solutions: 1) a <it>Loose Synchronization Algorithm (LSA)</it>, which captures the natural concurrency in a leader replica and projects it on follower replicas through interreplica communication, and 2) a <it>Preemptive Deterministic Scheduler (PDS)</it> algorithm, which removes the need for interreplica communication through the notion of round and by suspending threads when it is unable (yet) to schedule them deterministically. Failure behavior and performance of LSA and PDS implementations are evaluated in a triplicated system and compared with existing solutions. A performance evaluation indicates that LSA and PDS outperform existing solutions, with PDS offering lower throughput than LSA. A fault-injection campaign shows that PDS is more robust to errors due to the absence of interreplica communication. Hence, LSA and PDS represent a trade-off between performance and dependability. Finally, LSA and PDS are demonstrated in replicating the Apache Web server, a substantial real-world application.</p>
Fault tolerance, replication, multithreading, nondeterminism, fault injection.
R. K. Iyer, C. Basile and Z. Kalbarczyk, "Active Replication of Multithreaded Applications," in IEEE Transactions on Parallel & Distributed Systems, vol. 17, no. , pp. 448-465, 2006.