Share to: share facebook share twitter share wa share telegram print page

X/Open XA

For transaction processing in computing, the X/Open XA standard (short for "eXtended Architecture") is a specification released in 1991[1] by X/Open (which later merged with The Open Group) for distributed transaction processing (DTP).

Goals

The goal of XA is to guarantee atomicity in "global transactions" that are executed across heterogeneous components. A transaction is a unit of work such as transferring money from one person to another. Distributed transactions update multiple data stores (such as databases, application servers, message queues, transactional caches, etc.) To guarantee integrity, XA uses a two-phase commit (2PC) to ensure that all of a transaction's changes either take effect (commit) or do not (roll back), i.e., atomically.

Architecture

Specifically, XA describes the interface between a global transaction manager and a specific application. An application that wants to use XA engages an XA transaction manager using a library or separate service. The transaction manager tracks the participants in the transaction (i.e. the various data stores to which the application writes), and works with them to carry out the two-phase commit. In other words, the XA transaction manager is separate from an application's interactions with servers. XA maintains a log of its decisions to commit or roll back, which it can use to recover in case of a system outage.[1]

Many software vendors support XA (meaning the software can participate in XA transactions), including a variety of relational databases and message brokers.[1]

Advantages and disadvantages

Since XA uses two-phase commit, the advantages and disadvantages of that protocol generally apply to XA. The main advantage is that XA (using 2PC) allows an atomic transaction across multiple heterogeneous technologies (e.g. a single transaction could encompass multiple databases from different vendors as well as an email server and a message broker), whereas traditional database transactions are limited to a single database.

The main disadvantage is that 2PC is a blocking protocol: the other servers need to wait for the transaction manager to issue a decision about whether to commit or abort each transaction. If the transaction manager goes offline while transactions are waiting for its final decision, they will be stuck and hold their database locks until the transaction manager comes online again and issues its decision. This extended holding of locks may be disruptive to other applications that are using the same databases.[1]

Moreover, if the transaction manager crashes and its record of decisions cannot be recovered (e.g. due to a bug in how the decisions were logged, or due to data corruption on the server), manual intervention may be necessary. Many XA implementations provide an "escape hatch" for transactions to independently decide whether to commit or abort (without waiting to hear from the transaction manager), but this risks violating the atomicity guarantee and is therefore reserved for emergencies.[1]

Specification

The XA specification describes what a resource manager must do to support transactional access. Resource managers that follow this specification are said to be XA-compliant.

The XA specification was based on an interface used in the Tuxedo system developed in the 1980s, but adopted by several systems since then.[2]

See also

References

  1. ^ a b c d e Kleppmann, Martin (April 2, 2017). Designing Data-Intensive Applications (1 ed.). O'Reilly Media. pp. 361–364. ISBN 978-1449373320.
  2. ^ Philip A. Bernstein; Eric Newcomer (2009). Principles of transaction processing. Morgan Kaufmann. pp. 330–336. ISBN 978-1-55860-623-4.

This information is adapted from Wikipedia which is publicly available.

Read other articles:

Koordinat: 47°38′22.55″N 122°7′42.42″W / 47.6395972°N 122.1284500°W / 47.6395972; -122.1284500 Microsoft CorporationKampus Microsoft Redmond di Redmond, WashingtonSebelumnyaMicrosoft Consumer Products (1980–1982)JenisUmumKode emitenNasdaq: MSFTSEHK: 4338Komponen Dow Jones Industrial AverageKomponen NASDAQ-100Komponen S&P 500IndustriPerangkat lunak komputerLayanan daringPermainan videoDidirikan4 April 1975; 48 tahun lalu (1975-04-04) di Albuquer…

Japanese manga series Dai-13 HokenshitsuFirst tankōbon volume cover第13保健室GenreComedy[1] MangaWritten byTakao AoyagiPublished byShogakukanMagazineMonthly Shōnen SundayDemographicShōnenOriginal runMay 12, 2014 – September 12, 2016Volumes4 (List of volumes) Dai-13 Hokenshitsu (第13保健室, The 13th School Infirmary) is a Japanese manga series written and illustrated by Takao Aoyagi. It was serialized in Shogakukan's shōnen manga magazine Monthly Shōnen Sunday fro…

