presentation of ditributed system
TRANSCRIPT
Presented by: Nazim AliEn no:GH7764
Faculty no:13BCA141
1
Distributed Information 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
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
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
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
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
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
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
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
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
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
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
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
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
15
System ArchitectureClient-ServerPeer-to-PeerServices provided by multiple serversProxy servers and cachesMobile code and mobile agentsNetwork computersThin clients and mobile devices
15
Examples of Distributed SystemsLocal Area Network and IntranetDatabase Management SystemAutomatic Teller Machine NetworkInternet
16
17
EconomicSpeed Inherent distribution of applicationsReliabilityExtensibility and Incremental GrowthData integration
Advantages of Distributed system
18
Disadvantages of Distributed system
ComplexityNetwork problemSecurity
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
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
21