OceanStore August 25, 2003 John Kubiatowicz

Slides:



Advertisements
Similar presentations
Perspective on Overlay Networks Panel: Challenges of Computing on a Massive Scale Ben Y. Zhao FuDiCo 2002.
Advertisements

P2P data retrieval DHT (Distributed Hash Tables) Partially based on Hellerstein’s presentation at VLDB2004.
Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT and Berkeley presented by Daniel Figueiredo Chord: A Scalable Peer-to-peer.
What is OceanStore? - 10^10 users with files each - Goals: Durability, Availability, Enc. & Auth, High performance - Worldwide infrastructure to.
POND: the OceanStore Prototype Sean Rhea, Patrick Eaton, Dennis Geels, Hakim Weatherspoon, Ben Zhao and John Kubiatowicz UC, Berkeley File and Storage.
Pond: the OceanStore Prototype CS 6464 Cornell University Presented by Yeounoh Chung.
Pond The OceanStore Prototype. Pond -- Dennis Geels -- January 2003 Talk Outline System overview Implementation status Results from FAST paper Conclusion.
Pond: the OceanStore Prototype Sean Rhea, Patrick Eaton, Dennis Geels, Hakim Weatherspoon,
Pond The OceanStore Prototype. Introduction Problem: Rising cost of storage management Observations: Universal connectivity via Internet $100 terabyte.
Pond: the OceanStore Prototype Sean Rhea, Patrick Eaton, Dennis Geels, Hakim Weatherspoon,
David Choffnes, Winter 2006 OceanStore Maintenance-Free Global Data StorageMaintenance-Free Global Data Storage, S. Rhea, C. Wells, P. Eaton, D. Geels,
Option 2: The Oceanic Data Utility: Global-Scale Persistent Storage John Kubiatowicz.
Outline for today Structured overlay as infrastructures Survey of design solutions Analysis of designs.
1 U.S. Department of the Interior U.S. Geological Survey A Cognitive Agent Based Geospatial Data Distribution System 12 May 2006.
OceanStore Exploiting Peer-to-Peer for a Self-Repairing, Secure and Persistent Storage Utility John Kubiatowicz University of California at Berkeley.
Option 2: The Oceanic Data Utility: Global-Scale Persistent Storage John Kubiatowicz.
CS252/Kubiatowicz Lec 1.1 8/25/03 CS294-4 Peer-to-Peer systems Introduction August 25, 2003 John Kubiatowicz/Anthony Joseph
OceanStore Status and Directions ROC/OceanStore Retreat 1/16/01 John Kubiatowicz University of California at Berkeley.
OceanStore: An Architecture for Global-Scale Persistent Storage John Kubiatowicz University of California at Berkeley.
OceanStore Toward Global-Scale, Self-Repairing, Secure and Persistent Storage John Kubiatowicz University of California at Berkeley.
An OceanStore Retrospective John Kubiatowicz University of California at Berkeley.
OceanStore An Architecture for Global-scale Persistent Storage By John Kubiatowicz, David Bindel, Yan Chen, Steven Czerwinski, Patrick Eaton, Dennis Geels,
OceanStore Status and Directions ROC/OceanStore Retreat 1/13/03 John Kubiatowicz University of California at Berkeley.
Tentative Updates in MINO Steven Czerwinski Jeff Pang Anthony Joseph John Kubiatowicz ROC Winter Retreat January 13, 2002.
Naming and Integrity: Self-Verifying Data in Peer-to-Peer Systems Hakim Weatherspoon, Chris Wells, John Kubiatowicz University of California, Berkeley.
The Oceanic Data Utility: (OceanStore) Global-Scale Persistent Storage John Kubiatowicz.
Cloud Storage is the Future Lessons from the OceanStore Project John Kubiatowicz University of California at Berkeley.
OceanStore: Data Security in an Insecure world John Kubiatowicz.
OceanStore Theoretical Issues and Open Problems John Kubiatowicz University of California at Berkeley.
Introspective Replica Management Yan Chen, Hakim Weatherspoon, and Dennis Geels Our project developed and evaluated a replica management algorithm suitable.
OceanStore: An Architecture for Global-Scale Persistent Storage Professor John Kubiatowicz, University of California at Berkeley
Opportunities for Continuous Tuning in a Global Scale File System John Kubiatowicz University of California at Berkeley.
OceanStore Toward Global-Scale, Self-Repairing, Secure and Persistent Storage John Kubiatowicz University of California at Berkeley.
CITRIS Poster Supporting Wide-area Applications Complexities of global deployment  Network unreliability.
Concurrency Control & Caching Consistency Issues and Survey Dingshan He November 18, 2002.
OceanStore/Tapestry Toward Global-Scale, Self-Repairing, Secure and Persistent Storage Anthony D. Joseph John Kubiatowicz Sahara Retreat, January 2003.
OceanStore Global-Scale Persistent Storage John Kubiatowicz University of California at Berkeley.
OceanStore An Architecture for Global-Scale Persistent Storage Motivation Feature Application Specific Components - Secure Naming - Update - Access Control-
Long Term Durability with Seagull Hakim Weatherspoon (Joint work with Jeremy Stribling and OceanStore group) University of California, Berkeley ROC/Sahara/OceanStore.
OceanStore: An Architecture for Global - Scale Persistent Storage John Kubiatowicz, David Bindel, Yan Chen, Steven Czerwinski, Patric Eaton, Dennis Geels,
Tapestry GTK Devaroy (07CS1012) Kintali Bala Kishan (07CS1024) G Rahul (07CS3009)
OceanStore: An Architecture for Global-Scale Persistent Storage John Kubiatowicz, et al ASPLOS 2000.
Distributed Systems Concepts and Design Chapter 10: Peer-to-Peer Systems Bruce Hammer, Steve Wallis, Raymond Ho.
Failure Resilience in the Peer-to-Peer-System OceanStore Speaker: Corinna Richter.
Pond: the OceanStore Prototype Sean Rhea, Patric Eaton, Dennis Gells, Hakim Weatherspoon, Ben Zhao, and John Kubiatowicz University of California, Berkeley.
1 Configurable Security for Scavenged Storage Systems NetSysLab The University of British Columbia Abdullah Gharaibeh with: Samer Al-Kiswany, Matei Ripeanu.
OceanStore: An Infrastructure for Global-Scale Persistent Storage John Kubiatowicz, David Bindel, Yan Chen, Steven Czerwinski, Patrick Eaton, Dennis Geels,
OceanStore: In Search of Global-Scale, Persistent Storage John Kubiatowicz UC Berkeley.
OceanStore: An Architecture for Global- Scale Persistent Storage.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
Toward Achieving Tapeless Backup at PB Scales Hakim Weatherspoon University of California, Berkeley Frontiers in Distributed Information Systems San Francisco.
POND: THE OCEANSTORE PROTOTYPE S. Rea, P. Eaton, D. Geels, H. Weatherspoon, J. Kubiatowicz U. C. Berkeley.
CS791Aravind Elango Maintenance-Free Global Data Storage Sean Rhea, Chris Wells, Patrick Eaten, Dennis Geels, Ben Zhao, Hakim Weatherspoon and John Kubiatowicz.
OceanStore Global-Scale Persistent Storage John Kubiatowicz University of California at Berkeley.
OceanStore : An Architecture for Global-Scale Persistent Storage Jaewoo Kim, Youngho Yi, Minsik Cho.
Security fundamentals
Persistence of Data in a Dynamic Unreliable Network
Option 2: The Oceanic Data Utility: Global-Scale Persistent Storage
OceanStore: An Architecture for Global-Scale Persistent Storage
Scaling for the Future Katherine Yelick U.C. Berkeley, EECS
Making the Archive Real
Providing Secure Storage on the Internet
Cloud Storage is the Future Lessons from the OceanStore Project
OceanStore: Data Security in an Insecure world
John D. Kubiatowicz UC Berkeley
Pond: the OceanStore Prototype
OceanStore: An Architecture for Global-Scale Persistent Storage
Content Distribution Network
Exploiting Routing Redundancy via Structured Peer-to-Peer Overlays
Outline for today Oceanstore: An architecture for Global-Scale Persistent Storage – University of California, Berkeley. ASPLOS 2000 Feasibility of a Serverless.
Presentation transcript:

