ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bintisepaha <binti.sep...@tudor.com>
Subject Re: Database transaction updating more than 1 table from CacheStore
Date Tue, 19 Apr 2016 16:14:58 GMT
We do not want to use write-through, because database slowness is the reason
why we are using ignite grid. Write-behind is our choice. But since we want
a few tables to be updated in one DB transaction, it looks like the only way
to achieve this is our own CacheStore implementation on the main cache and
use that to get rows from other caches (they are all linked to a key) and
then update in a single DB transaction. the other caches don't have to
implement write-through.

Is there any better way to achieve this? Can CacheJdbcStoreSessionListener
or a similar implementation achieve what we are trying to do? Not fully
understanding what CacheJdbcStoreSessionListener does.

Thanks,
Binti





--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Database-transaction-updating-more-than-1-table-from-CacheStore-tp4197p4332.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message