Fall 2007cs4251 Distributed Computing Umar Kalim Dept. of Communication Systems Engineering 19/09/2007.

Slides:



Advertisements
Similar presentations
CS-495 Distributed Systems Fabián E. Bustamante, Winter 2004 Introduction Distributed Systems Goals of Distributed Systems Hardware and Software Concepts.
Advertisements

Distributed Computing Systems Overview of Distributed Systems Andrew Tanenbaum and Marten van Steen, Distributed Systems – Principles and Paradigms, Prentice.
1 Distributed Systems Alexis Delis Monday 6:00-9:00 Spring 2002
Definition of a Distributed System (1) A distributed system is: A collection of independent computers that appears to its users as a single coherent system.
Introduction Chapter 1.
REK’s adaptation of Prof. Claypool’s adaptation of
Chapter 1  Introduction 1 Introduction Chapter 1.
Based on last years lecture notes, used by Juha Takkinen.
Introduction Dr. Ying Lu CSCE455/855 Distributed Operating Systems.
CS4513 Distributed Computer Systems Introduction (Ch 1: , )
SKR 4401 Distributed Systems
ECI-M-811 Distributed Systems and Internetworking
Distributed Operating Systems Spring 2007
Introducing … Distributed Systems.
1 Introduction Chapter 1. 2 Definition of a Distributed System (1) A distributed system is: A collection of independent computers that appears to its.
Tutorials 1 1.What is the definition of a distributed system? 1.A distributed system is a collection of independent computers that appears to its users.
EECE 411: Design of Distributed Software Applications What is a Distributed System? You know when you have one … … when the failure of a computer you’ve.
Computer Science Lecture 1, page 1 CS677: Distributed OS Distributed Operating Systems Spring 2005 Prashant Shenoy UMass Computer Science
Distributed Systems CS 3850 Soufiane Noureddine Lectures MWF 14:00 – 14:50 (PE207D) Office Hours MW 11:00 – 12:00 (C520)
Hardware/Software Concepts Tran, Van Hoai Department of Systems & Networking Faculty of Computer Science & Engineering HCMC University of Technology.
Dr. Kalpakis CMSC621 Advanced Operating Systems Introduction.
Massively Distributed Database Systems Spring 2014 Ki-Joune Li Pusan National University.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Distributed (Operating) Systems -Introduction- 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University.
Introduction Chapter 1. Definition of a Distributed System A distributed system [Tannenbaum & Steen] can be defined as a collection of independent computers.
Introduction to DISTRIBUTED SYSTEMS Tran, Van Hoai Department of Systems & Networking Faculty of Computer Science & Engineering HCMC University of Technology.
A brief overview about Distributed Systems Group A4 Chris Sun Bryan Maden Min Fang.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
1 Distributed Systems Architectures Chapter 2. 2 Course/Slides Credits Note: all course presentations are based on those developed by Andrew S. Tanenbaum.
Advanced Operating Systems Welcome to this course, in Fall Semester Main TextBooks 1- Tanenbaum’s book 2- Chow’s Book 3- Singhal’s Book Other extra.
Introduction. Outline Definitions Examples Hardware concepts Software concepts Readings: Chapter 1.
Introduction to DISTRIBUTED COMPUTING Tran, Van Hoai Department of Systems & Networking Faculty of Computer Science & Engineering HCMC University of Technology.
1 CS 6823 ASU Chapter 2 Architecture.
Distributed Systems COEN 317 Introduction Chapter 1,2,3.
Types of Operating Systems
Univ. of TehranDistributed Operating Systems1 Advanced Operating Systems University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
OS2- Sem ; R. Jalili Introduction Chapter 1.
Kyung Hee University 1/41 Introduction Chapter 1.
DISTRIBUTED COMPUTING Introduction Dr. Yingwu Zhu.
Distributed Computing Systems CSCI 4780/6780. Distributed System A distributed system is: A collection of independent computers that appears to its users.
Introducing … Distributed Systems Paul Barry Muhammed Cinsdikici.
1 Introduction Chapter 1. 2 The Textbook  Andrew S. Tanenbaum & Maarten van Steen, Distributed Systems: Principles and Paradigms, Prentice Hall, 2002.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
OS2- Sem1-83; R. Jalili Introduction Chapter 1. OS2- Sem1-83; R. Jalili Definition of a Distributed System (1) A distributed system is: A collection of.
Distributed Systems: Principles and Paradigms By Andrew S. Tanenbaum and Maarten van Steen.
Definition of a Distributed System (1) A distributed system is: A collection of independent computers that appears to its users as a single coherent system.
Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Assoc. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2015.
Distributed Systems Definition.
Distributed Computing Systems CSCI 6900/4900. Review Distributed system –A collection of independent computers that appears to its users as a single coherent.
Introduction Chapter 1. Definition of a Distributed System (1) A distributed system is: A collection of independent computers that appears to its users.
Distributed Computing Systems CSCI 4780/6780. Scalability ConceptExample Centralized servicesA single server for all users Centralized dataA single on-line.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
1 Distributed Processing Chapter 1 : Introduction.
Introduction to Distributed Systems and CORBA Slides for CSCI 3171 Lectures E. W. Grundke.
Distributed Computing Systems CSCI 6900/4900. Review Definition & characteristics of distributed systems Distributed system organization Design goals.
TEXT: Distributed Operating systems A. S. Tanenbaum Papers oriented on: 1.OS Structures 2.Shared Memory Systems 3.Advanced Topics in Communications 4.Distributed.
Background Computer System Architectures Computer System Software.
Primitive Concepts of Distributed Systems Chapter 1.
Univ. of TehranDistributed Operating Systems1 Advanced Operating Systems University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
Introduction to Distributed Systems. Distributed System Definitions:  “A distributed system is a collection of independent computers that appear to the.
Distributed Systems Architecure. Architectures Architectural Styles Software Architectures Architectures versus Middleware Self-management in distributed.
Introduction Chapter 1. Definition of a Distributed System (1) A distributed system is: A collection of independent computers that appears to its users.
Distributed Operating Systems Spring 2004
Distributed Operating Systems
Definition of Distributed System
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Advanced Operating Systems
Introduction To Distributed Systems
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Presentation transcript:

