On Jan 18, 2007, at 5:27 PM, Janne Jalkanen wrote:

With a file-based provider this is still possible; one just points
the jspwiki.fileSystemProvider.pageDir property at a shared location.
But this brings up a very real problem with clustered wikis: if there
are more than one WikiEngine writing to either the file provider or
a database provider, the WikiEngine doesn't have any mechanism to
deal with that, i.e., if there are three machines in the cluster
there are three WikiEngine instances all writing to the same provider.
This problem is basically the same with either a file provider or a
database provider.

Here's a trick which you can do: provide a custom URLConstructor that will point all edit links through one machine only. This will allow you to distribute views among several machines, but do edits in only one. Also, you should tune your caching values so that the other engines notice the changes rapidly.

Janne,

This trick sounds really good. Has anyone successfully used such a strategy in production set-up?

cheers,
Igor

_______________________________________________
Jspwiki-users mailing list
[email protected]
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users

Reply via email to