Dr. Naglaa Soliman Princess Nora Bint Abdulrahman University College.

Slides:



Advertisements
Similar presentations
Distributed Data Processing
Advertisements

Distributed Computing
Distributed Systems 1 Topics  What is a Distributed System?  Why Distributed Systems?  Examples of Distributed Systems  Distributed System Requirements.
Objektorienteret Middleware Presentation 2: Distributed Systems – A brush up, and relations to Middleware, Heterogeneity & Transparency.
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.
CHARACTERIZATION OF DISTRIBUTED SYSTEMS
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 1: Characterization and Design Goals Dr. Michael R. Lyu Computer.
Distributed Hardware How are computers interconnected ? –via a bus-based –via a switch How are processors and memories interconnected ? –Private –shared.
1 Chapter 1: Characterization of Distributed Systems From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.
OCT1 Principles From Chapter One of “Distributed Systems Concepts and Design”
EEC-681/781 Distributed Computing Systems Lecture 3 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
20101 Overview Distributed systems Layers Communication is logically on the application layer Only that has to be considered except for speed,
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.
ICS362 – Distributed Systems Dr. Ken Cosh Week 1.
CS431 Distributed Systems
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
1 Distributed Computing Class: BIT 5 & 6 Instructor: Aatif Kamal Chapter 01: Character of Distributed Systems Dated: 06 th Sept 2006.
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.
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.
Distributed Systems 1 CS- 492 Distributed system & Parallel Processing Sunday: 2/4/1435 (8 – 11 ) Lecture (1) Introduction to distributed system and models.
Chapter 1 Characterization of Distributed Systems Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson Education.
Distributed Systems Principles and Paradigms
Distributed Systems: Concepts and Design Chapter 1 Pages
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.
Architectures of distributed systems Fundamental Models
Copyright © George Coulouris, Jean Dollimore, Tim Kindberg This material is made available for private study and for direct.
Types of Operating Systems
A.Obaid - Wilfried Probst - Rufin Soh INE4481 DISTRIBUTED DATABASES & CLIENT-SERVER ARCHITECTURES1 Chapter 1. Distributed systems: Definitions, design.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
Introduction to CORBA University of Mazandran Science & Tecnology By : Esmaill Khanlarpour January
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.
OS Services And Networking Support Juan Wang Qi Pan Department of Computer Science Southeastern University August 1999.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved Chapter 1 Introduction.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
CORBA1 Distributed Software Systems Any software system can be physically distributed By distributed coupling we get the following:  Improved performance.
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Design of Parallel and Distributed.
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.
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 1: Characterization of Distributed & Mobile Systems Dr. Michael R.
Distributed Computing Systems CSCI 6900/4900. Review Distributed system –A collection of independent computers that appears to its users as a single coherent.
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 讲 分布式系统概述 §1.1 分布式系统的定义 §1.2 分布式系统分类 §1.3 分布式系统体系结构.
Intro to Distributed Systems Hank Levy. 23/20/2016 Distributed Systems Nearly all systems today are distributed in some way, e.g.: –they use –they.
Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Chapter 1 Characterization of Distributed Systems.
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.
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
Distributed Systems Bina Ramamurthy 11/12/2018 From the CDK text.
Distributed Systems Lecture#25.
Distributed Systems Bina Ramamurthy 12/2/2018 B.Ramamurthy.
Architectures of distributed systems Fundamental Models
Architectures of distributed systems Fundamental Models
Introduction To Distributed Systems
Architectures of distributed systems Fundamental Models
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Presentation transcript:

Dr. Naglaa Soliman Princess Nora Bint Abdulrahman University College of computer and information sciences Networks department Distributed systems (NET 422)

Content 1.Characterization of distributed systems. 2.System models. 3.Inter-process communication (Internet protocols, external data representation, client-servereur, group communication…). 4.Distributed objects and remote invocation (RPC, events and notifications, Java, RMI). 5.Distributed file systems (architecture, case study Sun Nfs). 6.Name services (concepts, DNS, case study X.5000). 7.P2P systems and middleware. 8.Time and global state ( synchronization of physical and logical clocks). 9.Coordination and agreement. 10.Replication (system model, fault-tolerant services). 11.Web services (service description and IDL for web services, case study: the grid…)

Textbooks George Coulouris, Jean Dollimore, Tim Kindberg, Gordon Blair, ‘Distributed Systems. Concepts and Design’, Fifth Edition, Kenneth P.Birman, ‘Reliable Distributed systems: technologies, web services and applications’, Springer Andrew S.Tanenbaum, Marteen Van Steen, ‘Distributed Systems: Principles and paradigms’, second edition, Arno Puder, Kay Romer, Frank Pilttofer, ‘Distributed Systems Architecture: a middle approach’, Elsevier, 2006.

Part 1: Characterization of distributed system  Basic definitions  Challenges of distributed systems  Types of distributed systems

What is a distributed system? The litterature presents various definitions of what a distributed system is. Definition 1: A distributed system is a collection of independent computers that appears to its users as a single coherent system. No assumptions are made concerning the type of computers: mainframe, sensor,… Computers need to collaborate. Each computer carries out its actions. Caracterization of distribued systems

Definition 2: A distributed system consists of hardware and software components located in a network of computers that communicate and coordinate their actions only by passing messages. No shared memory – message-based communication Characterization of distribued systems Computer1 Computer 2 Computer 3 Computer 4 Message1 Message2

Caracterization of distribued systems Figure 1-1. A distributed system organized as middleware. The middleware layer runs on all machines, and offers a uniform interface to the system