Fall 2007cs4251 Distributed Computing Umar Kalim Dept. of Communication Systems Engineering 19/09/2007

Fall 2007cs4252 Agenda Course details Introduction

Fall 2007cs4253 Reading material Text book: –Andrew S. Tanenbaum, Maarten van Steen “Distributed systems: principles and paradigms”. Reference books: –Jean Dollimore, Tim Kindberg, George Coulouris “Distributed Systems: Concepts and Design” –Joe Wigglesworth and Paula McMillan “Java Programming: Advanced Topics”, 3rd edition –Bruce Eckel “Thinking in Java” 3rd edition Availabe online from Bruce Eckel's web site Reference material –Selected publications available online

Fall 2007cs4254 Course details Lectures & Handouts –Will be available online Office hours: –Usually one (1) hour after the lecture

Fall 2007cs4255 Grading policy Assignments 5% Quizzes 10% Survey report/Project 15% OHT 30% End-term 40% Assignments –Individual –No late submission Quizzes –Mostly unannounced –Occasionally announced

Fall 2007cs4256 Objective of this course? Provide an understanding of the technical issues involved in the design of modern distributed systems Present some of the major current paradigms Outcomes –Appreciation of the main principles underlying distributed systems: processes, communication, naming, synchronization, consistency, fault tolerance, and security. –Familiarity with some of the main paradigms in distributed systems: object-based systems, file systems, and coordination-based systems

Fall 2007cs4257 Lets begin! Ref: csc.liv.ac.uk

Fall 2007cs4258 Definition of a Distributed System A distributed system is: A collection of independent computers that appears to its users as a single coherent system.

Fall 2007cs4259 Examples of Distributed Systems Computer world: –University computer network  Search for ExtraTerrestrial Intelligence –GRID (distributed computing facilities) Ordinary life: –WWW, P2P systems (such as Emule, Azureus etc) –Banks (Cash machines) –Ticket reservation

Fall 2007cs42510 Goals of a Distributed Systems User-side goals (why distributed system) –Easily connect users/resources –Exhibit transparency Technical goals (how to achieve) –Be open –Be scalable Looking at these goals helps us answer the question: “is building a distributed system worth the effort?”

Fall 2007cs42511 Connecting Users and Resources Typical resources –Printers, computers, computing power, data Why sharing –Economics –Collaboration, Information Exchange (groupware) Problems with sharing –Security –Unwanted collaboration

Fall 2007cs42512 Transparency in distributed systems Transparent distributed system: –Appears to its users as if it were only a single computer system

Fall 2007cs42513 Forms of transparency TransparencyDescription Access Hide differences in data representation and how a resource is accessed LocationHide where a resource is located MigrationHide that a resource may move to another location Relocation Hide that a resource may be moved to another location while in use Replication Hide that a resource may be shared by several competitive users Concurrency Hide that a resource may be shared by several competitive users FailureHide the failure and recovery of a resource Persistence Hide whether a (software) resource is in memory or on disk

