This content has been marked as final.
Show 3 replies
-
1. Re: Decoupling disk writes
belaban Nov 12, 2005 1:59 AM (in response to dlg)Use an AsyncCacheLoader as facade, as described in the documentation (jboss.com/products/jbosscache)
-
2. Re: Decoupling disk writes
dlg Nov 12, 2005 8:20 PM (in response to dlg)Thank you Bela--I missed that. I assume it will still write each update separately rather than merging them, correct?
(If so, I may write a version that delays and merges updates cases like mine where updates to different keys are idempotent. I've never looked at the JBossCache, so hopefully it won't be too hard, though I probably won't get around to it for a month or so. If so, I'll contribute it back...)
Thanks again,
Dan -
3. Re: Decoupling disk writes
belaban Nov 14, 2005 8:57 AM (in response to dlg)Yes, it will write each update separately. This can be mitigated, however, by enabling update queueing in the TreeCache itself.
ahem, now, this is not true. Sorry, it would still write individual updates to disk