In IMap configuration there is an attribute read-backup-data
that can be set as true which enables a member to read the value from the backup copy, if available, in case the owner of the key is some other member.
Then there is nearcache which will start caching results for a few datastructures locally.
If we have 2 kinds of cluster setup:
2
members, andasync-backup-count
for a map is1
, andread-backup-data
istrue
2
members, nearcache enabled for this map
Would there be differences in these 2 approaches?
1st setup will probably use less memory, and will not be configurable. But in terms of read performance?