Tree-Based Consistency Approach for Cloud Databases



Similar documents
Eventually Consistent

The Cloud Trade Off IBM Haifa Research Storage Systems

NoSQL Databases. Institute of Computer Science Databases and Information Systems (DBIS) DB 2, WS 2014/2015

Data Consistency on Private Cloud Storage System

How To Build Cloud Storage On Google.Com

Cloud Courses Description

Cloud Courses Description

Massive Data Storage

Hosting Transaction Based Applications on Cloud

the recursion-tree method

Introduction to NOSQL

A Deduplication-based Data Archiving System

RUNNING HEAD: Cloud Computing 1. Cloud Computing. Future of Computer Networking

ZooKeeper. Table of contents

ABSTRACT. KEYWORDS: Cloud Computing, Load Balancing, Scheduling Algorithms, FCFS, Group-Based Scheduling Algorithm

Cloud Service Model. Selecting a cloud service model. Different cloud service models within the enterprise

On- Prem MongoDB- as- a- Service Powered by the CumuLogic DBaaS Platform

Cloud Computing. Jussi Talaskivi Information Management Centre University of Jyväskylä

Cloud Computing Architectures and Design Issues

Berkeley Ninja Architecture

Agenda. Background and cloud portability and interoperability concepts Distributed computing reference model. development Conclusions

Table of Contents. Abstract... Error! Bookmark not defined. Chapter 1... Error! Bookmark not defined. 1. Introduction... Error! Bookmark not defined.

This paper defines as "Classical"

Role of Cloud Computing in Big Data Analytics Using MapReduce Component of Hadoop

Cloud Computing: Meet the Players. Performance Analysis of Cloud Providers

Meeting Management Solution. Technology and Security Overview N. Dale Mabry Hwy Suite 115 Tampa, FL Ext 702

Best Practices for Using MySQL in the Cloud

Cloud Computing: Computing as a Service. Prof. Daivashala Deshmukh Maharashtra Institute of Technology, Aurangabad

International Journal of Engineering Research & Management Technology

Locality Based Protocol for MultiWriter Replication systems

Cloud Computing. Chapter 1 Introducing Cloud Computing

High Throughput Computing on P2P Networks. Carlos Pérez Miguel

OTM in the Cloud. Ryan Haney

Overview of Luna High Availability and Load Balancing

CLOUD COMPUTING An Overview

NoSQL in der Cloud Why? Andreas Hartmann

Not Relational Models For The Management of Large Amount of Astronomical Data. Bruno Martino (IASI/CNR), Memmo Federici (IAPS/INAF)

Preparing Your Data For Cloud

Where We Are. References. Cloud Computing. Levels of Service. Cloud Computing History. Introduction to Data Management CSE 344

Cloud Computing. Chapter 4 Infrastructure as a Service (IaaS)

OVERVIEW Cloud Deployment Services

Chapter 14: Distributed Operating Systems

Contents. 1. Introduction

Can the Elephants Handle the NoSQL Onslaught?

NCTA Cloud Architecture

How To Understand Cloud Computing

Distributed Data Stores

Introduction to Cloud Computing

Cloud Computing with Microsoft Azure

MASTER PROJECT. Resource Provisioning for NoSQL Datastores

Private Distributed Cloud Deployment in a Limited Networking Environment

Demystifying Cloud Computing Graham McLean

Cloud Computing. What is Cloud Computing?

3. PGCluster. There are two formal PGCluster Web sites.

How To Understand Cloud Computing

Chapter 16: Distributed Operating Systems

Storage Systems Autumn Chapter 6: Distributed Hash Tables and their Applications André Brinkmann

CAP Theorem and Distributed Database Consistency. Syed Akbar Mehdi Lara Schmidt

Lecture 02a Cloud Computing I

How To Understand Cloud Computing

Availability of Services in the Era of Cloud Computing

Referential Integrity in Cloud NoSQL Databases

How to Do/Evaluate Cloud Computing Research. Young Choon Lee

Practical Cassandra. Vitalii

Introduction to Cloud Computing

Double-Take Cloud Migration Center (CMC) Tech Brief

X4-2 Exadata announced (well actually around Jan 1) OEM/Grid control 12c R4 just released

Cloud Computing. Chapter 1 Introducing Cloud Computing

A.Prof. Dr. Markus Hagenbuchner CSCI319 A Brief Introduction to Cloud Computing. CSCI319 Page: 1

Cloud Computing Is In Your Future

CDBMS Physical Layer issue: Load Balancing

High Availability with Postgres Plus Advanced Server. An EnterpriseDB White Paper

DISTRIBUTED SYSTEMS [COMP9243] Lecture 9a: Cloud Computing WHAT IS CLOUD COMPUTING? 2

DISTRIBUTED COMPUTER SYSTEMS CLOUD COMPUTING INTRODUCTION

Tufts University. Department of Computer Science. COMP 116 Introduction to Computer Security Fall 2014 Final Project. Guocui Gao

Internet Video Streaming and Cloud-based Multimedia Applications. Outline

DISTRIBUTED AND PARALLELL DATABASE

