oracle / coherence

Oracle Coherence Community Edition
https://coherence.community
Universal Permissive License v1.0
427 stars 70 forks source link

Coherence CE transaction support? #66

Closed javafanboy closed 2 years ago

javafanboy commented 2 years ago

I need some general guidance on what support is available in Coherence CE for transactional update of multiple objects at the same time (in addition to what can be done with entry processors).

At one hand the documentation states that "Transaction Framework" is not included in CE on the other hand I can see that the CacheAdapter class is present in the source code?

Is the intention that you need to write your own equivalent of the old coherence-tx.rar (that is not provided with CE) or what is the intended use of CacheAdpater?

thegridman commented 2 years ago

As you have seen, transaction support is a commercial feature and not in CE. From looking at the code I would think the CacheAdapter class is in CE by mistake.

Personally, way back when I was a Coherence customer, I thought the transaction API was too restrictive. The majority of applications I was involved with required the use of cache features that were not allowed on a transactional cache.

The most useful type of transaction in Coherence is the "partition level transaction" where you can use key association to update a number of related cache entries across different caches, as long as their keys map to the same partition.

javafanboy commented 2 years ago

Thanks for clarifying that and yes I am looking into an algorithm based on entry processors instead - just wanted to know what features that where available and not "for the record"....

On Tue, May 17, 2022 at 12:43 PM Jonathan Knight @.***> wrote:

As you have seen, transaction support is a commercial feature and not in CE. From looking at the code I would think the CacheAdapter class is in CE by mistake.

Personally, way back when I was a Coherence customer, I thought the transaction API was too restrictive. The majority of applications I was involved with required the use of cache features that were not allowed on a transactional cache.

— Reply to this email directly, view it on GitHub https://github.com/oracle/coherence/issues/66#issuecomment-1128712790, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADXQF2VCLTRR2ZUZTQI7PTVKNZ5JANCNFSM5WCKUOFA . You are receiving this because you authored the thread.Message ID: @.***>