The lifetime of objects in the cache is determined by the consistency of the data in the cache across a set of accesses to the data.
缓存中对象的生命周期由跨越一组数据访问的缓存中的数据一致性决定。
In cases where cache data consistency is important, Ehcache can be distributed using the Terracotta Server Array. This gives developers a distributed cache that maintains data coherence.
在缓存数据的一致性是非常重要的场合下,可以通过Terracotta Server Array实现分布式的Ehcache,这样开发者就拥有了能够维护数据一致性的分布式缓存。
This pattern can improve performance and also helps to maintain consistency between data held in the cache and the data in the underlying data store.
这种模式可以提高性能,也有助于保持在缓存中的数据之间的一致性和底层数据存储的数据。
应用推荐