Ehcache 2.6.x Documentation
About Distributed Cache
Logical View............................................................................................................................16/321
Network View..........................................................................................................................16/321
Memory Hierarchy View.........................................................................................................17/321
Differences Between Terracotta Distributed Cache and Standalone or Replicated Cache............18/321
Code Samples.................................................................................................................................19/321
Development with Maven and Ant.................................................................................................19/321
Setting up for Integration Testing............................................................................................20/321
Interactive Testing....................................................................................................................20/321
Cache Consistency Options.......................................................................................................................21/321
Introduction.....................................................................................................................................21/321
Server-Side Consistency.................................................................................................................21/321
Server Deployment Topology..................................................................................................21/321
Restating in terms of Quorum based replicated-write protocols..............................................21/321
Client-Side Consistency..................................................................................................................21/321
Model Components..................................................................................................................22/321
Mapping the Model to Distributed Ehcache............................................................................22/321
Standard Client-Side Consistency Modes................................................................................22/321
Consistency Modes in Distributed Ehcache...................................................................................23/321
Strong Consistency...................................................................................................................23/321
Eventual Consistency...............................................................................................................24/321
Other Safety Features......................................................................................................................25/321
CAS Cache Operations.............................................................................................................25/321
Use Cases And Recommended Practices........................................................................................25/321
Shopping Cart - optimistic inventory.......................................................................................25/321
Shopping Cart with Inventory Decrementing..........................................................................25/321
Financial Order Processing - write to cache and database.......................................................26/321
Immutable Data........................................................................................................................26/321
Financial Order Processing - write to cache as SOR...............................................................27/321
E-commerce web app with Non-sticky sessions......................................................................27/321
E-commerce web app with sticky sessions..............................................................................28/321
E-commerce Catalog................................................................................................................28/321
Storage Options..........................................................................................................................................29/321
Introduction.....................................................................................................................................29/321
MemoryStore..................................................................................................................................29/321
Suitable Element Types............................................................................................................29/321
Memory Use, Spooling, and Expiry Strategy..........................................................................29/321
BigMemory (Off-Heap Store)........................................................................................................30/321
Suitable Element Types............................................................................................................31/321
DiskStore........................................................................................................................................31/321
DiskStores are Optional...........................................................................................................31/321
Suitable Element Types............................................................................................................31/321
Storage......................................................................................................................................32/321
Expiry and Eviction..................................................................................................................33/321
Some Configuration Examples.......................................................................................................33/321
Performance Considerations...........................................................................................................34/321
ii
评论0
最新资源