Consider the scenario where I am having single
client which use single service for communication and interacting with single
database. In which service starts and manage the transaction, now it will be
easy for the service to manage the transaction.
Transaction
Manager is the third party for the service that will manage the transaction
using two phase committed protocol.
Let us see how Transaction manager will manage the transaction using two-phase committed protocols.
Consider for example client calling multiple
service or service itself calling another service, this type of system are
called as Distributed Service-oriented application. In this Distributed scenario in order to manage the complexity such as calling another service within the service, there may be some failure in network or machine might crash.
Flow Chart of Two Phase Committed Protocol
To overcome such complexity windows communication foundation has came with Two phase committed protocol and dedicated transaction manager
Let us see how Transaction manager will manage the transaction using two-phase committed protocols.
No comments:
Post a Comment