Understanding Replication in Database & Distributed Systems SRDS’00 - 1 Database Replication Techniques: A Three Parameter Classification M. Wiesmann F.

Slides:



Advertisements
Similar presentations
COS 461 Fall 1997 Group Communication u communicate to a group of processes rather than point-to-point u uses –replicated service –efficient dissemination.
Advertisements

Global States.
Database Replication in WAN Yi Lin McGill University Distributed Information Systems.
Evaluation of a Scalable P2P Lookup Protocol for Internet Applications
Consistency and Replication Chapter 7 Part II Replica Management & Consistency Protocols.
Metering and Licensing of Resources: Kala ’ s General Purpose Approach by Sergiu S. Simmel and Ivan Godard Review by Seung Jun Lee ABSTRACT “ This paper.
1 Database Replication Using Generalized Snapshot Isolation Sameh Elnikety, EPFL Fernando Pedone, USI Willy Zwaenepoel, EPFL.
Approaches to EJB Replication. Overview J2EE architecture –EJB, components, services Replication –Clustering, container, application Conclusions –Advantages.
Making Services Fault Tolerant
EEC 688/788 Secure and Dependable Computing Lecture 12 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
Distributed Systems Fall 2010 Replication Fall 20105DV0203 Outline Group communication Fault-tolerant services –Passive and active replication Highly.
Database Replication techniques: a Three Parameter Classification Authors : Database Replication techniques: a Three Parameter Classification Authors :
Group Communications Group communication: one source process sending a message to a group of processes: Destination is a group rather than a single process.
CS 582 / CMPE 481 Distributed Systems
CMPT 431 Dr. Alexandra Fedorova Lecture XII: Replication.
EEC 688/788 Secure and Dependable Computing Lecture 12 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
Non-blocking Atomic Commitment Aaron Kaminsky Presenting Chapter 6 of Distributed Systems, 2nd edition, 1993, ed. Mullender.
Software Engineering and Middleware: a Roadmap by Wolfgang Emmerich Ebru Dincel Sahitya Gupta.
1 Lecture 1: Parallel Architecture Intro Course organization:  ~5 lectures based on Culler-Singh textbook  ~5 lectures based on Larus-Rajwar textbook.
Analysis of Web Caching Architectures: Hierarchical and Distributed Caching Pablo Rodriguez, Christian Spanner, and Ernst W. Biersack IEEE/ACM TRANSACTIONS.
Transactional Services Ricardo Jiménez-Peris Marta Patiño-Martínez Technical University of Madrid 1 st Adapt Workshop 23 rd -24 th September 2002 Madrid,
Distributed Systems Fall 2009 Replication Fall 20095DV0203 Outline Group communication Fault-tolerant services –Passive and active replication Highly.
Distributed systems Module 2 -Distributed algorithms Teaching unit 1 – Basic techniques Ernesto Damiani University of Bozen Lesson 4 – Consensus and reliable.
1 A Framework for Highly Available Services Based on Group Communication Alan Fekete Idit Keidar University of Sidney MIT.
CMPT 401 Summer 2007 Dr. Alexandra Fedorova Lecture XII: Replication.
State Machines CS 614 Thursday, Feb 21, 2002 Bill McCloskey.
Distributed Systems: Client/Server Computing
6.4 Data and File Replication Gang Shen. Why replicate  Performance  Reliability  Resource sharing  Network resource saving.
Database Replication. Replication Replication is the process of sharing information so as to ensure consistency between redundant resources, such as software.
Fault Tolerance via the State Machine Replication Approach Favian Contreras.
Replication and Consistency. Reference The Dangers of Replication and a Solution, Jim Gray, Pat Helland, Patrick O'Neil, and Dennis Shasha. In Proceedings.
RELATIONAL FAULT TOLERANT INTERFACE TO HETEROGENEOUS DISTRIBUTED DATABASES Prof. Osama Abulnaja Afraa Khalifah
Aspects and Closures and Promises (Oh My!) Alva L. Couch Tufts University.
Week 5 Lecture Distributed Database Management Systems Samuel ConnSamuel Conn, Asst Professor Suggestions for using the Lecture Slides.
Consistent and Efficient Database Replication based on Group Communication Bettina Kemme School of Computer Science McGill University, Montreal.
DISTRIBUTED COMPUTING Introduction Dr. Yingwu Zhu.
1 ZYZZYVA: SPECULATIVE BYZANTINE FAULT TOLERANCE R.Kotla, L. Alvisi, M. Dahlin, A. Clement and E. Wong U. T. Austin Best Paper Award at SOSP 2007.
1 ACTIVE FAULT TOLERANT SYSTEM for OPEN DISTRIBUTED COMPUTING (Autonomic and Trusted Computing 2006) Giray Kömürcü.
Architectural Design of Distributed Applications Chapter 13 Part of Design Analysis Designing Concurrent, Distributed, and Real-Time Applications with.
IM NTU Distributed Information Systems 2004 Replication Management -- 1 Replication Management Yih-Kuen Tsay Dept. of Information Management National Taiwan.
S-Paxos: Eliminating the Leader Bottleneck
By Shruti poundarik.  Data Objects and Files are replicated to increase system performance and availability.  Increased system performance achieved.
Distributed Systems CS Consistency and Replication – Part IV Lecture 21, Nov 10, 2014 Mohammad Hammoud.
Feb 1, 2001CSCI {4,6}900: Ubiquitous Computing1 Eager Replication and mobile nodes Read on disconnected clients may give stale data Eager replication prohibits.
D u k e S y s t e m s Asynchronous Replicated State Machines (Causal Multicast and All That) Jeff Chase Duke University.
Slide 1 Service-centric Software Engineering. Slide 2 Objectives To explain the notion of a reusable service, based on web service standards, that provides.
Chapter 7: Consistency & Replication IV - REPLICATION MANAGEMENT By Jyothsna Natarajan Instructor: Prof. Yanqing Zhang Course: Advanced Operating Systems.
Distributed Database Management Systems. Reading Textbook: Ch. 1, Ch. 3 Textbook: Ch. 1, Ch. 3 For next class: Ch. 4 For next class: Ch. 4 FarkasCSCE.
Replication Improves reliability Improves availability ( What good is a reliable system if it is not available?) Replication must be transparent and create.
Distributed DBMS, Query Processing and Optimization
Antidio Viguria Ann Krueger A Nonblocking Quorum Consensus Protocol for Replicated Data Divyakant Agrawal and Arthur J. Bernstein Paper Presentation: Dependable.
Highly Available Services and Transactions with Replicated Data Jason Lenthe.
1 Group Communication based on Standard Interfaces Matthias Wiesmann ✶, Xavier Défago ✧, André Schiper ✶ ✶ Swiss Federal Institute of Technology at Lausanne.
Detour: Distributed Systems Techniques
CPS 512 midterm exam #1, 10/7/2016 Your name please: ___________________ NetID:___________ /60 /40 /10.
6.4 Data and File Replication
Mean Value Analysis of a Database Grid Application
Ganymed: Scalable Replication for Transactional Web Applications
Ch > 28.4.
Service-centric Software Engineering
Alternating Bit Protocol
7.1. CONSISTENCY AND REPLICATION INTRODUCTION
Joint Advanced Students School 2005
Consistent Data Replication: Is it feasible in WANs?
Replication and Recovery in Distributed Systems
Distributed Transactions
Planning and Storyboarding a Web Site
Replica Placement Model: We consider objects (and don’t worry whether they contain just data or code, or both) Distinguish different processes: A process.
Distributed Database Management Systems
Distributed Databases
Presentation transcript:

