[Box Backup] Experimental questions on boxbackup
Noah yan
boxbackup@fluffy.co.uk
Mon, 4 Jul 2005 00:24:04 -0500
Thanks Ben for answering the questions, also the sources do have lots
of document and it is very clean. Also some questsion following on.
In backupclient/BackupStoreFileEncodeStream.h and cpp file, what is
the concept of a receip for them?
What I understand is that most of the performance cost in the backup
process are in the rsync checksum calculating, rolling, etc, and the
crypting in the BackupStoreFileEncodeStream, am I right?
Thanks again.
Noah
On 7/1/05, Ben Summers <ben@fluffy.co.uk> wrote:
>=20
> On 1 Jul 2005, at 16:32, Noah yan wrote:
>=20
> > Dear All,
> >
> > I am doing some experiment on boxbackup for its performance. Several
> > questions about the rollingchecksum of rsync: thanks in advance for
> > answering
>=20
> see notes/encrypt_rsync.txt which explains what's going on in the
> algorithm. It's not the same as rysnc. The concept is almost the
> same, but the actual algorithms are quite different. Encryption makes
> things difficult.
>=20
> > 1. What the block size of each file are splited to calculate its
> > checksum? Or what is the range if it is fixed
>=20
> see BackupStoreFileEncodeStream::CalculateBlockSizes() in lib/
> backupclient/BackupStoreFileEncodeStream.cpp
>=20
> > 2. What if there are overflow when calcualting the sum, such as the a
> > and b in rollingchecksum algorithm. I noticed that a is 16bit as sum
> > for 8bit data, how overflow is handled if have in the algorithm, or
> > other ways to avoid this?
>=20
> see lib/crypto/RollingChecksum.h / .cpp
>=20
> That's the lovely thing about open source. You have the source! And
> in this case, documentation too.
>=20
> Ben
>=20
>=20
>=20
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup
>