G'day All,
Is there anyway to share the XWiki cache?
Environment:
* XWiki version 0.9.840
* Database Oracle 9.2
* Application Server = Sun Java System Application Server 7
I have this scenario: one database DB-0, two application servers, AS-1
and AS-2. Two instances of XWiki: X-1 running on AS-1 connecting to
DB-0, and X-2 running on AS-2 connecting to DB-0.
Page updates made via X-1 do not immediately appear when viewed via X-2.
This is presumably because X-1 and X-2 maintain their own caches.
Is there anyway for X-1 and X-2 to share the same cache, or synchronise
the caches when a change is made? I notice that there are some vague
references to clusters in XWikiCacheStore.java but I don't see any
mechanism for triggering a refresh of other caches after a local cache
update.
I've tried turning caching off as a work around but that causes an
unacceptable performance hit.
Thanks, John
---
John Turner
Network Inventory Systems Development (Dialog IT)
Email: John.Turner.2(a)team.telstra.com
Ph: (07) 3887 4010