Questa voce o sezione sull'argomento Repubblica Ceca non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. La Repubblica Ceca presenta un paesaggio abbastanza variegato: la Boemia, nell'ovest del Paese, consiste in un bacino percorso dai fiumi Elba e Vltava, circondato per la maggior parte da basse montagne come i Sudeti, dove si trova anche il punto più alto del…

Austrian rower Michaela Taupe-TraerTaupe-Traer in 2013.jpgPersonal informationBorn (1975-01-25) 25 January 1975 (age 48)Klagenfurt, AustriaSportSportRowing Medal record Women's rowing Representing  Austria World Championships 2013 Chungju LW1x 2012 Plovdiv LW1x Michaela Taupe-Traer (born 25 January 1975 in Klagenfurt) is an Austrian rower. In the lightweight single sculls she won the silver medal at the 2012 World Rowing Championships and gold at the 2013 World Rowing Championships. Re…

Village in Saskatchewan, Canada Not to be confused with Rama, Ontario. Village in Saskatchewan, CanadaRamaVillageFormer Saskatchewan Wheat Pool grain elevator in RamaRamaRama in SaskatchewanCoordinates: 51°45′28″N 103°0′3″W / 51.75778°N 103.00083°W / 51.75778; -103.00083[1]CountryCanadaProvinceSaskatchewanCensus division9RegionEast CentralRural MunicipalityRM 305First Area Surveys1890First Post Office1908[2]Incorporated (village)December 18, 19…

ВантуVantoux   Країна  Франція Регіон Гранд-Ест  Департамент Мозель  Округ Мец Кантон Монтіньї-ле-Мец Код INSEE 57693 Поштові індекси 57070 Координати 49°07′50″ пн. ш. 6°13′53″ сх. д.H G O Висота 174 - 258 м.н.р.м. Площа 2,45 км² Населення 808 (01-2020[1]) Густота 373,88 ос./км² Розміще…

A lista de jogos em consoles da Nintendo cobre os jogos eletrônicos presentes oficialmente em consoles da Nintendo. Esta lista inclui jogos para consoles de mesa, consoles portáteis e consoles híbridos.[1] Consoles de mesa Lista de jogos para Nintendo Entertainment System Lista de jogos para Super Nintendo Entertainment System Lista de jogos para Nintendo 64 Lista de jogos para Nintendo GameCube Lista de jogos para Wii Lista de jogos para Wii U Consoles portáteis Lista de jogos para Game Boy…

2006 single by David Gray AlibiSingle by David Grayfrom the album Life in Slow Motion Released27 March 2006 (2006-03-27)[1]Length 4:33 (album version) 3:49 (radio edit) LabelAtlanticSongwriter(s)David GrayProducer(s)Marius de VriesDavid Gray singles chronology Hospital Food (2005) Alibi (2006) You're the World to Me (2007) Alternative coversCD2 single cover Alternative cover7-inch vinyl cover Alibi is a song by David Gray. It was released as the third and final single from…

Kyrsten Sinema (2018) This is the electoral history of Kyrsten Sinema, the senior United States senator from Arizona since 2019. Previously, she represented the 15th district in the Arizona House of Representatives from 2005 to 2011 and in the Arizona Senate from 2011 to 2012. From 2013 to 2019, Sinema represented the newly created 9th congressional district in the United States House of Representatives. Sinema became the first openly bisexual person elected to the House of Representatives in 20…

Academic journalKwartalnik HistorycznyDisciplineHistoryLanguagePolishEdited byDorota DukwiczPublication detailsHistory1887-presentPublisherWydawnictwo Naukowe Semper (Poland)FrequencyQuarterlyStandard abbreviationsISO 4 (alt) · Bluebook (alt1 · alt2)NLM (alt) · MathSciNet (alt )ISO 4Kwart. Hist.IndexingCODEN (alt · alt2) · JSTOR (alt) · LCCN (alt)MIAR · NLM (alt) · ScopusISSN…

غاستون فرنانديز (بالإسبانية: Gastón Fernández)‏    معلومات شخصية الميلاد 12 أكتوبر 1983 (40 سنة)[1][2]  لانوس  الطول 1.70 م (5 قدم 7 بوصة) مركز اللعب مهاجم الجنسية الأرجنتين  معلومات النادي النادي الحالي إستوديانتيس دي لا بلاتا الرقم 10 مسيرة الشباب سنوات فريق ريفر …