OceanStore August 25, 2003 John Kubiatowicz http://www.cs.berkeley.edu/~kubitron/cs294-4-F03

OceanStore Context: Ubiquitous Computing Computing everywhere: Desktop, Laptop, Palmtop Cars, Cellphones Shoes? Clothing? Walls? Connectivity everywhere: Rapid growth of bandwidth in the interior of the net Broadband to the home and office Wireless technologies such as CMDA, Satelite, laser Where is persistent data????

Utility-based Infrastructure? Pac Bell Sprint IBM AT&T Canadian OceanStore Utility-based Infrastructure? Data service provided by storage federation Cross-administrative domain Contractual Quality of Service (“someone to sue”)

What are the advantages of a utility? For Clients: Outsourcing of Responsibility Someone else worries about quality of service Better Reliability Utility can muster greater resources toward durability System not disabled by local outages Utility can focus resources (manpower) at security-vulnerable aspects of system Better data mobility Starting with secure network modelsharing For Utility Provider: Economies of scale Dynamically redistribute resources between clients Focused manpower can serve many clients simultaneously

Key Observation: Want Automatic Maintenance Can’t possibly manage billions of servers by hand! System should automatically: Adapt to failure Exclude malicious elements Repair itself Incorporate new elements System should be secure and private Encryption, authentication System should preserve data over the long term (accessible for 1000 years): Geographic distribution of information New servers added from time to time Old servers removed from time to time Everything just works

