5. Distributed Cache
Fast access to data
Performance boost
Elasticity
High Availability
JSR 107 (Temporary Caching for the Java Platform)
– read, write, expiration, write-through, distribution
– JBoss Cache
7. Data Grid
Evolution of distributed caches
Well-known pattern to boost data access
performance and scalability
Clustered by nature
JSR 347 (Data Grids for the Java Platform)
– Querying, map-reducing standard way, consistency
– Infinispan
14. Clustering
Peer to Peer
– No central master, no single point of failure, no
single bottle neck
JGroups
– Reliable multicast communication library, nodes
discovery, sharing data, performing cluster scaling
Consistent Hash
– Hash based data distribution
– How it finds where data locates
Linear in nature: throughput, capacity
16. Cluster Mode: Distribution
Distribution Mode(numOwners=2)
cache.put(K,V)
Cache on
K,V
Server 1
cache.get(K,V)
Cache on
K,V
Server 2
Cache on
Server 3
Cache on
Server 4
24. JDG, JBoss Data Grid
Red Hat JBoss Data
Grid
Infinispan-based
JON
All the benefits of
subscription, including
Red Hat world class
support and services