Product Documentation : Ehcache Developer Guide : Cache Usage Patterns : write-behind
write-behind
The write-behind pattern changes the timing of the write to the system-of-record. Rather than writing to the system-of-record in the same thread of execution, write-behind queues the data for write at a later time.
The consequences of the change from write-through to write-behind are that the data write using write-behind will occur outside of the scope of the transaction.
This often-times means that a new transaction must be created to commit the data to the system-of-record. That transaction is separate from the main transaction. For more details (including configuration settings) about using the write-behind pattern, see Write-Through and Write-Behind Caches.
Copyright © 2010-2017 Software AG, Darmstadt, Germany.

Product Logo |   Feedback