Ch1-Introduction
Ch1-Introduction
Introduction To Distributed
Systems
Mulugeta M.
Today’s agenda
1. Course information
2. Chapter 1: Introduction to distributed systems
2
Distributed
Course Information Systems
Email: -
Office -
Office Hours:
Distributed
Overall goal of the course Systems
• Ch1 - Introduction
• Ch2 - Architectures
• Ch3 - Processes
• Ch4 - Communication
• Ch5 - Naming
• Ch6 – Synchronization ??
Distributed
Resources Systems
Test #1 20%
Lab + Project 40%
Final examination 40%
Grading:
As per the university’s scale
Distributed
Rules Systems
13
Introduction to distributed systems
Chapter one
Distributed
Chapter objectives Systems
16
Distributed
What is a distributed system ? Systems
17
Distributed
Collection of autonomous nodes Systems
18
Distributed
Coherent system Systems
A single coherent system – users believe they are dealing with a single
system
The difference between components as well as the communication between
them are hidden from users
Users interact with the system in a uniform and consistent way
Regardless of where and when interaction takes place
Examples
An end user cannot tell where a computation is taking place
Where data is exactly stored should be irrelevant to an application
If or not data has been replicated is completely hidden
Note:- Autonomous elements have to collaborate to achieve this goal
19
Distributed
Middleware Systems
The middleware layer extends over multiple machines, and offers each application the same interface.
21
Distributed
Design Goals of distributed systems Systems
Openness - The system should offer services according to standard rules that describe their
syntax and semantics
Extensible: easy to add / replace components
23
Distributed
Distribution Transparency Systems
DS hide the fact that its processes and resources are physically
distributed across multiple computers
DS that is able to present itself to users and applications as if it
were only a single computer system is said to be transparent
that is, invisible, to end users and applications.
The concept of transparency can be applied to several aspects
of a distributed system,
the most important ones are shown on the next slide
24
Distributed
Types of Transparency in a Distributed System Systems
Transparency Description
Access Hide differences in data representation and how an object is accessed
Relocation Hide that an object may be moved to another location while in use
Concurrency Hide that an object may be shared by several independent users simultaneously
30
Distributed
Size Scalability problems Systems
34
Distributed
Scaling techniques Systems
35
Distributed
Scaling techniques Systems
36
Scaling Techniques (1)- Hide latency
Figure 1-4. The difference between letting (a) a server or (b) a client
check forms as they are being filled.
37
Distributed
Scaling Systems
38
Scaling Techniques (2)- Distribution
3) Redundancy/Replication
Is to make copies of data available at different machines
Replication has the following advantages
Hide much of the communication latency problems mentioned
Improves availability
Helps to balance the load between components leading to better performance
Drawback
Caching and replication leads to consistency problems
40
Pitfalls when Developing Distributed Systems
• Distributed systems differ from traditional software because components are dispersed
across a network.
• Not taking this dispersion into account during design causes problem
• False assumptions made by first time DS developer:
• The network is reliable. • Latency is zero.
Note:-
• When one of these fail, it is difficult to mask unwanted behavior
• Most of these issues will not most likely show up in non-distributed applications development
41
Distributed
Types of distributed systems Systems
42
Distributed
Distributed Computing Systems Systems
43
Distributed
Cluster Computing Systems Systems
48
Distributed
Cloud computing Systems
49
Distributed
Cloud computing Systems
53
Distributed
Transaction Processing Monitor (TP monitor) Systems
- TP monitor is a middleware
- Its main task is to allow application to access multiple servers/databases
- Clients combine requests for (different) servers; send that off; collect responses, and
present a coherent result to the user.
54
Distributed
Enterprise Application Integration Systems
For applications decoupled from the databases they were built upon, facilities were
needed to integrate applications independent from their databases.
The Idea here is application’s component can directly communicate with one another.
Inter application communication leads to different communication models
Remote procedure call or Remote Method Invocation
Requests are sent through local procedure call, packaged as message, processed
and result returned as message from call.
The disadvantage is that both caller and callee must be up and running at the tim
e of communication
Message Oriented Middleware (MOM) (Publish/Subscribe model)
Messages are sent to logical contact point (published), and forwarded to subscrib
ed applications
55
Distributed
Enterprise Application Integration Systems
56
Distributed
3. Distributed Pervasive System Systems
57
Distributed
Example - Electronic Health Care Systems Systems
Figure 1-12. Monitoring a person in a pervasive electronic health care system, using:
(a) a local hub or
(b) a continuous wireless connection.
59
Distributed
Types of pervasive systems Systems
60
End of Chapter1
61