Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What transactionality guarantees does Terracotta provide?

0
Posted

What transactionality guarantees does Terracotta provide?

0

In DSO, the batch of changes made to the clustered object graph within the boundaries of a lock (begin/end of a “synchronized” block of java code, ReentrantReadWriteLock lock(), OR begin/end of a cluster-wide “named-lock”) are replicated (to the Terracotta-Server and other nodes in the cluster which have a reference to that object) either in an Asynchronous or Synchronous mode. Terracotta DSO passes the classic ACID (Atomic, Consistent, Isolated, Durable) test. DSO does not support semantics of an external transaction manager such as JTA or Spring JdoTransactionManager. There is no notion of a “rollback” in the Java-heap, if a transaction fails. DSO could define a non-natural-Java behavior here, but wants to hear from the community before implementing road-map features around this.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123