Chapter_02_Architectural Model_Slide
Chapter_02_Architectural Model_Slide
to
Distributed Systems
Chapter 2
Architectures
Compiled by CS dept.
Architectural Styles
• Distributed systems are often complex pieces of software of which
Architecture
3
Architectural Styles cont.
components
4
Architecture
Architectural Styles cont.
•Layered architectures
Various •Object-based architectures
Architectural
Styles •Data-centered architectures
•Event-based architectures
5
Layered Architectures
• components are organized in a layered fashion where a component
Architecture
6
Object-based architectures
• Each object corresponds to a component and these components
Architecture
7
Data-centered Architectures
• Processes communicate through a common repository; e.g., a
Architecture
Data posted in the shared data space have no specific information about the
recipient.
8
Event-based Architectures
• Processes communicate through the propagation of events
Architecture
• Processes publish events and the middleware ensures that only those
processes that subscribed to those events will receive them
9
System Architectures
• we have briefly discussed some common architectural styles, let us
Architecture
10
Centralized Architectures
communication between client and server can be
Architecture
when messages are lost or corrupted let the client send the request
again; applicable only for idempotent operations
• Application Layering
• The data level: contains the programs that maintain the actual data
12
dealt with
13
Architecture
Example
Tw o - t i e r e d a r c h i t e c t u r e
Alternative client-server organizations
Architecture
(a) put only terminal-dependent part of the user interface on the client
machine and let the applications remotely control the presentation
(b) put the entire user-interface software on the client side
(c) move part of the application to the client, e.g. Validation in filling forms
14 (d) and (e) are for powerful client machines (more popular)
Three tiered architecture
an example of a server acting as a client
Architecture
15
An example is the organization of Web sites
Decentralized Architectures
• Distributed processing is equivalent to organizing a client-server
Architecture
• Vertical distribution: the ones discussed so far where the different tiers
correspond directly with the logical organization of applications;
place logically different components on different machines
16
hence each process acts as a client and a server at the same time.
Architecture
architecture – [ pages 44 - 51 ]
and
17
Architecture
Example: Horizontal Distribution
Web service
18
Hybrid Architectures
• Edge-Server Systems: An important class of distributed systems that is
Architecture
19
Hybrid Architectures
• Collaborative Distributed Systems: let us first consider the BitTorrent file-sharing
Architecture
• The basic idea is that when an end user is looking for a file, It downloads chunks of
the file from other users until the downloaded chunks can be assembled together
yielding the complete file.
20
THANK YOU