We are using Infinispan as a local cache. For crash-recovery we want to use a save-point strategy, meaning:
- at a given time save the state of the cache (i.e. a snapshot) together with the corresponding timestamp
- restart: get last save-point und restore current status of cache based on other information (actual by a replay of the operations from the
given timestamp on) .
By that we want to avoid the costly persistance of the cache after every operation (and the operations have to be stored anyway).
How can this concept be realized with infinispan?
The nearest thing I read in the documentation was the scheduled write behind cache store.
Is this the right tool (to wait for :-)) ?
Thanks in advance
Write-behind is already supported, only not as a scheduled task. The unscheduled write-behind would still help you.