CHAPTER 1: OVERVIEW OF DISTRIBUTED SYSTEMS
- Dr. Trần Hải Anh
CHAPTER 1: OVERVIEW OF DISTRIBUTED SYSTEMS Dr. Tr n H i Anh - - PowerPoint PPT Presentation
CHAPTER 1: OVERVIEW OF DISTRIBUTED SYSTEMS Dr. Tr n H i Anh Outline 2 Introduction 1. Characteristics of Distributes Systems 2. Components of Distributes Systems 3. Topics in Distributed Systems 4. 1. Introduction 3 1.1. Brief
2
1.
2.
3.
4.
2/20/17 @ Trần Hải Anh 2014
4
¨ History of computer ¤ First generation (1937-1946) n vacuum tubes
n ENIAC (Electronic Numerical Integrator And Computer) ¤ Second generation: (1947 – 1962 )
n Transistor
n Universal Automatic Computer (UNIVAC 1). ¤ Third generation: 1963 - present
n IC: Integrated Circuit
n MS-Dos n IBM PC
¨ History of Computer Network ¨ Change the way of using PC
5
6
¨ Independent computers
¤ They don’t depend on each others. Different on
¨ Connected ¨ Provide common service uniformly ¨ Users don’t need to care about system’s details ¨ A collection of independent connected
7
¨ Networked computer system: appears as many
¨ Distributed computer system: appears as single
¨ Ubiquitous system: appears as no computer system
8
¨ WWW ¨ Email system ¨ Etc.
MTA MDA MTA MDA Internet SMTP Các bí danh Người sử dụng Hộp thư NSD Bộ đệm thư gửi đi SMTP POP/IMAP Web Server Web Mail DNS Các bản ghi MX Các bản ghi MX Các bí danh Người sử dụng Hộp thư NSD Bộ đệm thư gửi đi SMTP POP/IMAP Web Server Web Mail
2/20/17
@ Trần Hải Anh 2014
2/20/17 @ Trần Hải Anh 2014
10
¨ Easy to access remote resources ¨ Resources: anything (printers, computers, storage
¨ Example:
¤ Sharing printer ¤ Sharing supercomputer, high-performance storage system ¤ Other expensive peripherals
¨ Working together: groupware ¨ Security problems: eavesdropping, intrusion on
2/20/17 @ Trần Hải Anh 2014
11
¨ Hide the fact that its processes and resources are
¨ Appear as a single computer system à transparent
12
Degree of transparency? Attempting to completely hide all distribution aspects from users is not a good idea
13
¨ Open distribution system is a system that offers
¨ Protocols ¨ Services are specified through interfaces. ¨ Interface Definition Language (IDL). ¨ Interoperability ¨ Portability ¨ Extensible
14
¨ Size
¤ Add more users and resources
¨ Geographical scalability
¤ Users and resources may lie far apart
¨ Administrative scalability
¤ It spans many independent administrative
15
¨ Size: ¤ Centralized services ¤ Centralized data ¤ Centralized algorithms ¨ Geographical scalability ¤ LAN à wide area network ¤ Broadcasting ¤ Reliable communication ¨ Administrative scalability ¤ Resource usage ¤ Management ¤ Security
16
¨ Asynchronous communication ¨ Distribution ¨ Replicate ¨ Caching
18
(a) (b) (c)
19
System Description Main Goal DOS Multicomputer, multiprocessors Transparency NOS NOS on local machines Local services for
Middleware Provide basic services to develop apps Distributed transparency
2/20/17 @ Trần Hải Anh 2014
20
¨ Multiprocessor OS ¨ Multicomputer OS ¨ Like the uniprocessor OS, but handling multi
¨ Main goal: sharing the
¨ Set the access
¨ 2 modes: kernel mode
21
22
¨ User mode:
¤ Không gian nhớ ảo riêng ¤ Giới hạn truy cập
¨ Kernel mode:
¤ Không gian nhớ ảo đơn ¤ Không giới hạn truy cập
¨ Single process runs on
¨ All services run on
¨ E.g: MS-DOS, UNIX,
¨ Kernel is divided into
¨ Processes run on either
¨ Processes run separately
¨ E.g: QNX, L4, HURD,
23
Monolithic kernel Microkernels
24
Separate app from OS code in using microkernel
25
¨ Use the common shared memory ¨ OS supports multi-processor, transparent to apps. ¨ Avoid concurrent accesses
¤ Semaphore ¤ Monitor
26
27
1-19
28
1-20
¨ Combine advantages of
¨ Middleware ¨ E.g:
¤ File system in UNIX ¤ RPC
¨ Middleware service:
¤ Transparent access ¤ High level
29
30
¨ Do the assignment on the LMS ¨ Watch the online course for the chapter 1
2/20/17 @ Trần Hải Anh 2014