Presentation is loading. Please wait.

Presentation is loading. Please wait.

Massively Distributed Database Systems Spring 2014 Ki-Joune Li Pusan National University.

Similar presentations


Presentation on theme: "Massively Distributed Database Systems Spring 2014 Ki-Joune Li Pusan National University."— Presentation transcript:

1 Massively Distributed Database Systems Spring 2014 Ki-Joune Li http://isel.cs.pusan.ac.kr/~lik Pusan National University

2 An assignment -Choose an electronic (or electric) device -Define additional functions with. data storage. communication (infrastructure or ad-hoc). some computation. and others  Do not mind how difficult it would be to implement. -Example

3 Massively Distributed Databases vs. Distributed Databases

4 This lecture includes Distributed Systems and Database Systems Overview Synchronization Consistency and Replications P2P Ad-Hoc Network and MANET Data on Air Cloud RESTful Ubiquitous Computing and IoT

5 5 Definition of a Distributed System Distributed system : 1) A collection of (scalability) 2) independent computers that (heterogeneity) 3) appears to its users as a single coherent system (transparency) Distributed System versus Parallel System Separated Operating System vs. Single Operating System Message Passing vs. Shared Memory

6 Distributed Systems and Distributed Database Systems - Overview

7 7 Why Distributed System ? Performance Incremental Growth (Scalability) 1 single mainframe of price W N small machines of price W/N Fault Tolerance 1 single mainframe : critical weak point Failure of a machine : replacement by other machines Geographical Distribution and Availbility Flexible configuration e.g. 1 Disk server, 3 Computing servers, 1 Graphic server, etc. Geographical availibility

8 8 Distributed System - Scalibility and Heterogeneity A distributed system organized as middleware.  Heterogeneity and Scalibility 1.1

9 9 Distributed System - Transparency Different forms of transparency in a distributed system. TransparencyDescription AccessHide differences in data representation and how a resource is accessed LocationHide where a resource is located MigrationHide that a resource may move to another location RelocationHide that a resource may be moved to another location while in use ReplicationHide that a resource may be shared by several competitive users ConcurrencyHide that a resource may be shared by several competitive users FailureHide the failure and recovery of a resource PersistenceHide whether a (software) resource is in memory or on disk

10 10 Distributed System : Heterogeneity Server A Driver for A Driver for B Server B Server C Driver for C Application Program or Client Client has to be provided with one different driver for each server

11 11 Distributed System : Heterogeneity and Object-Oriented Approach Server A Server B Server C Application Program or Client Wrapping with predefined interface Predefined interface Encapsulation : Object-Oriented Approach

12 12 Software Concepts An overview of DOS (Distributed Operating Systems) NOS (Network Operating Systems) Middleware SystemDescriptionMain Goal DOS Tightly-coupled operating system for multi- processors and homogeneous multicomputers Hide and manage hardware resources NOS Loosely-coupled operating system for heterogeneous multicomputers (LAN and WAN) Offer local services to remote clients Middleware Additional layer on top of NOS implementing general- purpose services Provide distribution transparency

13 13 Network Operating System (1) General structure of a network operating system. 1-19

14 14 Network Operating System Two clients and a server in a network operating system. 1-20

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

16 16 Middleware and Openness 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. 1.23

17 17 Multitiered Architectures: Example

18 18 Alternatives of Multitiers Architectures 1-29

19 19 Multicomputer Operating Systems General structure of a multicomputer operating system 1.14

20 20 Distributed Shared Memory Systems a)Pages of address space distributed among four machines b)Situation after CPU 1 references page 10 c)Situation if page 10 is read only and replication is used

21 21 Comparison between Systems A comparison between multiprocessor operating systems, multicomputer operating systems, network operating systems, and middleware based distributed systems. Item Distributed OS Network OS Middleware-based OS Multiproc.Multicomp. Degree of transparencyVery HighHighLowHigh Same OS on all nodesYes No Number of copies of OS1NNN Basis for communication Shared memory MessagesFilesModel specific Resource management Global, central Global, distributed Per node ScalabilityNoModeratelyYesVaries OpennessClosed Open


Download ppt "Massively Distributed Database Systems Spring 2014 Ki-Joune Li Pusan National University."

Similar presentations


Ads by Google