Architectural Implications of Cloud Computing

PERFORMANCE ANALYSIS OF PaaS CLOUD COMPUTING SYSTEM

Cloud Computing Services In Libraries: An Overview

Transactions and the Internet

Cloud FTP: A Case Study of Migrating Traditional Applications to the Cloud

Building Out Your Cloud-Ready Solutions. Clark D. Richey, Jr., Principal Technologist, DoD

Transcription:

Tree-Based Consistency Approach for Cloud Databases Md. Ashfakul Islam Susan V. Vrbsky Department of Computer Science University of Alabama

What is a cloud? Definition [Abadi 2009] shift of computer processing, storage, and software delivery away from the desktop and local servers across the network and into next generation data centers hosted by large infrastructure companies, such as Amazon, Google, Yahoo, Microsoft, or Sun

Rebirth of Cloud Computing [Hayes 2008] Service bureaus and time-sharing systems of 1960s On-demand access to computing machinery for users Hub-and-spoke configuration User communication over telephone

Types of Cloud Service According to architectural structure [Sun 2009] Platform as a Service (PaaS) Infrastructure as a Service (IaaS) Software as a Service (SaaS) Database solution Database as a Service (DaaS)

Database as a Service Very attractive solution for small startup companies Centralized or distributed? Distributed solution suited more for TB data size [Abadi 2009] Uninterrupted service requires replication Consistency becomes a complicated issue Conventional time consuming way degrade the performance greatly

Issues in Databases ACID properties Atomicity, Consistency, Isolation, Durability Will focus on consistency If multiple copies of the same data, must all have same consistent state In cloud computing replication is heavily utilized To maintain consistency must communicate over network Difficult if unreliable network

Related Work 1 st consistency model was given in 1970s by Bruce Lindsay [Lindsay et al. 1979] Achieve consistency by maintaining distribution transparency [Vogels 2009] Eric Brewer s CAP theorem [ Brewer 2000] Of Consistency, Availability and network Partition only 2 can be achieved at a time

Related Work Werner Vogels presents eventual consistency model [Vogels 2009] Propose different types of consistency strong consistency weak consistency eventual consistency

Maintaining Consistency in Clouds Updates to data require notifying all replicas of update send messages to all replicas If network unreliable and not all replicas respond to update, all replicas must wait Results in unsuccessful transactions and performance degradation Propose tree-based system to maintain consistency with less performance degradation

Maintaining Consistency in Clouds - Proposed Solution Propose tree-based system to maintain consistency with less interdependency considers reliability of replicas creates tree based on reliability updates sent to replicas based on tree tree is dynamic

Proposed System Description Assume following components: Controller two or more controllers build consistency tree handles failure maintain failure log Database Replicas maintain database interconnected primary replica interacts with users

System Communication Communication Interface

System Communication Controller periodically probes replicas recalculates consistency tree keeps newly added or failure recovered replicas up to date

Building Consistency Tree Prepare the connection graph G(V,E) Select the root of the tree Prepare the consistency tree using Dijkstra s single source shortest path algorithm with slight modification[cormen et. al. Introduction to Algorithms]

Example.9 6.9.6.98 1.8.9.9 2.98 4 5 2.8.99.7 5.9 4.6.9 3.91 3 1 6.93

Update Operation Set Partially Consistent Flag: root receives update request send update request to immediate descendants receives acknowledgement update itself sets operation sequence number as Partially consistent flag

Update Operation Set Fully Consistent Flag leaf found empty descendants list set fully consistent flag as operation sequence number informs immediate ancestor ancestor set fully consistent flag after getting confirmation from all descendants

Failure Recovery Primary server failure controller finds most updated servers with help of consistency flag finds max reliable server from them rebuild consistency tree initiate synchronization

Failure Recovery Other server or communication path down controller is reported unresponsive behavior checks server down or communication down rebuild tree without down server finds alternate path reconfigure tree

Current and Future Work Maintaining consistency and high throughput among replica servers is an issue in cloud databases Proposed tree-based approach to address this Work-in-progress implement simulation of proposed approach, compare to existing strategy Future work implement approach on private cloud (fluffy at UA)

References [1] Slashdot. Multiple Experts Try Defining Clouds Computing.http://tech.slashdot.org/article.pl?sid=08/07/17/2117221. [2] Brian Hayes. Cloud Computing. communications of the acm, July 2008. [3] Introduction to Cloud Computing Architecture. Sun Microsystems, white paper. June 2009. [4] Daniel J. Abadi. Data Management in the Cloud: Limitations and Opportunities, IEEE 2009. [5] B. G. Lindsay P. G. Selinger C. Galtieri J. N. Gray R. A. Lorie T. G. Price F. Putzolu B. W. Wade. Notes on Distributed Databases. July 1979. [6] Eric Brewer. Towards Robust. Distributed Systems. Annual ACM Symposium on Principles of Distributed Computing. July 2000. [7] Werner Vogels. Eventually Consistent. communications of the acm, Jan 2009. [8] Introduction to Algorithms, Third Edition, Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein. Ex-24.3-4.