presentation of ditributed system

21
Presented by: Nazim Ali En no:GH7764 Faculty no:13BCA141 1 Distributed Information System

Upload: google

Post on 26-Jan-2017

103 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Presentation of ditributed system

Presented by: Nazim AliEn no:GH7764

Faculty no:13BCA141

1

Distributed Information System

Page 2: Presentation of ditributed system

2

Outline

1. What is a Distributed System2. Centralized Vs Distributed Systems3. Common Characteristics4. Basic Design Issues5. Examples of Distributed Systems6. Advantages and Disadvantages 7. Conclusion8. References

Page 3: Presentation of ditributed system

What is a Distributed System?

Definition: A distributed system is one in which components located at networked computers communicate and coordinate their actions only by passing messages. This definition leads to the following characteristics of distributed systems.

3

Page 4: Presentation of ditributed system

Distributed System CharacteristicsMultiple autonomous componentsComponents are not shared by all usersResources may not be accessibleSoftware runs in concurrent processes on

different processorsMultiple points of controlMultiple points of failure

4

Page 5: Presentation of ditributed system

Centralized Vs Distributed SystemsCentralized:

Collecting all information at one place allows better decision to be made but is less robust and can put a heavy load on central machine.

Distributed: Opposite to Centralized (may also be

termed as Decentralized). Here there is no central machine and algorithm is implemented on all the machine.

5

Page 6: Presentation of ditributed system

Common CharacteristicsWhat are we trying to achieve when we construct a

distributed system?Certain common characteristics can be used to

assess distributed systemsHeterogeneityOpennessSecurityFailure HandlingConcurrency

6

Page 7: Presentation of ditributed system

HeterogeneityVariety and differences in

NetworksComputer hardwareOperating systemsProgramming languages Implementations by different developers

Middleware as software layers to provide a programming abstraction as well as masking the heterogeneity of the underlying networks, hardware, OS, and programming languages (e.g., CORBA).

7

Page 8: Presentation of ditributed system

OpennessOpenness is concerned with extensions

and improvements of distributed systems.

Detailed interfaces of components need to be published.

New components have to be integrated with existing components.

Differences in data representation of interface types on different processors (of different vendors) have to be resolved.

8

Page 9: Presentation of ditributed system

SecurityIn a distributed system, clients send

requests to access data managed by servers, resources in the networks: Doctors requesting records from hospitals Users purchase products through electronic

commerce\

Security is required for: Concealing the contents of messages: security and

privacy Identifying a remote user or other agent correctly

(authentication)

9

Page 10: Presentation of ditributed system

Failure Handling (Fault Tolerance)

Hardware, software and networks fail!Distributed systems must maintain

availability even at low levels of hardware/software/network reliability.

Fault tolerance is achieved by recoveryredundancy

10

Page 11: Presentation of ditributed system

ConcurrencyComponents in distributed systems are

executed in concurrent processes.Components access and update shared

resources (e.g. variables, databases, device drivers).

Integrity of the system may be violated if concurrent updates are not coordinated.Lost updatesInconsistent analysis

11

Page 12: Presentation of ditributed system

Basic Design IssuesGeneral software engineering

principles include rigor and formality, separation of concerns, modularity, abstraction, anticipation of change, …

Specific issues for distributed systems:NamingCommunicationSystem architecture

12

Page 13: Presentation of ditributed system

NamingA name is resolved when translated into an

interpretable form for resource/object reference.Communication identifier (IP address + port

number)Name resolution involves several translation

stepsDesign considerations

Choice of name space for each resource typeName service to resolve resource names to

comm. id.Name services include naming context

resolution, hierarchical structure, resource protection

13

Page 14: Presentation of ditributed system

CommunicationSeparated components communicate with

sending processes and receiving processes for data transfer and synchronization.

Message passing: send and receive primitivessynchronous or blockingasynchronous or non-blockingAbstractions defined: channels, sockets, ports.

Communication patterns: client-server communication (e.g., RPC, function shipping) and group multicast

14

Page 15: Presentation of ditributed system

15

System ArchitectureClient-ServerPeer-to-PeerServices provided by multiple serversProxy servers and cachesMobile code and mobile agentsNetwork computersThin clients and mobile devices

15

Page 16: Presentation of ditributed system

Examples of Distributed SystemsLocal Area Network and IntranetDatabase Management SystemAutomatic Teller Machine NetworkInternet

16

Page 17: Presentation of ditributed system

17

EconomicSpeed Inherent distribution of applicationsReliabilityExtensibility and Incremental GrowthData integration

Advantages of Distributed system

Page 18: Presentation of ditributed system

18

Disadvantages of Distributed system

ComplexityNetwork problemSecurity

Page 19: Presentation of ditributed system

ConclusionDespite the increased complexity and the difficulty of building distributed computing systems, the installation and the use of distributed computing systems are rapidly increasing. This is mainly because the advantages of distributed computing systems overcome their disadvantages.

19

Page 20: Presentation of ditributed system

20

Referenceswww.Wikipedia.comwww.slideshare.com“Advanced Concepts in Operating Systems”

by Mukesh Singhal and Niranjan Shivaratri“Distributed Algorithms” by Nancy Lynchwww.authorstream.comwww.google.com

Page 21: Presentation of ditributed system

21