Chapter 1: Distributed Systems Overview. Objectives To be aware of the characteristics of concurrency, independent failure of components and lack of a.

Slides:



Advertisements
Similar presentations
Threads, SMP, and Microkernels
Advertisements

Distributed Computing
Distributed Systems 1 Topics  What is a Distributed System?  Why Distributed Systems?  Examples of Distributed Systems  Distributed System Requirements.
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 1 Characterization.
Objektorienteret Middleware Presentation 2: Distributed Systems – A brush up, and relations to Middleware, Heterogeneity & Transparency.
Chapter 1 Characterization of Distributed Systems Choe, Hyun Jong Dept. of Computer Education Korea National Univ. Of Education.
CHARACTERIZATION OF DISTRIBUTED SYSTEMS
CS Distributed Computing Systems Chapter 1: Characterization of Distributed Systems Chin-Chih Chang, From Coulouris, Dollimore.
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 1: Characterization and Design Goals Dr. Michael R. Lyu Computer.
City University London
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
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”
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Introduction to Distributed Systems CS412: Programming Distributed Applications Computer Science Southern Illinois University CS412: Programming Distributed.
V1.00 © 2009 Research In Motion Limited Introduction to Mobile Device Web Development Trainer name Date.
Slides for Chapter 1 Characterization of Distributed Systems From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3,
.NET Mobile Application Development Introduction to Mobile and Distributed Applications.
DISTRIBUTED COMPUTING
Chapter 2 Architectural Models. Keywords Middleware Interface vs. implementation Client-server models OOP.
CS431 Distributed Systems
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
The Internet, Intranets, & Extranets Chapter 7. IS for Management2 The Internet (1) A collection of networks that pass data around in packets, each of.
1 Distributed Computing Class: BIT 5 & 6 Instructor: Aatif Kamal Chapter 01: Character of Distributed Systems Dated: 06 th Sept 2006.
Lecture#2 on Internet and World Wide Web. Internet Applications Electronic Mail ( ) Electronic Mail ( ) Domain mail server collects incoming mail.
Chapter 1 Characterization of Distributed Systems Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson Education.
CH2 System models.
TRƯỜNG ĐẠI HỌC CÔNG NGHỆ Bộ môn Mạng và Truyền Thông Máy Tính.
Characterization of Distributed Systems
Networks QUME 185 Introduction to Computer Applications.
1 MSCS 237 Communication issues. 2 Colouris et al. (2001): Is a system in which hardware or software components located at networked computers communicate.
Distributed Systems: Concepts and Design Chapter 1 Pages
Architectures of distributed systems Fundamental Models
Learning Objectives 1.Identify the major categories and trends of distributed system 2.Identify the essential processes of an e- commerce system, and give.
CH1. Hardware: CPU: Ex: compute server (executes processor-intensive applications for clients), Other servers, such as file servers, do some computation.
Introduction. Readings r Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 m Note: All figures from this book.
Chapter 2: System Models. Objectives To provide students with conceptual models to support their study of distributed systems. To motivate the study of.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
1 MSCS 237 Communication issues. 2 Colouris et al. (2001): Is a system in which hardware or software components located at networked computers communicate.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Design of Parallel and Distributed.
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 1: Characterization of Distributed & Mobile Systems Dr. Michael R.
Web Server.
Lecture 1 – Characterization of Distributed Operating Systems.
Examples of distributed systems Resource sharing and the web
Web Services Using Visual.NET By Kevin Tse. Agenda What are Web Services and Why are they Useful ? SOAP vs CORBA Goals of the Web Service Project Proposed.
Characterization of Distributed Systems From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson Education.
Exercises for Chapter 1: Characterization of Distributed Systems From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
Distributed Systems: Concepts and Design Jinghai Rao 13,9,2000.
Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Chapter 1 Characterization of Distributed Systems.
Chapter 1 Characterization of Distributed Systems
Examples of distributed systems Resource sharing and the web
3.1 Types of Servers.
Chapter 16: Distributed System Structures
Slides for Chapter 1 Characterization of Distributed Systems
Distributed Systems Bina Ramamurthy 11/12/2018 From the CDK text.
Distributed Systems Bina Ramamurthy 11/30/2018 B.Ramamurthy.
Distributed Systems Bina Ramamurthy 12/2/2018 B.Ramamurthy.
Architectures of distributed systems Fundamental Models
Slides for Chapter 1 Characterization of Distributed Systems
Architectures of distributed systems Fundamental Models
Slides for Chapter 1 Characterization of Distributed Systems
Distributed Systems Bina Ramamurthy 4/7/2019 B.Ramamurthy.
Slides for Chapter 1 Characterization of Distributed Systems
Distributed Systems Bina Ramamurthy 4/22/2019 B.Ramamurthy.
Architectures of distributed systems Fundamental Models
Distributed System 1.
Presentation transcript:

