






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Transaction processing using queuing as an alternative to direct transaction processing (tp). Queuing allows controlling work requests through persistent transactional queues, enabling clients to send requests to unavailable servers and vice versa. Transaction semantics, benefits, and client recovery. Queuing provides a reliable solution for handling communication issues, load balancing, and priority-based scheduling.
Typology: Slides
1 / 10
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