Dan C. Marinescu

Total Page:16

File Type:pdf, Size:1020Kb

Dan C. Marinescu Cloud Computing This page is intentionally left blank Cloud Computing Theory and Practice Dan C. Marinescu AMSTERDAM • BOSTON • HEIDELBERG • LONDON NEW YORK • OXFORD • PARIS • SAN DIEGO SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO Morgan Kaufmann is an imprint of Elsevier Acquiring Editor: Steve Elliot Editorial Project Manager: Lindsay Lawrence Project Manager: Anitha Kittusamy Ramasamy Cover Designer: Russell Purdy Morgan Kaufmann is an imprint of Elsevier 225 Wyman Street, Waltham, 02451, USA Copyright © 2013 Elsevier Inc. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the publisher. Details on how to seek permission, further information about the Publisher’s permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www.elsevier.com/permissions. This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this field are constantly changing. As new research and experience broaden our ­understanding, changes in research methods, or professional practices, or medical treatment may become ­necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any information, methods, compounds, or experiments described herein. In using such information or methods they should be mindful of their own safety and the safety of others, including parties for whom they have a professional responsibility. To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any liability for any injury and/or damage to persons or property as a matter of ­products liability, negligence or otherwise, or from any use or operation of any methods, products, ­instructions, or ideas contained in the material herein. Library of Congress Cataloging-in-Publication Data Application submitted British Library Cataloguing in Publication Data A catalogue record for this book is available from the British Library ISBN: 978-0-12404-627-6 For information on all MK publications visit our website at www.mkp.com Printed in the United States of America 13 14 15 16 17 10 9 8 7 6 5 4 3 2 1 To Vera Rae and Luke Bell This page is intentionally left blank Contents Preface ������������������������������������������������������������������������������������������������������������������������������������������������� xiii Foreword �������������������������������������������������������������������������������������������������������������������������������������������� xvii CHAPTER 1 Introduction .................................................................................1 1.1 Network-Centric Computing and Network-Centric Content ���������������������������������������3 1.2 Peer-to-Peer Systems ���������������������������������������������������������������������������������������������������7 1.3 Cloud Computing: An Old Idea Whose Time has Come ���������������������������������������������9 1.4 Cloud Computing Delivery Models and Services �����������������������������������������������������11 1.5 Ethical Issues in Cloud Computing ���������������������������������������������������������������������������14 1.6 Cloud Vulnerabilities �������������������������������������������������������������������������������������������������15 1.7 Major Challenges Faced by Cloud Computing..........................................................16 1.8 Further Reading ���������������������������������������������������������������������������������������������������������17 1.9 History Notes �������������������������������������������������������������������������������������������������������������18 1.10 Exercises and Problems ���������������������������������������������������������������������������������������������18 CHAPTER 2 Parallel and Distributed Systems .................................................21 2.1 Parallel Computing ����������������������������������������������������������������������������������������������������21 2.2 Parallel Computer Architecture ���������������������������������������������������������������������������������25 2.3 Distributed Systems ���������������������������������������������������������������������������������������������������27 2.4 Global State of a Process Group ��������������������������������������������������������������������������������28 2.5 Communication Protocols and Process Coordination �����������������������������������������������32 2.6 Logical Clocks �����������������������������������������������������������������������������������������������������������34 2.7 Message Delivery Rules; Causal Delivery �����������������������������������������������������������������35 2.8 Runs and Cuts; Causal History ����������������������������������������������������������������������������������38 2.9 Concurrency ���������������������������������������������������������������������������������������������������������������41 2.10 Atomic Actions ����������������������������������������������������������������������������������������������������������44 2.11 Consensus Protocols ��������������������������������������������������������������������������������������������������48 2.12 Modeling Concurrency with Petri Nets ���������������������������������������������������������������������51 2.13 Enforced Modularity: The Client-Server Paradigm ���������������������������������������������������57 2.14 Further Reading ���������������������������������������������������������������������������������������������������������62 2.15 History Notes �������������������������������������������������������������������������������������������������������������62 2.16 Exercises and Problems ���������������������������������������������������������������������������������������������64 CHAPTER 3 Cloud Infrastructure ....................................................................67 3.1 Cloud Computing at Amazon ������������������������������������������������������������������������������������67 3.2 Cloud Computing: The Google Perspective ��������������������������������������������������������������77 vii viii Contents 3.3 Microsoft Windows Azure and Online Services ���������������������������������������������������������79 3.4 Open-Source Software Platforms for Private Clouds ������������������������������������������������80 3.5 Cloud Storage Diversity and Vendor Lock-in ������������������������������������������������������������84 3.6 Cloud Computing Interoperability: The Intercloud ���������������������������������������������������86 3.7 Energy Use and Ecological Impact of Large-Scale Data Centers �����������������������������88 3.8 Service- and Compliance-Level Agreements.............................................................91 3.9 Responsibility Sharing Between User and Cloud Service Provider ��������������������������92 3.10 User Experience ���������������������������������������������������������������������������������������������������������93 3.11 Software Licensing ����������������������������������������������������������������������������������������������������95 3.12 Further Reading ���������������������������������������������������������������������������������������������������������96 3.13 History Notes �������������������������������������������������������������������������������������������������������������97 3.14 Exercises and Problems ���������������������������������������������������������������������������������������������97 CHAPTER 4 Cloud Computing: Applications and Paradigms .............................99 4.1 Challenges for Cloud Computing ����������������������������������������������������������������������������100 4.2 Existing Cloud Applications and New Application Opportunities ��������������������������101 4.3 Architectural Styles for Cloud Applications ������������������������������������������������������������102 4.4 Workflows: Coordination of Multiple Activities �����������������������������������������������������104 4.5 Coordination Based on a State Machine Model: The ZooKeeper ���������������������������112 4.6 The MapReduce Programming Model ���������������������������������������������������������������������115 4.7 A Case Study: The GrepTheWeb Application ����������������������������������������������������������118 4.8 Clouds for Science and Engineering ������������������������������������������������������������������������120 4.9 High-Performance Computing on a Cloud ��������������������������������������������������������������121 4.10 Cloud Computing for Biology Research �����������������������������������������������������������������125 4.11 Social Computing, Digital Content, and Cloud Computing ������������������������������������128 4.12 Further Reading �������������������������������������������������������������������������������������������������������130 4.13 Exercises and Problems �������������������������������������������������������������������������������������������130 CHAPTER 5 Cloud Resource Virtualization ...................................................131 5.1 Virtualization �����������������������������������������������������������������������������������������������������������132
Recommended publications
  • Das X Window System
    29.06.11 Text für die Fußzeile 1 LUG Frankfurt X Window System X11 - 1 Das X Window System Ein Vortrag von Martin Feuersänger und Bernd 28.6.2011 im Haus Ronneburg, Frankfurt ● Was wollen wir euch erzählen? Teil 1 ● Die Geschichte von X ● Das X Protokoll Teil 2 ● Das X Window System im modernen Linux Desktop ● Was kommt nach X: Der Wayland Display Manager To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work. This work is published from: Germany. 29.06.11 Text für die Fußzeile 2 LUG Frankfurt X Window System X11 - 1 Was war 1984 Stand der Technik? ● 1984 war das Erscheinungsjahr der ersten Version von X ● X ist eine Verknüpfung eines Bitmap Displays mit dem Timeshare Computing Ansatz in der Zeit aufkommender Computervernetzung ● Bitmap Display Douglas Engelbart (Stanford Research Center) erfindet die Maus (Patent 1967) als Eingabegerät und macht erste Versuche in Richtung grafischer Benutzerschnittstellen Engelbarts Schüler entwickeln den Alto (1973) am Xerox PARC und später den Star (1981), das erste kommerzielle GUI System Apples Lisa (1983) und Macintosh (1984) erscheinen, stark vom Alto inspiriert To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work. This work is published from: Germany. 29.06.11 Text für die Fußzeile 3 LUG Frankfurt X Window System X11 - 1 Was war 1984 Stand der Technik? ● Timeshare Computing Das vorherschende Computer-System der 60er und 70er. Große, leistungsfähige Zentralcomputer (Mainframes) können von vielen leistungsschwachen Terminals aus erreicht werden.
    [Show full text]
  • The University and the Community Carnegie Mellon and Its Relationship to Pittsburgh 1900-2008
    The University and the Community Carnegie Mellon and its Relationship to Pittsburgh 1900-2008 Jess Anders, Liz DeVleming, Vincent Giacalone, Evan Gross, Zhi Wei Leong, Ross MacConnell, Ellen Parkhurst, & Faryal Kahn Instructor: Professor Joel A. Tarr Course Assistants: Alex Bennett, James Dougherty 79-410 | Fall 2008 Table of Contents ACKOWLEDGEMENTS 3 INTRODUCTION 6 THE DEVELOPMENT OF A UNIVERSITY 7 THE WOMEN OF CARNEGIE 27 WORK, PRAY, GIVE 48 THE HISTORY OF CARNEGIE ATHLETICS 66 CARNEGIE MELLON AND THE PITTSBURGH PUBLIC SCHOOLS 108 TECHNOLOGY 140 ACCOMMODATING CHANGE 157 FINE ARTS AND THE COMMUNITY ERROR! BOOKMARK NOT DEFINED. Appendix: Some Notes on Environmental Research This Report is dedicated to Dr. Edwin Fenton Professor Emeritus, Carnegie Mellon University For his Contributions Towards Strengthening the Relationship Between Carnegie Mellon University and the Pittsburgh Community 4 79-410 Fall 2008 Acknowledgements We would like to particularly acknowledge the help of the following University faculty and staff members who visited our class and shared their perspectives about the relationship of CMU to the community in areas of their expertise. In addition, they generously provided direction concerning various resources that would aid our study. We would also like to acknowledge the generosity of a number of individuals from both inside and outside the University who shared their various expertise in different areas with us. The names of these individuals are listed in the reference notes for each of the sections. Jennie M. Benford,
    [Show full text]
  • A Survey of Distributed File Systems
    Annu. Rev. Comput. Sci. 1990.4:73-104 Copyright © 1990 by Annual Reviews Inc. All rights reserved A SURVEY OF DISTRIBUTED FILE SYSTEMS M. Satyanarayanan School of Computer Science, Carnegie Mellon University 1. INTRODUCTION The sharing of data in distributed systems is already common and will become pervasive as these systems grow in scale and importance. Each user in a distributed system is potentially a creator as well as a consumer of data. A user may wish to make his actions contingent upon information from a remote site, or may wish to update remote information. Sometimes the physical movement of a user may require his data to be accessible elsewhere. In both scenarios, ease of data sharing considerably enhances the value of a distributed system to its community of users. The challenge is to provide this functionality in a secure, reliable, efficient, and usable manner that is independent of the size and complexity of the distributed system. This paper is a survey of the current state of the art in the design of distributed file systems, the most widely used class of mechanisms for sharing data. It consists of four major parts: a brief survey of background material, case studies of a number of contemporary file systems, an identi­ Annu. Rev. Comput. Sci. 1990.4:73-104. Downloaded from www.annualreviews.org fication of the key design techniques in use today, and an examination of research issues that are likely to challenge us in the next decade. by University of California - Los Angeles UCLA Digital Coll Services on 05/22/13.
    [Show full text]
  • 2009 Meeting of the Minds Program [Pdf]
    meeting of the Carnegie Mellon University Undergraduate Research Office minds www.cmu.edu/uro Meeting of the Minds Spring 2009 Ideas Bubbling? eeting of the minds carnegie mellon undergraduate research symposium M presented by the undergraduate research office elcome We welcome you to our 14th annual Meeting of the Minds. This is an especially important year. Our Undergraduate Research Office, which sponsors Meeting of the Minds, is celebrating its 20th anniversary. A far-thinking Associate Provost, Barbara Lazarus worked very hard to establish an undergraduate research program in 1989. The result is a nationally recognized and flourishing Wundergraduate research office. There is a lot to see and hear today. The abstracts in this booklet provide a good map to begin your journey. Be prepared for the descriptions to come alive in novel ways. Whether you travel through the poster displays, or attend a few oral presentations or watch a demonstration or visit the art gallery, you won’t be disappointed. Consider taking some time to dabble in an interest. Or explore something completely new. Feel free to visit a friend’s project or someone you don’t know at all. Whatever path you choose, you will find a broad range of interesting research across all of the disciplines. There are two important times to keep in mind. At 2:30, Indira Nair, Professor in Engineering and Public Policy and Vice Provost for Education, will deliver a short keynote address in the first floor Kirr Commons area. We will also hold a drawing in celebration of our 20th anniversary. Just as importantly, at 5:00 pm, our Awards Ceremony begins in McConomy Auditorium.
    [Show full text]
  • The Early Years of Academic Computing: a Collection of Memoirs
    Published by The Internet-First University Press The Early Years of Academic Computing: A Collection of Memoirs Edited by William Y. Arms and Kenneth M. King This is a collection of reflections/memoirs concerning the early years of academic computing, emphasizing the period from the 1950s to the 1990s when universities developed their own com- puting environments. Cornell University Initial Release: June 2014 Increment 01: April 2016 Increment 02-04: April 2017 NOTE: This is the first part of a set of memoirs to be published by The Internet-First University Press. This book – http://hdl.handle.net/1813/36810 Books and Articles Collection – http://ecommons.library.cornell.edu/handle/1813/63 The Internet-First University Press – http://ecommons.library.cornell.edu/handle/1813/62 An Incremental Book Publisher’s Note This is the second Internet-First publication in a new publishing genre, an ‘Incremental Book’ that becomes feasible due to the Internet. Unlike paper-first book publishing – in which each contribution is typically held in abeyance until all parts are complete, and only then presented to the reading public as part of a single enti- ty – with Internet publishing, book segments (Increments) can be released when finalized. Book parts may be published as they become available. We anticipate releasing updated editions from time-to-time (using dat- ed, rather than numbered editions) that incorporate these increments. These digital collections may be freely downloaded for personal use, or may be ordered as bound copies, at user expense, from Cornell Business Ser- vices (CBS) Digital Services by sending an e-mail to [email protected] or calling 607.255.2524.
    [Show full text]
  • Architectural Issues in the Andrew Message Syste M
    Message Handling Systems CMU-ITC-89-076 andDistributed Applications Architectural Issues In the Andrew Message System Nathaniel S. Borenstein, Craig F. Everhart, Jonathan Rosenberg and Adam Stoller* Information Technology Center Carnegie Mellon University Pittsburgh, PA 15213 The Andrew Message System is one of the most ambitious and technically suc- cessful systems yet built in the area of electronic communication. In this paper, the authors of the system explain the key decisions in the architecture and reflect on what was done right and what was clearly wrong. Implementation details are mentioned only in passing, in order to maximize the relevance of this paper for the designers of successor systems. 1. Introduction The Andrew Message System (AMS) was an ambitious project to build a prototype of the electronic mail and bulletin board systems of the future. Because it was a research-flavored development project, and not an attempt to define a standard for such systems in the future, it was inevitable that certain decisions that were made in the AMS should be reconsidered in successor systems, and particularly in any attempt to standardize such systems. In this paper, we will briefly describe the Andrew Message System and then examine the key architectural decisions that were made in its construction. These are the most basic decisions, the ones most difficult to change once the system is built. We will discuss, in particular, which things seemed to work out well and which we would do differently in a future system. 2. Background: Andrew & Its Message System The Andrew Project [10, 11] is a collaborative effort of IBM and Carnegie Mellon University.
    [Show full text]
  • November 2014 [.Pdf]
    CMU’S NEWS SOURCE FOR FACULTY & STAFF 11/14 ISSUE 2 HAMBURG HALL EXPANSION PROJECT 7 S OFT E R S ID E OF R OBOTICS 9 S TAFF AT R OOTS OF P ITTSBURG H Just Breathe E NS E MBL E 10 E B E R LY C E NT E R H E LPS T E AC he RS W /S TUD E NT -C E NT E R E D A PPROAC H Back Home Siger To Direct Strategic Planning Process n Mike Yeomans Since leaving Pittsburgh to attend Columbia University, Rick Siger’s career has been on a fast track. His rapid progression shaping public policy in the areas of science, technology and economic development — first in Virginia, and then in Washing- ton, D.C. — resulted in his appointment as chief of staff in the White House Office of Science and Technology Policy in 2011. But the further he progressed, the more it became apparent to him that all roads headed back home, and specifically to Carnegie Mellon. PHOTOS BY SEAN ARCHIE (E’15) Siger, a native of nearby Fox Cha- N EED A BREAK ? T HE M INDFULNESS R OO M ON THE FIRST FLOOR LOUNGE IN W EST W ING IS DESIGNED TO PRO M OTE RELAXATION pel, joined CMU in September as direc- AND REDUCE STRESS . A BOVE , C M U STAFF AND STUDENTS DISPLAY WHAT M INDFULNESS M EANS TO THE M . C LOCKWISE FRO M tor of Strategic Initiatives and Engage- TOP LEFT ARE A NGELA L USK , H OUSEFELLOW FOR S TEVER H OUSE ; E M ILY M ELILLO ( A’ 1 9 ) ; I DA C HOW ( A’ 1 8 ) AND E M ILY S U C ONTINUED ON PAGE THREE ( DC ’ 1 8 ) ; AND M ICHAEL B OOKER ( E ’ 1 6 ) .
    [Show full text]
  • BEHIND the CLOUD - 1 a Closer Look at the Infrastructure of Cloud and Grid Computing
    -BEHIND THE CLOUD - 1 A Closer Look at the Infrastructure of Cloud and Grid Computing Alexander Huemer Florian Landolt Johannes Taferl Winter Term 2008/2009 1created in the "Seminar aus Informatik" course held by Univ.-Prof.Dr. Wolfgang Pree Contents 1 Distributed File Systems1 1.1 Definition................................1 1.2 Andrew File System...........................2 1.2.1 Features of AFS........................2 1.2.2 Implementations of AFS....................3 1.3 Google File System...........................3 1.3.1 Design of GFS.........................3 1.4 Comparison AFS vs. GFS.......................4 2 Distributed Scheduling5 2.1 Definition................................5 2.2 Condor.................................5 2.2.1 Features.............................5 2.2.2 Class Ads............................6 2.2.3 Universes............................8 3 Distributed Application Frameworks 11 3.1 Definition................................ 11 3.2 Concept................................. 11 3.3 Example................................. 12 3.4 Implementation Details......................... 13 3.4.1 Node Types........................... 13 3.4.2 Execution Flow......................... 13 3.4.3 Communication Details.................... 14 3.5 Common Issues of Distribution..................... 14 3.5.1 Parallelization......................... 15 3.5.2 Scalability........................... 15 3.5.3 Fault-Tolerance......................... 15 3.5.4 Data Distribution........................ 15 3.5.5 Load Balancing........................
    [Show full text]
  • Arms Memoir 14Jul2014 PRT.Pdf (8.589Mb)
    01 A R M S The Early Years of Academic Computing: A Memoir by William Y. Arms This is from a collection of reflections/memoirs concerning the early years of academic comput- ing, emphasizing the period from the 1950s to the 1990s when universities developed their own computing environments. ©2014 William Y. Arms Initial Release: June 2014 Published by The Internet-First University Press Copy editor and proofreader: Dianne Ferriss The entire incremental book is openly available at http://hdl.handle.net/1813/36810 Books and Articles Collection – http://ecommons.library.cornell.edu/handle/1813/63 The Internet-First University Press – http://ecommons.library.cornell.edu/handle/1813/62 1.0 A. Memoir by William Y. Arms Preface The past fifty years have seen university computing move from a fringe activity to a central part of academic life. Today’s college seniors never knew a world without personal computers, networks, and the web. Some- times I ask Cornell students, “When my wife and I were undergraduates at Oxford, there were separate men’s and women’s colleges. If we wanted to meet in the evening, how did we communicate?” They never knew a world without telephones and email, let alone smartphones, Google, and Facebook. They are also unaware that much of modern computing was developed by universities. Universities were the pi- oneers in end-user computing. The idea that everybody is a computer user is quite recent. Many organizations still do not allow their staff to choose their own computers, decide how to use them, and select the applications to run.
    [Show full text]
  • Project Athena Success in Engineering Projects 6.933 Final Project Fall 1999
    Project Athena Success in Engineering Projects 6.933 Final Project Fall 1999 Karin Cheung Carol Chow Mike Li Jesse Koontz Ben Self Table of Contents Abstract 3 1 Introduction 4 2 Background 6 3 Educational Goal 9 4 Technical Goal 15 5 Faculty 19 6 DEC 24 7 IBM 30 8 Conclusions 35 9 References 37 2 Abstract In a large-scale engineering project, it is difficult to define success. Many times, the goals of the project change so frequently that it is impossible to say whether or not the goals of a project were met. In addition, there are often unexpected outcomes and results that cause the project to be more successful than ever imagined. This was the case with Project Athena, a campus-wide computing project at MIT from 1983 to 1991 developed by engineers at MIT, DEC, and IBM. Although the educational goals of the project were never completely achieved, the project created a distributed network environment that helped define a new paradigm in the world of computing. 3 1 Introduction What is success? In engineering, this question is often very difficult to answer. For example, the iMac was a very successful engineering project at Apple Inc., and OS/2 Warp is a clear illustration of an unsuccessful project. However, there are many projects that fall in the middle, such as MiniDisc technology. While very popular in Asia and Europe, the MiniDisc has had little growth in the United States. In very large engineering projects such as these, it is quite difficult to determine whether a project was successful.
    [Show full text]