-
1. cache stores / loaders in Distributed mode
Travis Camechis Feb 9, 2011 10:14 AM (in response to Travis 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
Sanne Grinovero Feb 9, 2011 10:18 AM (in response to Travis Camechis)Other than this http://community.jboss.org/wiki/CacheLoaders ?
-
3. cache stores / loaders in Distributed mode
Travis Camechis Feb 9, 2011 10:33 AM (in response to Sanne Grinovero)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 Zamarreño Feb 10, 2011 12:30 PM (in response to Travis 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
Travis Camechis Feb 10, 2011 2:19 PM (in response to Galder Zamarreño)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
Bertrand Renuart Feb 17, 2011 4:49 AM (in response to Travis 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 Zamarreño Feb 17, 2011 12:04 PM (in response to Bertrand Renuart)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 Zamarreño)+1 to both points.