-
1. cache stores / loaders in Distributed mode
camechis Feb 9, 2011 10:14 AM (in response to camechis)Any info on or links on how to properly setup a cache store and loader operating in Distributed mode?
-
2. cache stores / loaders in Distributed mode
sannegrinovero Feb 9, 2011 10:18 AM (in response to camechis)Other than this http://community.jboss.org/wiki/CacheLoaders ?
-
3. cache stores / loaders in Distributed mode
camechis Feb 9, 2011 10:33 AM (in response to sannegrinovero)yeah, just wasn't clear on how it works in distributed mode. Does each server node have a cache loader / store that writes back but then what happens if you have data that is replicated on 2 of the nodes for redudancy, does it get saved twice or is it smart enough?
-
4. cache stores / loaders in Distributed mode
galder.zamarreno Feb 10, 2011 12:30 PM (in response to camechis)Well, it all comes down to whether the cache store is shared or not. If it's shared, only the node where the call originates will store it. If the cache store is not shared, each node has its own cache store, so the originating node and the nodes that store copies will update their cache stores.
-
5. cache stores / loaders in Distributed mode
camechis Feb 10, 2011 2:19 PM (in response to galder.zamarreno)I see, just to make sure I am clear, A shared store would be something like a jdbc store correct?
-
6. cache stores / loaders in Distributed mode
brenuart Feb 17, 2011 4:49 AM (in response to camechis)Yes, although conceptually a fileStore could be shared as well if located on a NAS or else... but I wouldn't advice to do so.
-
7. cache stores / loaders in Distributed mode
galder.zamarreno Feb 17, 2011 12:04 PM (in response to brenuart)Exactly, a typical shared cache store would be a JDBC database, or an Amazon S3 store...
FileCacheStore is better suited for unshared stores IMO.
-
8. cache stores / loaders in Distributed mode
mircea.markus Feb 21, 2011 7:38 AM (in response to galder.zamarreno)+1 to both points.