Database: Distributed Transaction
Motivation
Daily Blogging and learning and sharing with the community.
Distributed Transaction
- As we have already learned about the transaction, now we will learn about the distributed Transactions, the transaction is a set of operations, but the distributed transaction is a set of transactions that will execute in multiple servers,
Lets say we wants to transfer money from one account to another , we withdraw money from one server and put that amount in another server, and if something goes wrong we needs to rollback in both the servers, that is the difficult part of the distributed transactions.