Professional Documents
Culture Documents
DS Unit 02
DS Unit 02
11/27/2022 Distributed_System_01 1
Unit:2
Distribution System Architecture
Distribution system architectures are bundled up with components and connectors.
Components can be individual nodes or important components in the architecture whereas
connectors are the ones that connect each of these components.
Object Method
call
Object
Object
Event delivery
Event bus
Publish
Component
#3170719 (DS) Unit 2 – Basics of Architectures, Processes, and
Prof. Umesh H. Thoriya 8
Middleware (MW)
Request Reply
Server
Provide service Time
A B C D E
Thin Fat
A B C D E
Client Client
Case-D: Used where the client machine is a PC or workstation,
connected through a network to a distributed file system or database
Case- E: Used where the client machine is a PC or workstation, connected
through a network to a distributed file system or database
#3170719 (DS) Unit 2 – Basics of Architectures, Processes, and
Prof. Umesh H. Thoriya 20
3-Tier Architecture (Multitiered Architectures )
network
Mobile
n et Client
wo
rk
Database
Business
Logic
Desktop
Client
21
#3170719 (DS) Unit 2 – Basics of Architectures, Processes, and
Prof. Umesh H. Thoriya 21
Multitiered Architectures (3-Tier Architecture)
The server tier in two-tiered architecture becomes more and more distributed
Distributed transaction processing
A single server is no longer adequate for modern information systems
This leads to three-tiered architecture
Server may acting as a client
09 07
08
4}
Leave (normally) Associated
11 data keys 05
Notify predecessor & successor;
Shift data to succ(id) 10 {5, 6, 7} 06
(0, 0) (1, 0)
ISP
ISP
Core Internet
Edge server
Enterprise
network
#3170719 (DS) Unit 2 – Basics of Architectures, Processes, and
Prof. Umesh H. Thoriya 39
Collaborative Distributed Systems
A hybrid distributed model that is based on mutual collaboration of various systems
Client-server scheme is deployed at the beginning
Fully decentralized scheme is used for collaboration after joining the system
Examples of Collaborative Distributed System:
BitTorrent: is a P2P File downloading system. It allows download of various chunks of
a file from other users until the entire file is downloaded
Globule: A Collaborative content distribution network. It allows replication of web
pages by various web servers
Application stub
Object middleware
Message-level interceptor
May want to break a large
message for better send([B, “do_something”, value])
performance Local OS
To Object B
#3170719 (DS) Unit 2 – Basics of Architectures, Processes, and
Prof. Umesh H. Thoriya 46
General Approaches for Adaptability (Adaptive Middleware)
Separation of concerns
Modularizing the system and separate security from functionality
However, the problem is that a lot of things you cannot easily separate, e.g., security
Computational reflection(Run Time checking)
Ability to inspect itself, and if necessary, adapt its behavior
Reflective middleware has yet to proof itself as a powerful tool to manage the
complexity of distribute systems
Component-based design (stand-alone)
However, components are less independent than one may think
Replacement of one component may have huge impact on others
Analysis
Measured
Adjustment triggers
output
#3170719 (DS) Unit 2 – Basics of Architectures, Processes, and
Prof. Umesh H. Thoriya 49
Question for Practice
What is a three-tiered client-server architecture?
What is the difference between a vertical distribution and a horizontal distribution?
In a structured overlay network, messages are routed according to the topology of the
overlay. What is an important disadvantage of this approach?
Not every node in a peer-to-peer network should become superpeer. What are reasonable
requirements that a superpeer should meet?
Give a compelling (technical) argument why the tit-for-tat policy as used in BitTorrent is far
from optimal for file sharing in the Internet.
We gave two examples of using interceptors in adaptive middleware. What other examples
come to mind?
Give an example of a self-managing system in which the analysis component is completely
distributed or even hidden.