OceanStore: Everyone’s Data, One Big Utility “The data is just out there” How many files in the OceanStore? Assume 1010 people in world Say 10,000 files/person (very conservative?) So 1014 files in OceanStore! If 1 gig files (ok, a stretch), get 1 mole of bytes! (or a Yotta-Byte if you are a computer person) Truly impressive number of elements… … but small relative to physical constants Aside: SIMS school: 1.5 Exabytes/year (1.51018)

Outline Motivation Applications We Have Now Why Peer to Peer? What would it actually mean to have such a utility? Why Peer to Peer? A new way of thinking? A Peek at OceanStore Self-Verifying Data Active Data Authentication Archival Data Maintenance Prototype: It’s Alive Conclusion

Pushing the Vision

Secure Object Storage OceanStore Client Data Manager (w/ TCPA) Client (w/ TCPA) Client (w/ TCPA) Client Data Manager Security: Access and Content controlled by client Privacy through data encryption Optional use of cryptographic hardware for revocation Authenticity through hashing and active integrity checking Flexible self-management and optimization: Performance and durability Efficient sharing

MINO: Wide-Area E-Mail Service Internet Local network Replicas Replicas OceanStore Client API Mail Object Layer IMAP Proxy SMTP Traditional Mail Gateways Complete mail solution Email inbox Imap folders Client OceanStore Objects

The Berkeley PetaByte Archival Service OceanStore Concepts Applied to Tape-less backup Self-Replicating, Self-Repairing, Self-Managing No need for actual Tape in system (Although could be there to keep with tradition)

High-Performance, Authenticated Access to legacy Archives via HTTP

Why Peer-to-Peer?

Peer-to-Peer is: Old View: New View: A bunch of flakey high-school students stealing music New View: A philosophy of systems design at extreme scale Probabilistic design when it is appropriate New techniques aimed at unreliable components A rethinking (and recasting) of distributed algorithms Use of Physical, Biological, and Game-Theoretic techniques to achieve guarantees

The Thermodynamic Analogy Large Systems have a variety of latent order Connections between elements Mathematical structure (erasure coding, etc) Distributions peaked about some desired behavior Permits “Stability through Statistics” Exploit the behavior of aggregates (redundancy) Subject to Entropy Servers fail, attacks happen, system changes Requires continuous repair Apply energy (i.e. through servers) to reduce entropy

