CS4513 Distributed Computer Systems

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

Introduction. Chapter 1

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 Systems LEEC (2006/07 2º Sem.)

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

CPE731 Middleware for Distributed Systems

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

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

Distributed Operating Systems Spring Prashant Shenoy UMass Computer Science.

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

TDP3471 Distributed and Parallel Computing

Concepts of Distributed Systems 2006/2007

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

Distributed and Operating Systems Spring Prashant Shenoy UMass Computer Science.

INTRODUCTION TO Object Oriented Systems BHUSHAN JADHAV

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

Distributed Computing. Santa Clara University 2016

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

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

Multiprocessors 2007/2008

Modulo II Introdução Sistemas Distribuídos

DISTRIBUTED COMPUTING

Lecture 1: January 22

Introduction. Distributed Systems IT332

Client Server & Distributed System. A Basic Introduction

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

Module 1 - Distributed System Architectures & Models

Chapter 17: Distributed Systems (DS)

CS454/654 Midterm Exam Fall 2004

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

Lecture 1: January 23

Distributed OS and Algorithms

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

Multiprocessors 2014/2015

02 - Distributed Systems

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

Distributed Systems: Architectural Issues

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

02 - Distributed Systems

CSE 5306 Distributed Systems. Course Introduction

Introduction Distributed Systems

Lecture 9: MIMD Architectures

Distributed Systems Principles and Paradigms. Chapter 01: Introduction. Contents. Distributed System: Definition.

Distributed Systems Principles and Paradigms. Chapter 01: Introduction

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

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

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

Chapter 1: Distributed Information Systems

DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S. TANENBAUM MAARTEN VAN STEEN. Chapter 1. Introduction

DISTRIBUTED COMPUTER SYSTEMS ARCHITECTURES

Introduction to Distributed Systems

Advanced Distributed Systems

Distributed Systems Principles and Paradigms

Assignment 5. Georgia Koloniari

Distributed Systems. Chapter 1: Introduction

Distributed Information Processing

CA464 Distributed Programming

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

Distributed Systems. Characteristics of Distributed Systems. Lecture Notes 1 Basic Concepts. Operating Systems. Anand Tripathi

Distributed Systems. Characteristics of Distributed Systems. Characteristics of Distributed Systems. Goals in Distributed System Designs

DISTRIBUTED FILE SYSTEMS & NFS

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

Distributed Systems Concepts And Design 5th Edition Exercise Solutions

Distributed System. Gang Wu. Spring,2019

Two Phase Commit Protocol. Distributed Systems. Remote Procedure Calls (RPC) Network & Distributed Operating Systems. Network OS.

Chapter 6: Distributed Systems: The Web. Fall 2012 Sini Ruohomaa Slides joint work with Jussi Kangasharju et al.

Datacenter replication solution with quasardb

Gustavo Alonso, ETH Zürich. Web services: Concepts, Architectures and Applications - Chapter 1 2

Distributed Systems [COMP9243] Session 1, 2018

Multiprocessors and Thread Level Parallelism Chapter 4, Appendix H CS448. The Greed for Speed

Distributed systems' architecture. Typical application model. Example ( classic app.) A.Lioy - Politecnico di Torino (2009) A-1

Distributed systems' architecture

Today: Distributed File Systems

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

Unit 5: Distributed, Real-Time, and Multimedia Systems

Cloud Computing CS

Chapter 2 Distributed Information Systems Architecture

Announcements. Reading: Chapter 16 Project #5 Due on Friday at 6:00 PM. CMSC 412 S10 (lect 24) copyright Jeffrey K.

Distributed KIDS Labs 1

(M.P) SUBJECT. system. goals of Q. 3. transparency? not build. in distributed systems? (b) What is. the main

MQ High Availability and Disaster Recovery Implementation scenarios

Middleware. Adapted from Alonso, Casati, Kuno, Machiraju Web Services Springer 2004

System Models for Distributed Systems

MaanavaN.Com DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK

Today: Distributed File Systems. Naming and Transparency

What is a distributed system?

Distributed File Systems Issues. NFS (Network File System) AFS: Namespace. The Andrew File System (AFS) Operating Systems 11/19/2012 CSC 256/456 1

Distributed Systems. Definitions. Why Build Distributed Systems? Operating Systems - Overview. Operating Systems - Overview

Today: Distributed File Systems!

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture

Networking and Internetworking 1

Distributed Data Infrastructures, Fall 2017, Chapter 2. Jussi Kangasharju

DISTRIBUTED DATABASES CS561-SPRING 2012 WPI, MOHAMED ELTABAKH

Introduction to Distributed Systems

Shared Memory and Distributed Multiprocessing. Bhanu Kapoor, Ph.D. The Saylor Foundation

Lecture 16/17: Distributed Shared Memory. CSC 469H1F Fall 2006 Angela Demke Brown

Announcements. me your survey: See the Announcements page. Today. Reading. Take a break around 10:15am. Ack: Some figures are from Coulouris

Distributed Systems - III

Transcription:

Outline CS4513 Distributed Computer Systems Overview Goals Software Client Server Introduction (Ch 1: 1.1-1.2, 1.4-1.5) The Rise of Distributed Systems Computer hardware prices falling, power increasing If cars the same, Rolls Royce would cost 1 dollar and get 1 billion miles per gallon (with 200 page manual to open the door) Network connectivity increasing Everyone is connected with fat pipes It is easy to connect hardware together Definition: a distributed system is A collection of independent computers that appears to its users as a single coherent system. Definition of a Distributed System Examples: -The Web -Processor Pool -Airline Reservation A distributed system organized as middleware. te that the middleware layer extends over multiple machines. Users can interact with the system in a consistent way, regardless of where the interaction takes place Transparency in a Distributed System Transparency Description Hide differences in data representation and how a resource is Access accessed Location Hide where a resource is located Migration Hide that a resource may move to another location Hide that a resource may be moved to another location while Relocation in use Hide that a resource may be shared by several competitive Replication users Hide that a resource may be shared by several competitive Concurrency users Failure Hide the failure and recovery of a resource Persistence Hide whether a (software) resource is in memory or on disk Different forms of transparency in a distributed system. Scalability Problems As distributed systems grow, centralized solutions are limited Consider LAN name resolution vs. WAN Concept Centralized services Centralized data Centralized algorithms Example A single server for all users A single on-line telephone book Doing routing based on complete information Sometimes, hard to avoid (consider a bank) Need to collect information in distributed fashion and distributed in a distributed fashion Challenges: geography, ownership domains, time synchronization 1

Scaling Techniques: Hiding Communication Latency Especially important for interactive applications If possible, do asynchronous communication - t always possible when client has nothing to do Scaling Techniques: Distribution 1.5 Instead, can hide latencies Example: DNS name space into zones (nl.vu.cs.fluit z1 gives address of vu gives address of cs) Example: The Web Scaling Techniques: Replication Copy of information to increase availability and decrease centralized load Example: P2P networks (Gnutella +) distribute copies uniformly or in proportion to use Example: akamai Example: Caching is a replication decision made by client Issue: Consistency of replicated information Example: Web Browser cache Overview Goals Outline Software Client Server (done) (done) Software Concepts Uniprocessor Operating Systems 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 DOS (Distributed Operating Systems) NOS (Network Operating Systems) Middleware Separating applications from operating system code through a microkernel Can extend to multiple computers 2

Multicomputer Operating Systems Multicomputer Operating Systems (optional) (optional) But no longer have shared memory Can try to provide distributed shared memory Tough, coming up Can provide message passing Message passing primitives vary widely between systems Example: consider buffering and synchronization Multicomputer Operating Systems Distributed Shared Memory Systems Synchronization point Block sender until buffer not full Send buffer Reliable comm. guaranteed? t necessary a) Pages of address space distributed among four machines Block sender until message sent Block sender until message received Block sender until message delivered t necessary Necessary Necessary Relation between blocking, buffering, and reliable communications. These issues make synchronization harder. It was easier when we had shared memory. So distributed shared memory b) Situation after CPU 1 references page 10 c) Situation if page 10 is read only and replication is used Distributed Shared Memory Systems Issue: how large should page sizes be? What are the tradeoffs? Network Operating System Overall, DSM systems have struggled to provide efficiency and convenience (and been around 15 years) For higher-performance, typically still do message passing Likely will remain that way OSes can be different (Windows or Linux) Typical services: rlogin, rcp Fairly primitive way to share files 3

Network Operating System Network Operating System Can have one computer provide files transparently for others (NFS) (try a df on the WPI hosts to see. Similar to a mount network drive in Windows) Different clients may mount the servers in different places Inconsistencies in view make NOSes harder, in general for users than DOSes. But easier to scale by adding computers Positioning Middleware Network OS not transparent. Distributed OS not independent computers. Middleware can help Middleware and Openness 1.23 Much middleware built in-house to help use networked operating systems(distributed transactions, better comm, RPC) Unfortunately, many different standards 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. If different, compatibility issues If incomplete, then users build their own or use lower-layer services (frowned upon) Comparison between Systems Outline Item Degree of transparency Same OS on all nodes Number of copies of OS Basis for communication Resource management Scalability Distributed OS Multiproc. Very High 1 Shared memory Global, central Multicomp. High N Messages Global, distributed Moderately Network OS Low N Files Per node Middlewarebased OS High N Model specific Per node Varies Overview (done) Goals (done) Software (done) Client Server Openness Closed Closed Open Open DOS most transparent, but closed and only moderately scalable NOS not so transparent, but open and scalable Middleware provides a bit more transparency than NOS 4

Clients and Servers Example Client and Server: Header Thus far, have not talked about organization of processes Again, many choices but most agree upon client-server If can do so without connection, quite simple If underlying connection is unreliable, not trivial Resend? What if receive twice Use TCP for reliable connection (apps on Internet) t always appropriate for high-speed LAN connection (4513) Used by both the client and server. Example Client and Server: Server Example Client and Server: Client One issue, is how to clearly differentiate Client-Server Implementation Levels Multitiered Architectures Example of an Internet search engine UI on client Processing can be on client or server Data level is server, keeps consistency Thin client (a) to Fat client (e) (d) and (e) popular for NOS environments 5

Multitiered Architectures: 3 tiers Modern Architectures: Horizontal Server may act as a client Example would be transaction monitor across multiple databases Rather than vertical, distribute servers across nodes Example of Web server farm for load balancing Clients, too (peer-to-peer systems) 6