Basic terminology: Program: a code we write to solve any problem. Process: an instance of a program that is being executed. Message: used to communicate between processes. Protocol: a formal description of message format and rules that two processes must follow in order to exchange thoses messages. Network: the infrastructure that links computers, servers,.. Component: can be a process or any piece of hardware required to run a process and support communication between processes. Characterization of distribued systems

Why building distributed systems? 1.Support cooperative networking: users that are geographically seperated can work and play together: teleconference, , file transfer,… 2.Reliability: if a small percentage of machines break, the rest can remain intact and do useful work. 3.Mobility: users can move arround with their laptops. Problems: 1.Designing and implementing distributed networks may be difficult. 2.The network may lose messages or become overloaded. 3.Security become a great concern for such systems. Characterization of distribued systems

Challenges of distributed systems: 1.Making resources accessible: make it easy for the users to access and share resources (printers, computers, files, web pages, …) in a controlled manner. 2.Transparency: hide the fact that processes and resources are physically distributed across multiple computers. Access: hide differences in data representation and how a resource is accessed. Location: hide where a resource is located. Migration: hide that a resource may move to another location. Caracterization of distribued systems

Challenges of distributed systems: Replication: hide that a resource is replicated. Concurrency: hide that a resource may be shared by several users. Failures: hide the failure and the recovery of a resource. 3.Scalability: a distributed system should operate effectively at many different scales, ranging from a small network to a big one. 4. Openess: determined by the degree to which new resources can be added and made available for use. Caracterization of distribued systems

ChallengeSolution TransparencyMiddleware: software layer that provides a programming abstraction as well as masking heterogeneity. OpenessThe first step in openness is publishing the documentation of software components and interfaces of the components to make them available to software developers.

Caracterization of distribued systems ChallengeSolution ConcurrencyConcurrency can be achieved by standard techniques such as semaphores, which are used in most operating systems. FailuresTechniques for dealing with failures: 1-Detecting failures E.g. Checksums 2- Masking failures E.g. Retransmission of corrupt messages E.g. File redundancy 3- Redundancy: at least two different routes between any two routers should be available.

14 General Examples of Distributed Systems  Internet  Intranets  Mobile networks

15 General Examples of Distributed Systems  The Internet  The Internet is a vast interconnected collection of computer networks of many different types.  Multimedia services are available in the Internet enabling users to access audio and video data including music, radio, TV channels, phone, and video conferencing. (Figure 1)

16 General Examples of Distributed Systems Figure 1. A typical portion of the Internet

17 General Examples of Distributed Systems  Intranet  An intranet is a portion of the Internet that is separately administered and has a boundary that can be configured to enforce local security policies. (Figure 2)

18 General Examples of Distributed Systems Figure 2. A typical Interanet

19 General Examples of Distributed Systems  Mobile networks  Technological advances in device miniatorization and wireless networking have led increasingly to the integration of small and portable computing devices into distributed systems.  These devices include:  Laptop computers

Types of distributed systems: 1.Distributed computing systems:  An important class of distributed systems is the one used for high performance computing tasks.  The underlying hardware consists of a collection of similar workstations or personnal computers, closely connected by means of high local area network.  Each node runs the same operating system.  Cluster computing is used for parallel programming in which a single program is run on multiple machines. Characteriation of distributed systems Cluster computing:

 Computer nodes are controlled and accessed by means of a single master node.  Master node: handles the allocation of nodes to a particular parallel program, maintains a batch queue of submitted jobs and provides an interface for users. Characterization of distribued systems Management application Parallel libraries Local operating system Components of parallel application Local operating system Components of parallel application Local operating system High speed network Master node Computer node

 Master node runs the middleware needed for the execution of programs and management of the clusters.  An important part of this middleware is formed by the library for executing parallel programs.  A characteristic feature of such systems is homogeneity.  High degree of heterogeneity.  No assumptions are made concerning hardware, operating systems, security policies, etc. Caracterization of distribued systems Grid computing:

 Resources fom different organizations are brought together to allow the collaboration of a group of people.  Much of the software for realizing grid computing evolves around providing access to ressources from different administrative domains. 2. Distributed information systems:  Networked application simply consisted of a server running that application (often including a database and making it available to remote programs).  Example: banking system. Caracterization of distribued systems

Distributed pervasive systems:  Previous systems are largely characterized by their stability: nodes are fixed and have a more or less permanent and high quality connection to a network.  Instability is the default behavior of pervasive systems: devices in these systems are often small, battery powered, mobile, and having only a wireless connection.  General lack of humain administrative control.  Devices can be configured by their owners, but otherwise they need to automatically discover their environment. Characterization of distribued systems

Distributed Pervasive Systems The first two types of systems are characterized by their stability: nodes and network connections are more or less fixed This type of system is likely to incorporate small, battery-powered, mobile devices –Home systems –Electronic health care systems – patient monitoring –Sensor networks – data collection, surveillance

Home System Built around one or more PCs, but can also include other electronic devices: –Automatic control of lighting, sprinkler systems, alarm systems, etc.

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.

Sensor Networks A collection of geographically distributed nodes consisting of a comm. device, a power source, some kind of sensor, a small processor… Purpose: to collectively monitor sensory data (temperature, sound, moisture etc.,) and transmit the data to a base station “smart environment” – the nodes may do some rudimentary processing of the data in addition to their communication responsibilities.

Sensor Networks Figure Organizing a sensor network database, while storing and processing data (a) only at the operator’s site or …

Sensor Networks Figure Organizing a sensor network database, while storing and processing data … or (b) only at the sensors.

Characterization of distribued systems  How can an operator extract information for a sensor network?  Each sensor database is directly sent to the operator. In this case, sensors do not cooperate. So, network ressources and energy may be wasted.  The administrator can simply issying queries. The answer will be provided through collaboration.  Another solution consists to forward a query to all sensor nodes along a tree.