Chapter 1: Distributed Systems Overview

Objectives To be aware of the characteristics of concurrency, independent failure of components and lack of a global clock, which necessarily arise in a distributed systems. To place distributed systems in a realistic context through examples: the Internet, an intranet and mobile computing. To motivate the benefits of resource sharing and to introduce the Web as an example. To gain a good understanding of the challenges which apply to distributed systems.

Introduction

What is “Distributed System”? Distributed system (DS) – Components at networked computers communicate & coordinate their actions only by passing messages. Allows for concurrent execution of programs, but prevents the possibility of a global clock - means that components can fail independently of one another.

Introduction (cont.) Computer that are connected by a network maybe spatially separated by any distance. DS definition has significant consequence: - Concurrency - No global clock - Independent failure

Concurrency ~ In a network of computer, concurrent program execution of the norm. ~ “I can do my work on my computer while you do your work on yours” ~ Sharing resources such as web pages, file etc. ~ The capacity of the system to handle shared resources can be increased by adding more resources (example: computers) to the network. Introduction (cont.)

No global clock ~ there are limits to the accuracy with which the computer in a network can synchronize their clock – there is no single global nation of the correct time. Introduction (cont.)

Independent failure ~ All computer system can fail and it is the responsibility of system designers to plan for the consequences of possible failure. ~ Each component of the system can fail independently, leaving that other still running. This leaves a computer running in isolation. ~ The programs running on the isolated computer may not detect immediately that network has failed or become slower. Introduction (cont.)

Examples of DS 3 examples of DS: ~ internet ~ intranet - a portion of internet managed by organization ~ mobile and ubiquitous computing

Internet Internet is a very large distributed system It enables users to make use of services such as World Wide Web, and file transfer. The set of services is open-ended – it can be extended by addition of server computers and new types of services.

Figure 1.2: A typical intranet Intranet is a part of Internet Separately administered Uses firewall to enforce its own local security policies. Users share data by means of file services.

Figure 1.3: Portable and handheld devices in DS Laptop Mobile Printer Camera Internet Host intranet Home intranet WAP Wireless LAN phone gateway Host site DS applicable to: a) mobile computing - laptop, mobile phones, GPRS, webcams b) ubiquitous computing - small comp. embedded in appliances

Main motivation for constructing DS: ~ Sharing of resources Resource may be managed by servers & access by clients Resource sharing and the Web

Examples of hardware sharing in DS a) CPU: compute server (executes processor-intensive applications for clients), remote object server (executes methods on behalf of clients), worm program (shares cpu capacity of desktop machine with local user) b) memory: cache server (holds recently-accessed web pages in its RAM, for faster access by other local computers) c) disk: file server, virtual disk server, video on demand server. d) screen: Network window systems, such as X-11, allow processes in remote computers to update the content of windows. e) printer: networked printers accept print jobs from many computers. Managing them with a queuing system. d) network capacity: packet transmission enables many simultaneous communication channels to be transmitted on the same circuits.

