Distributed Systems. Thoai Nam Faculty of Computer Science and Engineering HCMC University of Technology

Similar documents
Introduction. Chapter 1

Distributed Operating Systems Fall Prashant Shenoy UMass Computer Science. CS677: Distributed OS

Distributed Operating Systems Spring Prashant Shenoy UMass Computer Science.

Distributed and Operating Systems Spring Prashant Shenoy UMass Computer Science.

Distributed Systems LEEC (2006/07 2º Sem.)

Advanced Operating Systems

2.1 What are distributed systems? What are systems? Different kind of systems How to distribute systems? 2.2 Communication concepts

Distributed Computing. Santa Clara University 2016

Concepts of Distributed Systems 2006/2007

Distributed Systems. Overview. Distributed Systems September A distributed system is a piece of software that ensures that:

Distributed Systems Course. a.o. Univ.-Prof. Dr. Harald Kosch

TDP3471 Distributed and Parallel Computing

CS4513 Distributed Computer Systems

DISTRIBUTED COMPUTING

Distributed Systems. Lecture 4 Othon Michail COMP 212 1/27

CHAPTER 1 Fundamentals of Distributed System. Issues in designing Distributed System

Lecture 1: January 22

Crossbar switch. Chapter 2: Concepts and Architectures. Traditional Computer Architecture. Computer System Architectures. Flynn Architectures (2)

CPE731 Middleware for Distributed Systems

Lecture 1: January 23

Distributed OS and Algorithms

Client Server & Distributed System. A Basic Introduction

06-Dec-17. Credits:4. Notes by Pritee Parwekar,ANITS 06-Dec-17 1

Outline. Distributed Computing Systems. The Rise of Distributed Systems. Depiction of a Distributed System 4/15/2014

INTRODUCTION TO Object Oriented Systems BHUSHAN JADHAV

Chapter 1: Distributed Systems: What is a distributed system? Fall 2013

Modulo II Introdução Sistemas Distribuídos

Multiprocessors 2007/2008

Lecture 9: MIMD Architectures

Multiprocessors 2014/2015

CSE Traditional Operating Systems deal with typical system software designed to be:

CS550. TA: TBA Office: xxx Office hours: TBA. Blackboard:

Lecture 9: MIMD Architectures

Lecture 9: MIMD Architecture

Distributed Systems. Lehrstuhl für Informatik 4. RWTH Aachen. Organization. Literature. Classification of the lecture

Computer Organization. Chapter 16

CSCI 4717 Computer Architecture

Introduction. Distributed Systems. Introduction. Introduction. Instructor Brian Mitchell - Brian

Lecture 23 Database System Architectures

Chapter 20: Database System Architectures

Organisasi Sistem Komputer

Ian Foster, CS554: Data-Intensive Computing

Introduction. Distributed Systems IT332

Chapter Outline. Chapter 2 Distributed Information Systems Architecture. Layers of an information system. Design strategies.

Chapter 8 : Multiprocessors

Chapter 18 Parallel Processing

Chapter 18: Database System Architectures.! Centralized Systems! Client--Server Systems! Parallel Systems! Distributed Systems!

Distributed Operating System

Distributed Operating System Shilpa Yadav; Tanushree & Yashika Arora

02 - Distributed Systems

Introduction to Distributed Systems

02 - Distributed Systems

Distributed Systems. 01. Introduction. Paul Krzyzanowski. Rutgers University. Fall 2013

Multiple Processor Systems. Lecture 15 Multiple Processor Systems. Multiprocessor Hardware (1) Multiprocessors. Multiprocessor Hardware (2)

Outline. Definition of a Distributed System Goals of a Distributed System Types of Distributed Systems

Chapter Outline. Chapter 2 Distributed Information Systems Architecture. Distributed transactions (quick refresh) Layers of an information system

Introduction to Distributed Systems. INF5040/9040 Autumn 2018 Lecturer: Eli Gjørven (ifi/uio)

Chapter 17: Distributed Systems (DS)

Multi-Processor / Parallel Processing

Distributed Systems COMP 212. Lecture 1 Othon Michail

Distributed Systems. Edited by. Ghada Ahmed, PhD. Fall (3rd Edition) Maarten van Steen and Tanenbaum

Designing Issues For Distributed Computing System: An Empirical View

Module 1 - Distributed System Architectures & Models

Non-uniform memory access machine or (NUMA) is a system where the memory access time to any region of memory is not the same for all processors.

9. Distributed Shared Memory

Introduction CHAPTER. Exercises

Characteristics of Mult l ip i ro r ce c ssors r

Chapter 1: Distributed Information Systems

CSE 5306 Distributed Systems. Course Introduction

UNIT 1 MULTIPROCESSOR SYSTEMS

SMD149 - Operating Systems - Multiprocessing

Overview. SMD149 - Operating Systems - Multiprocessing. Multiprocessing architecture. Introduction SISD. Flynn s taxonomy

Distributed Systems COMP 212. Lecture 18 Othon Michail

Module 2 Fundamental Architectures and Models of Distributed Systems

10 Parallel Organizations: Multiprocessor / Multicore / Multicomputer Systems

A Comparative Study of Various Computing Environments-Cluster, Grid and Cloud

Computer Organization

Distributed Systems. Why use distributed systems? What is a distributed system? Intro to Distributed Systems and Networks.

Introduction to Distributed Systems (DS)

Chapter 2 Distributed Information Systems Architecture

Memory Systems in Pipelined Processors

It also performs many parallelization operations like, data loading and query processing.

Distributed DBMS. Concepts. Concepts. Distributed DBMS. Concepts. Concepts 9/8/2014

Introduction Distributed Systems

殷亚凤. Processes. Distributed Systems [3]

Distributed Systems. Chapter 1: Introduction

