Dbsons3

Páginas: 59 (14599 palabras) Publicado: 28 de enero de 2013
Building a Database on S3
Matthias Brantner♦ Daniela Florescu† David Graf♦ Donald Kossmann♦♣ Tim Kraska♣
28msec Inc.♦
{firstname.lastname}@28msec.com

Oracle†

dana.florescu@oracle.com

Systems Group, ETH Zurich♣
{firstname.lastname}@inf.ethz.ch

ABSTRACT
There has been a great deal of hype about Amazon’s simple storage service (S3). S3 provides infinite scalability and high availabilityat low cost. Currently, S3 is used mostly to store multi-media documents (videos, photos, audio) which are shared by a community of people and rarely updated. The purpose of this paper is to demonstrate the opportunities and limitations of using S3 as a storage system for general-purpose database applications which involve small objects and frequent updates. Read, write, and commit protocols arepresented. Furthermore, the cost ($), performance, and consistency properties of such a storage system are studied.

Categories and Subject Descriptors
H.2.2 [Database Management]: Physical Design; H.2.4 [Database Management]: Systems—Concurrency , Distributed databases

General Terms
Algorithms, Design, Experimentation, Performance

Keywords
Cloud Computing, Database, AWS, Concurrency,Eventual Consistency, Storage System, Cost Trade-Off, Performance, SQS, S3, EC2, SimpleDB

1. INTRODUCTION
The Web has made it easy to provide and consume content of any form. Building a Web page, starting a blog, and making both searchable for the public have become a commodity. Arguably, the next wave is to make it easy to provide services on the Web. Services such as Flickr, YouTube,SecondLife, or Myspace lead the way. The ultimate goal, however, is to make it easy for everybody to provide such services — not just the big guys. Unfortunately, this is not yet possible. Clearly, there are non-technical issues that make it difficult to start a new service on the Web. Having the right business idea and

Permission to make digital or hard copies of all or part of this work for personalor classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. SIGMOD’08, June 9–12, 2008, Vancouver, BC, Canada. Copyright 2008 ACM978-1-60558-102-6/08/06 ...$5.00.

effective marketing are at least as difficult on the Web as in the real world. There are, however, also technical difficulties. One of the most crucial problems is the cost to operate a service on the Web, ideally with 24 × 7 availability and acceptable latency. To run a large-scale service like YouTube, several data centers all around the world are needed. But, evenrunning a small service with a few friends involves a hosted server and a database which both need to be administrated. Running a service becomes particularly challenging and expensive if the service is successful: Success on the Web can kill! In order to overcome these issues, utility computing (aka cloud computing) has been proposed as a new way to operate services on the Internet [17]. The goalof utility computing is to provide the basic ingredients such as storage, CPUs, and network bandwidth as a commodity by specialized utility providers at low unit cost. Users of these utility services do not need to worry about scalability because the storage provided is virtually infinite. In addition, utility computing provides full availability; that is, users can read and write data at any timewithout ever being blocked; the response times are (virtually) constant and do not depend on the number of concurrent users, the size of the database, or any other system parameter. Furthermore, users do not need to worry about backups. If components fail, it is the responsibility of the utility provider to replace them and make the data available using replicas in the meantime. Another...
Leer documento completo

Regístrate para leer el documento completo.

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS