[Owncloud] Syncing and Time Synchronization
Brad McEvoy
brad at bradmcevoy.com
Wed Jul 18 11:05:04 UTC 2012
You could also look at zsync, its just like rsync but works over http -
http://zsync.moria.org.uk/ - so that might fit better in a
webdav-centric environment.
there's a bi-directional java implementation of zsync here:
https://github.com/miltonio/milton2/tree/master/milton-client/src/main/java/io/milton/zsync
Both rsync and zsync require your server to either persist or generate
on demand the list of crc's that make up the file chunks.
On 18/07/12 22:54, peter at chubb.wattle.id.au wrote:
>>>>>> "Klaas" == Klaas Freitag <freitag at owncloud.com> writes:
> Klaas> Hi, as you know our current syncing requires that both machines
> Klaas> (client and ownCloud server) operate on exactly the same time
> Klaas> because we use the file modification time to decide which file
> Klaas> to sync where.
>
> Klaas> Unfortunately for a couple of reasons we can not keep up the
> Klaas> requirement of synced times any more, even if it might make
> Klaas> sense.
>
> Klaas> I investigated the last couple of days what we can do. If times
> Klaas> between server and client just had a constant difference, it
> Klaas> were doable, but thats not the case. Time difference is
> Klaas> variable in real world and that means we can't use the mtime to
> Klaas> decide any more.
>
> I suggest taking a look at rsync. It uses size, name and mtime as a
> rough check, then uses md5 in chunks to transfer just changed parts
>
> Peter C
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
More information about the Owncloud
mailing list