The Biological Inspiration Biological Systems are built from (extremely) faulty components, yet: They operate with a variety of component failures  Redundancy of function and representation They have stable behavior  Negative feedback They are self-tuning  Optimization of common case Introspective (Autonomic) Computing: Components for performing Components for monitoring and model building Components for continuous adaptation Adapt Dance Monitor

OceanStore Assumptions Peer-to-peer Untrusted Infrastructure: The OceanStore is comprised of untrusted components Individual hardware has finite lifetimes All data encrypted within the infrastructure Mostly Well-Connected: Data producers and consumers are connected to a high-bandwidth network most of the time Exploit multicast for quicker consistency when possible Promiscuous Caching: Data may be cached anywhere, anytime Responsible Party: Some organization (i.e. service provider) guarantees that your data is consistent and durable Not trusted with content of data, merely its integrity Quality-of-Service

Important Example: DOLR (Decentralized Object Location and Routing) GUID1 DOLR Here we have a person that wants to listen to this mp3, they submit a GUID to the infrastructure. And get back fragments that can be verified and used to reconstruct the block. GUID2 GUID1

Single Node Tapestry DOLR: Like a router Application-Level Multicast Other Applications OceanStore Application Interface / Upcall API Dynamic Node Management Routing Table & Object Pointer DB Router Network Link Management Transport Protocols

It’s Alive! Planet Lab testbed Tapestry Java deployment 104 machines at 43 institutions, in North America, Europe, Australia (~ 60 machines utilized) 1.26Ghz PIII (1GB RAM), 1.8Ghz PIV (2GB RAM) North American machines (2/3) on Internet2 Tapestry Java deployment 50,000 lines of Java code 6-7 nodes on each physical machine IBM Java JDK 1.30 Node virtualization inside JVM and SEDA Scheduling between virtual nodes increases latency

Stability under extreme circumstances (May 2003: 1.5 TB over 4 hours) DOLR Model generalizes to many simultaneous apps

Object Location with Tapestry

Tradeoff: Storage vs Locality

Peek at OceanStore

OceanStore Data Model Versioned Objects Each Version is Read-Only Every update generates a new version Can always go back in time (Time Travel) Each Version is Read-Only Can have permanent name Much easier to repair An Object is a signed mapping between permanent name and latest version Write access control/integrity involves managing these mappings Comet Analogy updates versions

Self-Verifying Objects Data Blocks VGUIDi VGUIDi + 1 d2 d4 d3 d8 d7 d6 d5 d9 d1 B -Tree Indirect M d'8 d'9 backpointer copy on write AGUID = hash{name+keys} Heartbeat: {AGUID,VGUID, Timestamp}signed Updates Heartbeats + Read-Only Data

OceanStore API: Universal Conflict Resolution IMAP/SMTP NFS/AFS NTFS (soon?) HTTP Native Clients Conflict Resolution Versioning/Branching Access control Archival Storage OceanStore API Consistency is form of optimistic concurrency Updates contain predicate-action pairs Each predicate tried in turn: If none match, the update is aborted Otherwise, action of first true predicate is applied Role of Responsible Party (RP): Updates submitted to RP which chooses total order This is powerful enough to synthesize: ACID database semantics release consistency (build and use MCS-style locks) Extremely loose (weak) consistency

Two Types of OceanStore Data Active Data: “Floating Replicas” Per object virtual server Interaction with other replicas for consistency May appear and disappear like bubbles Archival Data: OceanStore’s Stable Store m-of-n coding: Like hologram Data coded into n fragments, any m of which are sufficient to reconstruct (e.g m=16, n=64) Coding overhead is proportional to nm (e.g 4) Other parameter, rate, is 1/overhead Fragments are cryptographically self-verifying Most data in the OceanStore is archival!

The Path of an OceanStore Update Inner-Ring Servers Second-Tier Caches Clients

Self-Organizing Soft-State Replication Simple algorithms for placing replicas on nodes in the interior Intuition: locality properties of Tapestry help select positions for replicas Tapestry helps associate parents and children to build multicast tree Preliminary results encouraging Current Investigations: Game Theory Thermodynamics