Матч Сербія — Албанія Стадіон «Партизана»Турнір Чемпіонат Європи 2016 (кваліфікаційний раунд) Сербія Албанія 0 3 Дата 14 жовтня 2014Стадіон «Партизана», БелградАрбітр Мартін АткінсонГлядачі 25,200Погода 20 °C Вологість повітря 73 % Матч третього туру кваліфікаційного раунду

الباب الشرقيمعلومات عامةالتقسيم الإداري بغداد البلد  العراق الإحداثيات 33°19′48″N 44°24′46″E / 33.33012024°N 44.41289494°E / 33.33012024; 44.41289494 تعديل - تعديل مصدري - تعديل ويكي بيانات سوق على أحد أرصفة باب الشرقي الباب الشرقي أو باب الشرجي، هي من مناطق بغداد العريقة في جانب الرصاف

Noah A. RosenbergAlma materRice UniversitySpouse(s)Donna Zulman, MDAwardsFellow of the American Association for the Advancement of ScienceScientific careerFieldsPopulation geneticsPhylogeneticsMathematical and theoretical biologyThesisStatistical modeling of genetic histories and relationships of populations (2001)Doctoral advisorMarcus Feldman[1] Websiterosenberglab.stanford.edu Noah Aubrey Rosenberg is a geneticist working in evolutionary biology, mathematical phylogenetics, …

Rick Nowels Rick Nowels (* 16. März 1960 in San Francisco als Richard Wright Nowels Jr.)[1] ist ein US-amerikanischer Musikproduzent und Songwriter, der seit den 1980er Jahren international erfolgreich ist. Inhaltsverzeichnis 1 Karriere 2 Diskografie 3 Quellen 4 Weblinks Karriere Seinen ersten großen Erfolg hatte Rick Nowels mit dem Song I Can’t Wait für Stevie Nicks, der Anfang 1986 ein Top-20-Hit in den USA war.[2] Im Herbst 1987 folgte Heaven Is a Place on Earth, den er f…

口和郷土資料館Kuchiwa Hostorical Museum 施設情報正式名称 庄原市口和郷土資料館事業主体 庄原市開館 1982年(昭和57年)[1]所在地 〒727-0112広島県庄原市口和町永田9位置 北緯34度53分37.69秒 東経132度55分37.19秒 / 北緯34.8938028度 東経132.9269972度 / 34.8938028; 132.9269972座標: 北緯34度53分37.69秒 東経132度55分37.19秒 / 北緯34.8938028度 東経132.9269972度 / 3…

Further information: Timeline of the introduction of television in countries This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Television in Pakistan – news · newspapers · books · scholar · JSTOR (February 2018) (Learn how and when to remove this template message) Part of a series on theCulture of Pakistan Histor…

American journalist Donna HanoverFirst Lady of New York CityIn roleJanuary 1, 1994 – December 31, 2001MayorRudy GiulianiPreceded byJoyce DinkinsSucceeded byDiana Taylor (de facto) Personal detailsBornDonna Ann Kofnovec (1950-02-15) February 15, 1950 (age 73)Oakland, California, U.S.Spouses Stanley Hanover ​ ​(m. 1972; div. 1980)​ Rudy Giuliani ​ ​(m. 1984; div. 2002)​ Edwin Oster &…

Tunisian politician Mohamed Hatem Ben SalemTunisian Minister of EducationIn office12 September 2017 – 27 February 2020In office29 August 2008 – 14 January 2011 Personal detailsBorn (1956-02-08) 8 February 1956 (age 67)TunisiaAlma materUniversity of Paris Mohamed Hatem Ben Salem is a Tunisian politician. He was the Minister of Education under former President Zine El Abidine Ben Ali.[1][2][3][4] Biography Hatem Ben Salem was born on 8 Feb…

Eldest Pandava in the epic Mahabharata Fictional character YudhishthiraYudhishthira (centre) and Draupadi seated on a throne, while the other Pandavas surround them, a print by Ravi Varma Press, c. 1910Personal InformationPositionChakravartin SamratDharmarajaAffiliationPandavasChakravartinWeaponSpearFamilyParents Dharmaraja (divine father)Kunti (mother)Pandu (father)Madri (step-mother) Brothers (Kunti) Karna by SuryaBhima by VayuArjuna by IndraHalf-Brothers (Madri) Nakula by NasatyaSahadev…

Kembali kehalaman sebelumnya

Lokasi Pengunjung: 18.118.12.146