






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Outline
Persistent Queuing
find out the state of a request
Client
Server
Enqueue
Dequeue
Other Benefits
need to support multiple protocols in just one systemenvironment
can be a trusted client of other systems to bridgesecurity barriers
Transaction Semantics
Server View (cont’d)
get a request,
call the appropriate transaction server, and
return the reply to the client.
Transaction Semantics - Client View
Dequeue(Reply, Q2)decode replyprocess output Commit
Txn2: Start
Dequeue(Req, Q1)process request ReqEnqueue(Reply, Q2) Commit
Client Recovery
request is in Q1, reply is in Q2, or request is executing
A. Txn1 didn’t commit – no message in either queue.
B. Txn1 committed but server’s Txn2 did not –request is either in request queue or being processed
C. Txn2 committed but Txn3 did not – reply is in thereply queue
D. Txn3 committed – no message in either queue