Introduction Imagine sending 100 from Alice to Bob. If both accounts are in one database, this is easy: start a transaction, update both balances, and commit. But this example puts Alice in MySQL and Bob in PostgreSQL.
Source: [Dev.to](https://dev.to/ankitmalikg/understanding-two-phase-commit-2pc-by-building-one-in-go-dc3)