This blog introduces the two-phase commit protocol (2PC) and discusses its use for implementing distributed transactions.