Understanding Replication in Database & Distributed Systems SRDS’ Database Replication Techniques: A Three Parameter Classification M. Wiesmann F. Pedone A. Schiper Swiss Federal Institute of Technology – Lausanne B. Kemme G. Alonso Swiss Federal Institute of Technology – Zürich

Understanding Replication in Database & Distributed Systems SRDS’ Background - Dragon Project  Joint research project between Zürich and Lausanne  Cooperation between Database people (Zürich) and Distributed System people (Lausanne)  Common Interest  Replicated Databases  Goal:  build synergy between both communities.  Results:  Understanding the other community.  New Replication algorithms & techniques.  Exploring Replication Techniques  this paper.

Understanding Replication in Database & Distributed Systems SRDS’ Replicated Database  One Logical Database  N logical replicas  Network connects Replicas  All replica are synchronous (eager replication)  Clients connect to the logical Database.  Replicas processes transactions (ACID properties)

Understanding Replication in Database & Distributed Systems SRDS’ Database Replication Techniques Eager vs. Lazy  Two ways to replicate a database: eager & lazy  Eager Replica are kept coherent  Lazy Replica might diverge (violates ACID)  Eager is traditionally considered too costly [Gray 96]  Search more efficient eager replication.  Systematically explore solution space  Classification

Understanding Replication in Database & Distributed Systems SRDS’ Classification  Many Classifications tentatives  [Wiesmann & All ERSADS’99]  Classification must:  Be applicable for all considered techniques  Group together techniques with same communication patterns  Group together techniques with similar network load.  Permits to:  Systematically Explore Parameter Space  Find out requirements for each Element in Parameter Space  3 Orthogonal Criterion  Server Architecture, Server Interaction, Transaction Termination

