Two-phase commit (2PC) — Backend Interview Challenge | Mentoxis