Introduction to Distributed Systems (DS)

Module 16: Distributed System Structures

Introduction. TDDI04, K. Arvidsson, IDA, Linköpings universitet Contents. What is an Operating System (OS)?

Philadelphia University Faculty of Information Technology Department of Computer Science second semester, 2012/2013.

Parallel Processing. Computer Architecture. Computer Architecture. Outline. Multiple Processor Organization

Chapter 1: Introduction

Distributed Systems Concepts And Design 5th Edition Exercise Solutions

Fundamentals. CHflPTCR WHAT IS A DISTRISUTCD COMPUTING SVSTCM?

Distributed Systems COMP 212. Lecture 1 Othon Michail

Distributed Systems. Prof. Dr. Schahram Dustdar Distributed Systems Group Vienna University of Technology. dsg.tuwien.ac.

MULTIPROCESSORS. Characteristics of Multiprocessors. Interconnection Structures. Interprocessor Arbitration

DISTRIBUTED SYSTEMS [COMP9243] Lecture 3b: Distributed Shared Memory DISTRIBUTED SHARED MEMORY (DSM) DSM consists of two components:

Multiprocessors & Thread Level Parallelism

Multiprocessors and Thread-Level Parallelism. Department of Electrical & Electronics Engineering, Amrita School of Engineering

Transcription:

Distributed Systems Thoai Nam Faculty of Computer Science and Engineering HCMC University of Technology

Chapter 1: Introduction Distributed Systems Hardware & software Transparency Scalability Distributed OS

Definition of a Distributed System What is a distributed system? Multiple connected CPUs working together A collection of independent computers that appears to its users as a single coherent system [Tanenbaum] One in which components located at networked computers communicate and coordinate their actions by only message passing [Coulouris].

Examples of Distributed Systems Parallel machines, networked machines Cluster: A type of parallel or distributed processing system, which consists of a collection of interconnected stand-alone computers cooperatively working together as a single, integrated computing resource [Buyya] Grid: A type of parallel and distributed system that enables the sharing, selection, and aggregation of geographically distributed autonomous resources dynamically at runtime depending on their availability, capability, performance, cost, and users' quality-of-service requirements [Buyya] Cloud: A Cloud is a type of parallel and distributed system consisting of a collection of interconnected and virtualized computers that are dynamically provisioned and presented as one or more unified computing resources based on service-level agreements established through negotiation between the service provider and consumers [Buyya]

Advantages and Disadvantages Advantages Communication and resource sharing possible Economics price-performance ratio Reliability, scalability Potential for incremental growth Disadvantages Distribution-aware PLs, OSs and applications Network connectivity essential Security and privacy

Transparency in a Distributed System Transparency Access Location Migration Relocation Replication Concurrency Failure Persistence Description Hide differences in data representation and how a resource is accessed Hide where a resource is located Hide that a resource may move to another location Hide that a resource may be moved to another location while in use Hide that a resource may have many copies Hide that a resource may be shared by several competitive users Hide the failure and recovery of a resource Hide whether a (software) resource is in memory or on disk Different forms of transparency in a distributed system.

Scalability Problems Concept Example Centralized services A single server for all users Centralized data Centralized algorithms A single on-line telephone book Doing routing based on complete information Examples of scalability limitations

Hardware Concepts: Multiprocessors (1) Multiprocessor dimensions Memory: could be shared or be private to each CPU Interconnect: could be shared (bus-based) or switched A bus-based multiprocessor.

Multiprocessors (2) a) A crossbar switch b) An omega switching network 1.8

Homogeneous Multicomputer Systems a) Grid b) Hypercube 1-9

Distributed Systems Models Minicomputer model Each user has local machine Local processing but can fetch remote data (files, databases) Workstation model Processing can also migrate Client-server Model User has local workstation Powerful workstations serve as servers (file, print, DB servers) Processor pool model Terminals are Xterms or diskless terminals Pool of backend processors handle processing

Uniprocessor Operating Systems An OS acts as a resource manager or an arbitrator Manages CPU, I/O devices, memory OS provides a virtual interface that is easier to use than hardware Structure of uniprocessor operating systems Monolithic (e.g., MS-DOS, early UNIX)» One large kernel that handles everything Layered design» Functionality is decomposed into N layers» Each layer uses services of layer N-1 and implements new service(s) for layer N+1

Uniprocessor Operating Systems Microkernel architecture Small kernel User-level servers implement additional functionality

Distributed Operating System Manages resources in a distributed system Seamlessly and transparently to the user Looks to the user like a centralized OS But operates on multiple independent CPUs Provides transparency Location, migration, concurrency, replication, Presents users with a virtual uniprocessor

Types of Distributed OSs System Description Main Goal DOS NOS Middleware Tightly-coupled operating system for multi-processors and homogeneous multicomputers Loosely-coupled operating system for heterogeneous multicomputers (LAN and WAN) Additional layer atop of NOS implementing general-purpose services Hide and manage hardware resources Offer local services to remote clients Provide distribution transparency

Multiprocessor Operating Systems Like a uniprocessor operating system Manages multiple CPUs transparently to the user Each processor has its own hardware cache Maintain consistency of cached data

Multicomputer Operating Systems 1.14

Network Operating System (1) 1-19

Network Operating System (2) Employs a client-server model Minimal OS kernel Additional functionality as user processes 1-20

Middleware-based Systems General structure of a distributed system as middleware. 1-22

Comparison between Systems Item Distributed OS Multiproc. Multicomp. Network OS Middlewarebased OS Degree of transparency Very High High Low High Same OS on all nodes Yes Yes No No Number of copies of OS 1 N N N Basis for communication Resource management Shared memory Global, central Messages Files Model specific Global, distributed Per node Per node Scalability No Moderately Yes Varies Openness Closed Closed Open Open