jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller" <thomas.tom.muel...@gmail.com>
Subject Re: Replicating Data Store
Date Tue, 18 Sep 2007 09:08:43 GMT

> new Data Store. On a scale of 1-10, how difficult do you think it would be?

Not that difficult, maybe 5.

> I was thinking it would be a matter of launching a thread for each write
> operation performed.

I would do it like this:

while(true) {
  if(end) break;
  writeBlockToDisk(); // blocks
waitForNetwork(); // blocks

> There would have to be a database configured on the
> second drive,

Not when using the FileDataStore. There is currently no
DatabaseDataStore (but probably somebody will write one).


View raw message