a) web page: web servers enable multiple clients to share read-only page content. b) file: file servers enable multiple clients to share read-write files. c) object: possibilities for software objects are limitless. E.g. shared whiteboard, shared diary, room booking system, etc. d) database: intended to record definitive state of some related sets of data. They shared ever since multi-user computers appeared. e) newsgroup content: netnews system makes read-only copies of recently-posted news items available to clients throughout Internet. A copy of newsgroup content is maintained at each netnews server. Each server makes its data available to multiple clients. Examples of data/software sharing in DS

Resource sharing and the Web (cont.) Shared resources are managed by server processes. A service of a computer system manages a collection of related resources. For example – we access shared files through a file service, we send documents to printer through printing service, we buy goods through electronic payment service A service is accessed via the well-defined set of operations. For example- a file service provides read, write and delete operations on files.

The term server refers to a running program (service) on a networked computer system that accepts request from programs running on other computers (client). A Request is sent in the form of a message from client to server. A Client sends request to invoke an operation. When the client recieves the server’s response, it is called as remote invocation. In DS written an object-oriented language, resources may be encapsulated as objects whose methods are invoked by client objects. Resource sharing and the Web (cont.)

World Wide Web -> example of resource sharing. -> 3 main standard technological components: a) HTML (HyperText Markup Language), is a language for specifying the contents and layout of the pages. b) URLs (Uniform Resource Allocators) identify documents and other resources stored as part of web, c) HTTP (HyperText Transfer Protocol) by which web browsers and other clients fetch documents and other resources from web servers. Resource sharing and the Web (cont.)

Figure 1.4: Web servers and web browsers File system of Internet Browsers Web servers Protocols Activity.html

Challenges Challenges arising for construction DS: heterogeneity openness security scalability failure handling concurrency transparency

Challenges (cont.) heterogeneity - A DS is constructed from variety different network, OS, computer hardware and programming language, implementation by different developers. - Internet communication protocols mask the difference in network, and middleware can deal with the other differences. Some middlewares are CORBA, JAVA RMI. openness - allows components to be add or replaced (re- implemented) - DS should be extensible: publish key interfaces of components and integrate components written by different programmer

Challenges (cont.) security - Security has three components: Confidentiality (Protection against disclosure to unauthorized individual) Integrity (Protection against alteration or corruption) Availability (Protection against interference with the means to access the resources) - encryption can be used to provide protection of shared resources & keep sensitive information secret when is transmitted in messages over a network.

High Security! Dr Noraziah Ahmad – Mac

Challenges (cont.) scalability - ability to work when num. of users ↑ - algorithms used to access shared data should avoid performance bottlenecks - data should be structured hierarchically to get the best times - Web illustrates some approaches to address it (e.g. the use of hierarchic naming, partitioned data, caching & replication). Figure 1.5: Computers in the Internet Date Computers Web servers 1979, Dec , July130, , July56,218,0005,560, , Jan.171,638,29735,424,956

Figure 1.6: Computers vs. Web servers in the Internet DateComputersWeb serversPercentage 1993, July 1,776, , July6,642,00023, , July19,540,0001,203, , July56,218,0006,598, , July125,888,19731,299, ,298,371

Challenges (cont.) failure handling - any process, computer or network may fail independently - each component need to be aware of possible ways its components may fail concurrency - multiple users is a source of concurrent request to resources - each resources must be designed to be safe Transparency - make certain aspects of distribution invisible to the application

Transparencies Access transparency : enables local and remote resources to be accessed using identical operations. Location transparency : enables resources to be accessed without knowledge of their physical or network location (for example, which building or IP address). Concurrency transparency : enables several processes to operate concurrently using shared resources without interference between them. Replication transparency : enables multiple instances of resources to be used to increase reliability and performance without knowledge of the replicas by users or application programmers.

Transparencies (cont.) Failure transparency : enables the concealment of faults, allowing users and application programs to complete their tasks despite the failure of hardware or software components Mobility transparency : allows the movement of resources and clients within a system without affecting the operation of users or programs. Performance transparency : allows the system to be reconfigured to improve performance as loads vary. Scaling transparency : allows the system and applications to expand in scale without change to the system structure or the application algorithms.