Hi,
I suppose you are talking about data caching with respect to Entity Beans.
Caching makes sense only when average overhead associated with updating
cache is less than the overhead that would be needed to access individual
instances repeatedly between cache instances.
Application servers also allow a shared-object cache across the cluster but
this introduces a potential problem of cache inconsistency between the
different nodes. A distributed shared cache needs to stay in synch with the
other caches in the cluster. It needs to implement a lock manager similar
to the database and a messaging service to send messages between the
different servers.
Most of the servers provide Read-Only and Read-Write cache strategy for
clustered environment.
>From a performance point of view it is preferable to cache only Read-Only
data across the cluster. Caching Read-write data across the cluster does
not make any sense as there is a huge overhead in keeping all the caches
in synch.
My 2c...
Regards,
Milind
Amarnath
Palaniswamy To: [EMAIL PROTECTED]
<Amarnath@HUAWEI. cc:
COM> Subject: Data Cahching & Cluster Env.
Sent by: A
mailing list for
Enterprise
JavaBeans
development
<EJB-INTEREST@JAV
A.SUN.COM>
09/05/2002 01:26
PM
Please respond to
Amarnath
Palaniswamy
hi,
can anybody throw me some light on this.
1. I want to find out in a clustered enviornmnet where are all the
other servers availbalbe in the cluster. Lets say my application
can sit in any server in the cluster enviormenet, i want to find
other servers in the cluster from that point. Hope this will express
my reuirment.
2. Is there any good caching mechanism for the clustered env.
Some sugg :
a. We can keep a caheserver which hold the cahces of data.
b. All the servers in the cluster can holds the cahce data, but any
change of the cahce data should also take care to inform to
other cache in other servers.
Any ideas in this to holds the cache data on server side ???
thanks in advance for the valuble replies.
with regards,
Thambu.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".