System update spec proposal
tridge at samba.org
tridge at samba.org
Tue Jun 26 21:44:46 EDT 2007
Chris,
> but your comment serves to prove another point: that firing up a
> program that has to do a lot of computation every time a client
> connects is something that's deeply wrong. And that's just for the
> central server.
yes, very true. What rsync as a daemon should do is mmap a
pre-prepared file list, and you generate that file list using
cron.
For the OLPC case this isn't as hard as for the general rsync case, as
you know that all the clients will be passing the same options to the
server, so the same pre-prepared file list can be used for all of
them. In the general rsync case we can't guarantee that, which is what
makes it harder (though we could use a map file named after a hash of
the options).
Coding/testing this takes time though :(
Cheers, Tridge
More information about the Devel
mailing list