Summary: A table comparing main supported topologies with different features provided.
Overview
The following table compares the main topologies with the different features provided.
JVMs – number of JVMs
DataSize – total size of cached data (measured without redundancy)
Central – Remote space without client side cache
Stand Alone – Embedded space, none clustered.
Topology Feature
Stand Alone
Replicated space Sync
Replicated space Async
Partitioned space
Master-Local Cache
Central Cache
Cache location
Embedded
Embedded/remote
Embedded/remote
Embedded/remote
Remote+ embedded
Remote
Fault tolerance
No
Yes
Yes
Yes
Yes
Yes
Persistent
Yes
Yes
Yes
Yes
Yes (only the master cache)
Yes
Buffered replication
n/a
No
Yes
Yes – To backup
Yes – via notifications from Amster to local
Yes – To backup
Transmission protocol
None – No remote calls
Replication done via unicast/multicast
Replication done via unicast/multicast
Replication done via unicast/multicast to backup
Access to remote cache done via Unicast
Access to remote cache done via Unicast
Transaction Support
Yes
Yes
Yes
Yes
Yes
Yes
API
JavaSpaces, Map, JDBC, JMS
JavaSpaces, Map, JDBC, JMS
JavaSpaces, Map, JDBC, JMS
JavaSpaces, Map, JDBC, JMS
JavaSpaces, Map, JDBC, JMS
JavaSpaces, Map, JDBC, JMS
Programming language
Java, C#, C++
Java, C#, C++
Java, C#, C++
Java, C#, C++
Java, C#, C++
Java, C#, C++
Data Indexed
Yes
Yes
Yes
Yes
Yes
Yes
Eviction Policies
All In cacheLRU
All In cacheLRU
All In cacheLRU
All In cacheLRU
Master: All In cacheLRULocal in Light Mode:FIFO, LFULRU, Size,NoneLocal in Standard Mode: All In cacheLRU
All In cache LRU
Memory usage – per JVM
DataSize
DataSize
DataSize
DataSize * total partitions
local cache – Base on eviction policy Master Cache – DataSize
DataSize
Memory usage – Total
DataSize
# JVMs x DataSize
# JVMs x DataSize
# JVMs x DataSize
DataSize + Sum (local cache data set size)
DataSize
Coherency
Fully coherent
Fully coherent
Fully coherent
Fully coherent
Fully coherent
Fully coherent
Fits for Database caching
Yes
Yes
Yes
Yes
Yes
Yes
Pessimistic Locking support
Yes
Yes
Yes
Yes
Yes
Yes
Leasing (data expiration) support
Yes
Yes
Yes
Yes
Yes
Yes
Optimistic Locking support
Yes
Yes
Yes
Yes
Yes
Yes
Typical usage
Non-distributed applications Master/Worker
J2EE clustered environments session replication
P2P configurations Non-clustered J2EE applications
Portals Heterogeneous environments HTTP Session Sharing
Portals Heterogeneous environments HTTP Session Sharing
Master/Worker large amount data caching
Wiki Content Tree
Your Feedback Needed!
We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com . Please provide a link to the wiki page you are referring to.
Add Comment