


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















Landon Cox, Christopher D. Murray
and Brian D. Noble
University of Michigan, Ann Arbor
Presented by Danesh Irani
-^
Motivation
-^
Goals
-^
Enabling Technologies
-^
Design^ –
Data Chunks – File Meta
File Meta
Backup / Deletion
-^
Finding redundancy
-^
Finding buddies
-^
Backup protocol
-^
Restoration
-^
Detecting Failure and Malice
-^
Preventing Greed
-^
Limitations
-^
Conclusion
Decentralized, efficient, cost-free,administration-free system.
-^
Peer-to-peer backup system.^ –
Nodes may come and go.
Nodes may come and go.
Unreliable and untrusted, possibly malicious.
-^
Leverage common data where possible (e.g.Windows, Office, Linux, Open Office).
-^
Preserve privacy.
Content-Based Indexing – minimizes storageoverhead by finding redundant data acrossfiles, files in a system or distinct files.
-^
Peer
Use pastry a scalable,
Peer
Use pastry a scalable,
self-organizing, routing and object locationinfrastructure for peer-to-peer applications.
-^
Sharing with Confidentiality – Use convergentencryption for all on-disk chunks.
Chunking takes place when a file is closedafter update/creation.
•H
c^
Chunk ID
Complete set Chunk IDs on a node forms asignature.
c
c^
-^
Chunk ID
•K
c^
Encrypted, mutable and not chunked.
-^
List of handles H
c^
for the chunks comprising
the file.
-^
Reference count.
-^
Reference count.
-^
Plus the usual…^ –
Ownership,
Permissions,
Creation and modification times,
Etc.
Backup Request^ –
Remote hosts must supply public key with backup request.
If chunk exists, add requesting host to owner list.
Local reference count is incremented.
-^
Delete Request
-^
Delete Request^ –
Requests from remote hosts must be signed by secret key.
Check against public key.
When reference count = 0, chunk is removed.
Signatures are large. 20 bytes per chunk, soapproximately 1.3MB per GB.
-^
Instead of sending a complete signature send a small, random subset of their signaturesa small, random subset of their signatures called an abstract.
-^
Evaluation shows that anything above a 1%sampling rate is great.
Nodes should have substantial overlap toreduce storage overhead.
-^
Most buddies should be nearby to reduce global network load and improve restoreglobal network load and improve restore performance.
-^
One buddy must be located elsewhere toprovide geographic diversity.
-^
As a rule of thumb, maintain five buddies
Uses two overlays to facilitate buddy discovery^ –
Network proximity
Filesystem overlay
-^
NodeID
is a hash of fully
NodeID
is a hash of fully
name.
-^
Pick a random NodeID and route a discoveryrequest (includes abstract).
-^
Each node on the route computes its coverageand returns it.
Skeleton is a representation of a machine’scurrent file system state.
-^
Stored both on the machine and all of its backup buddies.backup buddies.
-^
Snapshot - a discreet backup event.
-^
State necessary for new snapshot:^ •^
Add set,
-^
Delete set,
-^
Meta-data list
Partial restores are straight forward. Findchunks correspond to the restore request andobtain them from nearest buddy.
-^
Full restore slightly more complicated.
-^
Full restore slightly more complicated.^ –
When a node rejoins the network, it keeps thesame NodeID, obtains its skeleton from a buddy.
Decrypts it with the key generated from apassphrase.
Since the root block contains the set of buddies ineffect when it was replicated, all state can berecovered.
Since buddies expect to be spot-checkedperiodically, if the buddy does not hear from acorresponding host for a long period of time,assume host decommissioned or re-installed.
-^
Done conservatively, incase a long-lived failureis mistaken for a voluntary removal.
Greedy hosts can consume excess storage.
-^
Three solutions:^ –
Group backup clients based on resources^ consumed.consumed.
Cryptographic puzzles according to storageconsumed.
Electronic currency (atomicity in the exchange ofbackup state and currency).