André Schild - 2003-09-09

Logged In: YES
user_id=119137

Hello,

no, swarmcache is not a cache who shares it's content
between instances. (No matter if on same maschine or not)

Each Swarmcache instance is basically running independent
of all other caches.
When a entry is put in the cache, then it is only in the
cache of this instance.
But, when you invalidate the cache (or only a entry) then this
cache invalidation is replicated via JavaGroups to all connected
instances.
That way, the cache remains consistent even across multiple
instances.

The benefit of this are:
- The communication overhead is very small
- No problems when a cache instance goes down

So we can say, that swarmcache isn't a distributed cache,
but a cache who grants consistent cache entries in a
distributed environment.

Andr