GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — Long-running transaction - Wikipedia

(Redirected from Saga interaction pattern)
icon
This article needs more citations. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Long-running transaction" – news · newspapers · books · scholar · JSTOR
(October 2015) (Learn how and when to remove this message)

Long-running transactions (also known as the saga interaction pattern[1][2]) are computer database transactions that avoid locks on non-local resources, use compensation to handle failures, potentially aggregate smaller ACID transactions (also referred to as atomic transactions), and typically use a coordinator to complete or abort the transaction. In contrast to rollback in ACID transactions, compensation restores the original state, or an equivalent, and is business-specific. For example, the compensating action for making a hotel reservation is canceling that reservation.

A number of protocols have been specified for long-running transactions using Web services within business processes. OASIS Business Transaction Processing[3] and WS-CAF[4] are examples. These protocols use a coordinator to mediate the successful completion or use of compensation in a long-running transaction.

See also

  • Compensating transaction
  • Long-lived transaction
  • Optimistic concurrency control

References

  1. ↑ Garcia-Molina, Hector; Salem, Kenneth (7 January 1987). "SAGAS" (PDF). Princeton, NJ: Department of Computer Science Princeton University. Archived from the original (PDF) on 2022-03-08.
  2. ↑ Rotem-Gal-Oz, Arnon (September 24, 2012). "5.4 Saga" ( (PDF)). SOA Patterns (1st ed.). Manning Publications. ISBN 978-1933988269. Archived from the original on August 7, 2013.
  3. ↑ "OASIS Business Transactions TC | OASIS".
  4. ↑ "OASIS Web Services Composite Application Framework (WS-CAF) TC | OASIS".
Retrieved from "https://en.wikipedia.org/w/index.php?title=Long-running_transaction&oldid=1333806578"
Categories:
  • Data management
  • Transaction processing
Hidden categories:
  • Articles with short description
  • Short description matches Wikidata
  • Articles needing additional references from October 2015
  • All articles needing additional references
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.