Archival Dissemination of Fragments Servers

Separating the players: Differing Degrees of Responsibility Inner-ring provides quality of service Handles of live data and write access control Focus utility resources on this vital service Compromised servers must be detected quickly Caching service can be provided by anyone Data encrypted and self-verifying Pay for service “Caching Kiosks”? Archival Storage and Repair Read-only data: easier to authenticate and repair Tradeoff redundancy for responsiveness Could be provided by different companies!

Aside: Why erasure coding? High Durability/overhead ratio! Fraction Blocks Lost Per Year (FBLPY) Exploit law of large numbers for durability! 6 month repair, FBLPY: Replication: 0.03 Fragmentation: 10-35

The Dissemination Process: Achieving Failure Independence Anti-correlation Analysis/Models Mutual Information Human Input Data Mining Model Builder Set Creator Introspection Human Input Network Monitoring model Inner Ring set probe type fragments Independent Set Generation Effective Dissemination

Active Data Maintenance 3274 4577 5544 AE87 3213 9098 1167 6003 0128 L2 L1 L3 Ring of L1 Heartbeats Tapestry enables “data-driven multicast” Mechanism for local servers to watch each other Efficient use of bandwidth (locality)

Extreme Durability? Exploiting Infrastructure for Repair DOLR permits efficient heartbeat mechanism to notice: Servers going away for a while Or, going away forever! Continuous sweep through data also possible Erasure Code provides Flexibility in Timing Data transferred from physical medium to physical medium No “tapes decaying in basement” Information becomes fully Virtualized Thermodynamic Analogy: Use of Energy (supplied by servers) to Suppress Entropy

PondStore Prototype

OceanStore Prototype All major subsystems operational Self-organizing Tapestry base Primary replicas use Byzantine agreement Secondary replicas self-organize into multicast tree Erasure-coding archive Application interfaces: NFS, IMAP/SMTP, HTTP 280K lines of Java (J2SE v1.3) JNI libraries for cryptography, erasure coding PlanetLab Deployment (FAST 2003, “Pond” paper) 104 machines at 43 institutions, in North America, Europe, Australia (~ 60 machines utilized) 1.26Ghz PIII (1GB RAM), 1.8Ghz PIV (2GB RAM) OceanStore code running with 1000 virtual-node emulations

Event-Driven Architecture of an OceanStore Node World Data-flow style Arrows Indicate flow of messages Potential to exploit small multiprocessors at each physical node

Closer Look: Write Cost Small writes Signature dominates Threshold sigs. slow! Takes 70+ ms to sign Compare to 5 ms for regular sigs. PondStore Prototype Phase 4 kB write 2 MB write Validate 0.3 0.4 Serialize 6.1 26.6 Apply 1.5 113.0 Archive 4.5 566.9 Sign Result 77.8 75.8 Large writes Encoding dominates Archive cost per byte Signature cost per write The Future Tentative Writes remove Inner-Ring from latency path Times in ms

Conclusions Peer-to-Peer System are a Hot Area Large amounts of redundancy and connectivity New Organizations for Large-Scale Systems Thermodynamics of systems Continuous Introspection and Repair Help the Infrastructure to Help you Decentralized Object Location and Routing (DOLR) Object-based Storage Self-Organizing redundancy Continuous Repair OceanStore properties: Provides security, privacy, and integrity Provides extreme durability Lower maintenance cost through redundancy, continuous adaptation, self-diagnosis and repair

For more info: http://oceanstore.org OceanStore vision paper for ASPLOS 2000 “OceanStore: An Architecture for Global-Scale Persistent Storage” Pond Implementation paper for FAST 2003 “Pond: the OceanStore Prototype” Tapestry algorithms paper (SPAA 2002): “Distributed Object Location in a Dynamic Network” Tapestry deployment paper (JSAC, to appear) “Tapestry: A Resilient Global-scale Overlay for Service Deployment” Bloom Filters for Probabilistic Routing (INFOCOM 2002): “Probabilistic Location and Routing” CACM paper (February 2003): “Extracting Guarantees from Chaos”