2phase-commit Questions

6

Solved

I've read a post saying that: We can not implement traditional transaction system like 2 phase commit in micro-services in a distributed environment. I agree completely with this. But it wou...

2

Solved

Recently I've read multiple times that two-phase commits are bad, but always as a side note. So there was never a good explanation with it. For example in CQRS Journey Chapter 5: Second, we're ...
Kvass asked 2/10, 2015 at 13:38

1

Solved

I read some information about 2 Phase Commit/ XA distributed transactions and how JTA does support it. Seems to be that there is many resource managers - RM (eg. RDBMS or JMS), and one TransactionM...

3

Solved

I Have two mico-serives A and B where they connect to seperate database, From Mico-serives A i need to persist(save) objects of both A and B in same transtation how to achive this. I am using Spri...

4

Solved

I am trying to understand how three-phase commit avoids blocking Consider the following two failure scenarios: Scenario 1: In phase 2 the coordinator sends preCommit messages to all cohorts and h...
Gentlefolk asked 29/1, 2014 at 7:44

3

Solved

I am looking for an implementation of the 2-phase commit protocol and yes i am new to distributed transactions :) A 2-phase commit will have to implemented between a php application and a remote 'a...
Archenteron asked 10/3, 2012 at 20:50

1

What I am about to describe is essentially a two phase commit problem between two disparate systems and I am looking for advice on how to handle it. In our web application, we offload some expensiv...
Jaclin asked 2/3, 2012 at 17:21

2

I'm considering a setup where I have entities stored both in a document db (e.g. CouchDB) and a graph db (e.g. Neo4j). The rationale is storing each entity information (data, blobs, values, complex...
Lovellalovelock asked 30/8, 2012 at 3:58

1

Solved

Suppose all the databases involved in a distributed transaction implemented with two-phase commit signal that they are ready to commit and have the necessary locks. The coordinator signals to commi...

4

I am implementing a 2-phase commit involving distributed resources. How do I simulate the failure of a participating database ? Pulling out the network cable doesn't work as it causes table deadloc...
Interlocutress asked 11/4, 2012 at 15:1

2

Solved

UserTransaction ut=lookup.... ut.beginTransaction(); saveToFooDB(); statelessEjb.transactionSupportedMethod(); //saves something to the Foo DB saveToFooDB(); ut.commit(); If i was doing the a...

1

Solved

I have a very simple scenario involving a database and a JMS in an application server (Glassfish). The scenario is dead simple: 1. an EJB inserts a row in the database and sends a message. 2. whe...
1

© 2022 - 2024 — McMap. All rights reserved.