Fall 2007cs42514 Degree of transparency Transparency is –Not always desirable  Users located in different continents (context-aware) –Not always possible  Hiding failures (you can distinguish a slow computer from a failing one) Trade-off between a high degree of transparency and the performance of the system

Fall 2007cs42515 Openness Open systems –Offer services according to standard rules that describe the syntax and semantics of these services –Enjoy neutral and complete specifications  Network protocols Advantages of being open: –Interoperability  Open systems can work together –Portability  Ability to transform an application from one software or hardware platform to another Open ≠ Free!

Fall 2007cs42516 Scalability Along three different dimensions –Size (the number of users and/or processes) –Geographical (maximum distance between participants) –Administrative (number of administrative domains)

Fall 2007cs42517 Scalability problems ConceptExample Centralized servicesA single server for all users Centralized dataA single on-line telephone book Centralized algorithmsDoing routing based on complete information

Fall 2007cs42518 Scaling Techniques Three techniques: –Hiding communication latencies  Try to avoid waiting for responses to remote service requests as much as possible –Distribution –Replication

Fall 2007cs42519 Scaling Techniques (1) 1.4 The difference between letting: a)a server or b)a client check forms as they are being filled

Fall 2007cs42520 Scaling Techniques (2) 1.5 An example of dividing the DNS name space into zones.

Fall 2007cs42521 Scaling Techniques (3) Replication –Increases availability –Balances the load –Reduces communication latency –But causes consistency problems Caching (client-driven)

Fall 2007cs42522 Modelling distributed systems When building distributed applications, system builders have often looked to the non- distributed systems world for models to follow (… inspiration?) Consequently, distributed systems tend to exhibit certain characteristics that are already familiar to us This applies equally to hardware concepts as it does to software concepts

Fall 2007cs42523 Classification of Multiple CPU Computer Systems Two groups: Multiprocessors –Shared memory –Several processors Multicomputers –Each machine has its own memory –Network communication

Fall 2007cs42524 Bus based multiprocessor systems Simplified representation of a shared-memory supercomputer Initially for supercomputers only, but –AMD and Intel provide 2-, 4-, and 8-processor workstations –Intel Hyper-Thread technology

Fall 2007cs42525 Multicomputer Systems a) Grid b) Hypercube How to run multiprocessor software on multicomputer systems? –Distributed operating systems

Fall 2007cs42526 Multicomputer Operating Systems General structure of a (DOS) multicomputer operating system

Fall 2007cs42527 Modeling on Multicomputers Excessively tightly connected –Such systems tend to be homogeneous (same hardware and software in all nodes) –Compromises openness and scalability

Fall 2007cs42528 Network Operating System General structure of a network operating system – all the systems are of different types: heterogeneous

Fall 2007cs42529 Network Operating System Two clients and a server in a network operating system – relatively primitive set of services provided

Fall 2007cs42530 Distributed Systems on top of Network Operating Systems Too primitive, low level communication –Compromises transparency What to do???

Fall 2007cs42531 Best of both worlds “Middleware” – best possible compromise? Middleware = NOS + additional software layer

Fall 2007cs42532 Distributed Systems as Middleware A distributed system organized as middleware. Note that the middleware layer extends over multiple machines.

Fall 2007cs42533 Middleware and Openness In an open middleware-based distributed system, the protocols used by each middleware layer should be the same, as well as the interfaces they offer to applications. This is a much higher level of abstraction than (for instance) the NOS Socket API.

Fall 2007cs42534 Modelling Software Concepts SystemDescriptionMain Goal DOS Tightly-coupled operating system for multi- processors and homogeneous multicomputers Hide and manage hardware resources NOS Loosely-coupled operating system for heterogeneous multicomputers (LAN and WAN) Offer local services to remote clients Middleware Additional layer atop of NOS implementing general-purpose services Provide distribution transparency

Fall 2007cs42535 Comparing DOS/NOS/Middleware A comparison between multiprocessor operating systems, multicomputer operating systems, network operating systems, and middleware based distributed systems. Item Distributed OS Network OS Middleware- based OS Multiproc.Multicomp. Degree of transparencyVery HighHighLowHigh Same OS on all nodesYes No Number of copies of OS1NNN Basis for communication Shared memory MessagesFilesModel specific Resource management Global, central Global, distributed Per node ScalabilityNoModeratelyYesVaries OpennessClosedMostly ClosedOpen

Fall 2007cs42536 Summary Distributed Systems … autonomous computers working together to give the appearance of a single, coherent system. They are transparent, scalable and open. Unfortunately, they also tend to be complex.

Fall 2007cs42537 Questions? That’s all for today!