第 1 讲 分布式系统概述 §1.1 分布式系统的定义 §1.2 分布式系统分类 §1.3 分布式系统体系结构.

Slides:



Advertisements
Similar presentations
Distributed Data Processing
Advertisements

Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
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.
REK’s adaptation of Prof. Claypool’s adaptation of
Based on last years lecture notes, used by Juha Takkinen.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Introducing … Distributed Systems.
EEC-681/781 Distributed Computing Systems Lecture 3 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
1 Client-Server versus P2P  Client-server Computing  Purpose, definition, characteristics  Relationship to the GRID  Research issues  P2P Computing.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
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.
20101 Overview Distributed systems Layers Communication is logically on the application layer Only that has to be considered except for speed,
DISTRIBUTED COMPUTING
Dr. Kalpakis CMSC621 Advanced Operating Systems Introduction.
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.
1 Distributed Systems Introduction Chapter 1. 2 Course/Slides Credits Note: all course presentations are based on those developed by Andrew S. Tanenbaum.
Introduction Chapter 1. Definition of a Distributed System A distributed system [Tannenbaum & Steen] can be defined as a collection of independent computers.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved Chapter 2 ARCHITECTURES.
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.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
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.
Distributed Systems Principles and Paradigms
Lecture 3: Sun: 16/4/1435 Distributed Computing Technologies and Middleware Lecturer/ Kawther Abas CS- 492 : Distributed system.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved Chapter 2 ARCHITECTURES.
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.
1- Distributed Systems Principles and Paradigms Operating Systems: Concurrent and Distributed Software Design Jean Bacon, Tim Harris 2003.
Distributed Computing Systems CSCI 4780/6780. Geographical Scalability Challenges Synchronous communication –Waiting for a reply does not scale well!!
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved Chapter 1 Introduction.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Distributed database system
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.
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.
Data Communications and Networks Chapter 9 – Distributed Systems ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
TEXT: Distributed Operating systems A. S. Tanenbaum Papers oriented on: 1.OS Structures 2.Shared Memory Systems 3.Advanced Topics in Communications 4.Distributed.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved Architectural.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Distributed Systems Architecure. Architectures Architectural Styles Software Architectures Architectures versus Middleware Self-management in distributed.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
1 Prof. Leonardo Mostarda University of Camerino Distributed Systems – intro Prof. Leonardo Mostarda-- Camerino,
Chapter 1 Characterization of Distributed Systems
Definition of Distributed System
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
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
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Presentation transcript:

第 1 讲 分布式系统概述 §1.1 分布式系统的定义 §1.2 分布式系统分类 §1.3 分布式系统体系结构

§1.1 分布式系统的定义  A distributed system is: A collection of independent computers that Appears to its users as a single coherent system.

分布式系统定义 Figure 1-1. A distributed system organized as middleware. The middleware layer extends over multiple machines, and offers each application the same interface.

分布式系统的基本目标  Making resources accessible  Distribution transparency  Openness  Scalability

Making Resources Accessible  Making it easy for users and applications to access remote resources  Share remote resources in a controlled and efficient manner  Benefits Better economics by sharing expensive resources Easier to collaborate and exchange information Create virtual organizations where geographically dispersed people can work together using groupware Enables electronic commerce  Problems Eavesdropping or intrusion on communication Tracking of communication to build a profile

Transparency in a Distributed System Figure 1-2. Different forms of transparency in a distributed system (ISO, 1995). Transparency is NOT always good! Cost in performance!

Openness  In form of services  Services are described via interfaces Interface Definition Language (IDL)  Interoperability, Portability, Extensibility

Scalability  Scalability can be measured against three dimensions Size: be able to easily add more users and resources to a system Geography: be able to handle users and resources that are far apart Administrative: be able to manage even if it spans independent administrative organizations

Scaling Techniques  Hiding communication latency Code at client: e.g. Javascript to check a form  Distributing components Divide a component into smaller parts E.g. dividing the DNS name space into zones  Replicating components Caching is a special form of replication

Centralized versus distributed  Centralized approach  Distributed approach No global clock No complete/global information  Decisions based only on local information Failure locality

§1.2 分布式系统分类  Distributed Computing Systems  Cluster Computing Systems  Grid Computing Systems  Cloud Computing Systems  Distributed Information Systems  Transaction Processing Systems  Enterprise Application Integration  Distributed Pervasive Systems  Home Systems  Electronic Health Care Systems  Sensor Networks

Cluster Computing Systems  Figure 1-6. An example of a cluster computing system.

Grid Computing Systems  Figure 1-7. A layered architecture for grid computing systems.

Cloud Computing Systems servers storage Provisioning Manager Virtual Machines Monitoring Manager Provisioning Interface

Transaction Processing Systems  Figure 1-9. A nested transaction.

Transaction Processing Systems  Figure The role of a TP monitor in distributed systems.

Enterprise Application Integration  Figure Middleware as a communication facilitator in enterprise application integration. RPC, RMI and MOM are examples.

Distributed Pervasive Systems  Embrace contextual changes.  Encourage ad hoc composition.  Recognize sharing as the default.

Electronic Health Care Systems  Figure Monitoring a person in a pervasive electronic health care system, using (a) a local hub or (b) a continuous wireless connection.

Wireless Sensor Networks  Centralized storage and process.  Distributed storage and process.

§1.3 分布式系统体系结构  Software architecture how various software components are organized and how they interact  System architecture An instance of a software architecture after deciding on the software components, their interaction and their placement.

Architectural Styles Layered architectures Object-based architectures Event-based architectures Data-shared architectures

System Architecture  Centralized architectures Application layering Multitiered architectures  Decentralized architectures Structured peer-to-peer Unstructured peer-to-peer  Hybrid architectures Edge-server systems Collaborative distributed systems

Centralized Architectures

Application Layering Figure 2-4. The simplified organization of an Internet search engine

Application Layering Figure 2-5. Alternative client-server organizations (a)–(e).

Multitiered Architectures Figure 2-6. An example of a server acting as client.

Decentralized Architecture  Structured peer-to-peer Distributed Hash Table Content-Addressable Network  Unstructured peer-to-peer

Structured Peer-to-Peer Architectures Data mapping in Chord and CAN.

Unstructured Peer-to-Peer Architectures  The overlay network resembles a random graph. Each node maintains a list of c neighbors, where, ideally, each of theses neighbors represents a randomly chosen live node from the current set of nodes. The list of neighbors is referred to as a partial view.  How to maintain a partial view? Nodes are in push or pull mode. Using only one mode leads to isolated sub-networks so most nodes will do both (exchange mode) To add to the group, simply contact any node. To leave, simply leave.

Topology Management of Overlay Networks A two-layered approach for constructing and maintaining specific overlay topologies

Network with Superpeers

Hybrid Architectures: edge-server systems Figure Viewing the Internet as consisting of a collection of edge servers.

Hybrid Architectures: collaborative sys. Figure The principal working of BitTorrent

Summary  分布式系统定义  分布式系统的目标 Making resources accessible Distribution transparency Openness Scalability  分布式系统的类型 Distributed computing system Distributed information system Distributed pervasive system  分布式系统体系结构 Centralized Decentralized Hybrid

Homework Questions