Understanding Replication in Database & Distributed Systems SRDS’ Parameter  Server Architecture  Reflects the way the replica are organized in the System.  Where clients send their requests. Primary CopyUpdate Everywhere

Understanding Replication in Database & Distributed Systems SRDS’ Parameter  Server Interaction  Represents the traffic generated for one transaction

Understanding Replication in Database & Distributed Systems SRDS’ Parameter  Transaction Termination  Determines how the outcome of transaction is decided:

Understanding Replication in Database & Distributed Systems SRDS’ The Classification

Understanding Replication in Database & Distributed Systems SRDS’ Requirements for Each Class  Each class contains many replication techniques  Each class implies some requirements:  On the communication primitives (order,reliability uniformity)  On the database system (determinism)  A few Examples:  Present the general protocol for three classes

Understanding Replication in Database & Distributed Systems SRDS’ Non Voting – Constant Interaction – Primary Copy  “Cold Standby” Primary Copy  Typical Commercial configuration [Gray 93 Transaction Processing…]  Needs FIFO Broadcast  Cold Standby (back-up might not have applied changes)  1 Safe - 2 Safe with certain constraints on the communication primitives

Understanding Replication in Database & Distributed Systems SRDS’ Update Everywhere – Linear Interactions – Voting  Classical form of replication  Read One Write All technique [Bernstein 87 Concurency Control…]  Each Operation is Sent to All replicas  The Transaction is terminated by 2PC

Understanding Replication in Database & Distributed Systems SRDS’ Update Everywhere – Non Voting – Constant Interaction  Needs a known determinism point.  Needs total order broadcast.  If the dp at the start  Active Replication [Schneider 90 ACM Survey]  If the dp after start  Certification based replication [Kemme & all ICDCS’ 98 - Pedone & all EuroPar 98]  If the dp in the middle  Possible - never proposed. Active Replication Certification Based Replication

Understanding Replication in Database & Distributed Systems SRDS’ The Issue of Determinism  How do we express the constraints on the server?  One important issue determinism.  We needs something more than a boolean.  Notion of Determinism Point (dp).  Execution from this point is deterministic.

Understanding Replication in Database & Distributed Systems SRDS’ Conclusion  Classification helps:  Explore Solution Space.  Understand the relation between existing techniques.  Understand the requirements for communication and database system.  Give Basis for comparing the techniques (for instance by simulation).  A case for eager replication  Lazy replication usually compared to expensive eager replication.  Should be compared to comparable eager replications.  Non-voting - Update everywhere techniques are very promising.