SlideShare a Scribd company logo
1 of 30
Architectures
1
3/30/2024
Course Outline
 Introduction
 Architectural Styles
 System Architectures
2
3/30/2024
Introduction
 Distributed System’s architecture defines how
the various components and nodes in the
system are connected, communicate, and
collaborate to achieve a common goal.
 The architecture of a distributed system
encompasses the arrangement of hardware,
software, protocols, and communication
patterns.
 Various technologies and frameworks, such as
message queues, distributed databases, remote
procedure calls (RPC), and publish-subscribe
systems, are used to implement different
aspects of a distributed systems architecture.
3
3/30/2024
Introduction
 The organization of distributed systems is
mostly about the software components that
constitute the system.
 These software architectures tell us how the
various software components are to be
organized and how they should interact.
 The actual realization of a distributed system
requires that it can be instantiated and placed
software components on real machines which is
called system architecture.
4
3/30/2024
 Common types of architecture are
1. Centralized architectures ( traditional ) in
which a single server implements most of the
software components (and thus
functionality), while remote clients can access
that server using simple communication
means.
2. Decentralized architectures in which
machines more or less play equal roles, as
well as hybrid organizations.
5
3/30/2024
 The logical organization of distributed systems
into software components, also referred to as
software architecture.
 Such a style is formulated in terms of
components, the way that components are
connected to each other, the data exchanged
between components and finally how these
elements are jointly configured into a system.
 A component is a modular unit with well-
defined required and provided interfaces that
is replaceable within its environment.
6
3/30/2024
 A connector, which is generally described
as a mechanism that mediates
communication, coordination, or
cooperation among components.
 Basic architectural styles for distributed
systems are:
 1. Layered architectures
2. Object-based architectures
3. Data-centred architectures
4. Event-based architectures
7
3/30/2024
 Components are organized in a layered
fashion.
 Widely adopted by the networking community.
 Requests go down the hierarchy where as the
results flow upward.
8
3/30/2024
9
 Each object considered as a component, and these
components are connected through a remote
(procedure call) mechanism.
 Matches the client-server system architecture.
 The layered and object based architectures still form the
most important styles for large software systems.
3/30/2024
 Processes communicate through a common
(passive or active) repository.
 Web-based distributed systems are largely
data-centric processes communicate through
the use of shared Web-based data services.
10
3/30/2024
 Communicate through the propagation of events,
which optionally also carry data.
 Event propagation has generally been associated
with what are known as publish/subscribe systems.
 The basic idea is that processes publish events after
middleware ensures that only those processes that
subscribed to those events will receive them.
 The main advantage of event-based systems is that
processes are loosely coupled.
11
3/30/2024
 This is the result of combination of event-based
and data-centred architectures.
 The essence of shared data spaces is that
processes are now also decoupled in time: they
need not both be active when communication
takes place.
 They all aim at achieving (at a reasonable level)
distribution transparency.
 There is no single solution that will meet the
requirements for all possible distributed
applications, researchers have abandoned the idea
that a single distributed system can be used to
cover 90% of all possible cases.
12
3/30/2024
 Deciding on software components, their
interaction, and their placement leads to
an instance of a software architecture,
also called a system architecture.
 Common types are:
1. Centralized organizations
2. Decentralized organizations
3. Hybrid organizations
13
3/30/2024
 Helps us to understand and manage the complexity
of distributed systems.
 Common example in this organization is client-
server model.
 In the basic client-server model, processes in a
distributed system are divided into two (possibly
overlapping) groups.
1. A server is a process implementing a specific
service, for example, a file system service or a
database service.
2. A client is a process that requests a service from a
server by sending it a request and subsequently
waiting for the server's reply.
14
3/30/2024
15
General interaction between a client and a server also
known as request-reply behaviour.
• Implemented by means of a simple connectionless protocol
when the underlying network is fairly reliable as in many LAN.
• However, many client-server systems use a reliable
connection oriented protocol in WAN.
E.g. TCP/IP for Internet
In this case, whenever a client requests a service, it first sets
up a connection to the server before sending the request.
3/30/2024
 There is often no clear distinction b/n client
and server. For example, a server for a
distributed database may continuously act
as a client because it is forwarding requests
to different file servers responsible for
implementing the database tables.
 Many people have advocated a distinction between
the following three levels, essentially following the
layered architectural style we discussed previously:
1. The user-interface level:contains interface with
the user
2. The processing level: contains the applications
3. The data level: manages the actual data
16
3/30/2024
17
The simplified example of their organization is an
Internet search engine into three different layers.
3/30/2024
 The simplest organization is to have only two types of machines:
1. A client machine containing only the programs implementing
(part of) the user-interface level.
2. A server machine containing the rest, that is the programs
implementing the processing and data level.
 We refer to this type of distribution as vertical distribution. The
characteristic feature of vertical distribution is that it is achieved by
placing logically different components on different machines.
18
3/30/2024
 Server may sometimes need to act as a client,
 A typical example of where a three-tiered
architecture is used in transaction processing.
 A separate process, called the transaction processing
monitor, coordinates all transactions across possibly
different data servers.
19
3/30/2024
 we refer to as horizontal distribution w/c is
known as peer-to-peer systems.
 Interaction between processes is symmetric:
each process will act as a client and a server at
the same time (which is also referred to as
acting as a servent).
 A process cannot communicate directly with an
arbitrary other process, but is required to send
messages through the available communication
channels.
 Two types of overlay networks exist: those that
are structured and those that are Unstructured
Peer-to- Peer Architectures.
20
3/30/2024
 Overlay network is constructed using a
deterministic procedure.
 Organize the processes through a distributed hash
table (DHT).
 In a DHT -based system, data items are assigned a
random key from a large identifier space, such as a
128-bit or160-bit identifier.
21
Structured Peer-to-Peer Architectures
3/30/2024
 Largely rely on randomized algorithms for
constructing an overlay network.
 Data items are assumed to be randomly placed on
nodes.
 As a consequence, when a node needs to locate a
specific data item, the only thing it can effectively
do is flood the network with a search query.
 One of the goals is to construct an overlay network
that resembles a random graph.
 The basic model is that each node maintains a list of
neighbours, where, ideally, each of these
neighbours represents a randomly chosen live node
from the current set of nodes.
22
3/30/2024
 One key observation is that by carefully exchanging
and selecting entries from partial views, it is
possible to construct and maintain specific
topologies of overlay networks.
 This topology management is achieved by adopting
a two layered approach
23
3/30/2024
 Nodes such as those maintaining an
index or acting as a broker are generally
referred to as superpeers.
Organized in a peer-to-peer network,
leading to a hierarchical organization.
24
3/30/2024
 Distributed systems in which client-server
solutions are combined with decentralized
architectures.
 Edge-Server Systems
Servers are placed "at the edge" of the network
formed by enterprise networks and the actual
Internet, for example, as provided by an Internet
Service Provider (ISP).
25
3/30/2024
 Traditional client-server scheme is
deployed.
 Once a node has joined the system, it
can use a fully decentralized scheme for
collaboration.
BitTorrent file-sharing system
An important design goal was to ensure
collaboration.
26
3/30/2024
 Middleware systems actually follow a specific
architectural style.
 Benefit that designing applications may become
simpler.
 Interceptors
Conceptually, an interceptor is nothing but a
software construct that will break the usual
flow of control and allow other application
code to be executed.
 The basic idea is simple: an object A can call a
method that belongs to an object B, while the
latter resides on a different machine than A.
27
3/30/2024
 The need for adaptation comes from the fact
that the environment in which distributed
applications are executed changes continuously
to consider the construction of adaptive
software.
Discussion
This approach is seen to work better when
discussing the physical organization of
distributed systems when decisions are
taken about where components are placed.
28
3/30/2024
29
3/30/2024
Questions?
30
3/30/2024

More Related Content

Similar to Chapter 2- Architecture os distributed system.ppt

Cloud ready reference
Cloud ready referenceCloud ready reference
Cloud ready referenceHelly Patel
 
Distributed Computing Report
Distributed Computing ReportDistributed Computing Report
Distributed Computing ReportIIT Kharagpur
 
Distributed Systems Architecture in Software Engineering SE11
Distributed Systems Architecture in Software Engineering SE11Distributed Systems Architecture in Software Engineering SE11
Distributed Systems Architecture in Software Engineering SE11koolkampus
 
Introduction to Distributed System
Introduction to Distributed SystemIntroduction to Distributed System
Introduction to Distributed SystemSunita Sahu
 
Lecture 1 distriubted computing
Lecture 1 distriubted computingLecture 1 distriubted computing
Lecture 1 distriubted computingARTHURDANIEL12
 
Distributed computing file
Distributed computing fileDistributed computing file
Distributed computing fileberasrujana
 
Models of Distributed System
Models of Distributed SystemModels of Distributed System
Models of Distributed SystemAshish KC
 
D sys ch-vvdp-unit-1
D sys ch-vvdp-unit-1D sys ch-vvdp-unit-1
D sys ch-vvdp-unit-1shaik subhani
 
Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes SAhammedShakil
 
Distributed computing ).ppt him
Distributed computing ).ppt himDistributed computing ).ppt him
Distributed computing ).ppt himHimanshu Saini
 
16 & 2 marks in i unit for PG PAWSN
16 & 2 marks in i unit for PG PAWSN16 & 2 marks in i unit for PG PAWSN
16 & 2 marks in i unit for PG PAWSNDhaya kanthavel
 
Chapter 2 Architecture (updated).pptx
Chapter 2  Architecture (updated).pptxChapter 2  Architecture (updated).pptx
Chapter 2 Architecture (updated).pptxTadeseBeyene
 

Similar to Chapter 2- Architecture os distributed system.ppt (20)

Ch12
Ch12Ch12
Ch12
 
Cloud ready reference
Cloud ready referenceCloud ready reference
Cloud ready reference
 
Ijetcas14 583
Ijetcas14 583Ijetcas14 583
Ijetcas14 583
 
Distributed Computing Report
Distributed Computing ReportDistributed Computing Report
Distributed Computing Report
 
SOFTWARE COMPUTING
SOFTWARE COMPUTINGSOFTWARE COMPUTING
SOFTWARE COMPUTING
 
Distributed Systems Architecture in Software Engineering SE11
Distributed Systems Architecture in Software Engineering SE11Distributed Systems Architecture in Software Engineering SE11
Distributed Systems Architecture in Software Engineering SE11
 
Introduction to Distributed System
Introduction to Distributed SystemIntroduction to Distributed System
Introduction to Distributed System
 
Lecture 1 distriubted computing
Lecture 1 distriubted computingLecture 1 distriubted computing
Lecture 1 distriubted computing
 
Distributed Systems.pptx
Distributed Systems.pptxDistributed Systems.pptx
Distributed Systems.pptx
 
DISTRIBUTED SYSTEM 16M.docx
DISTRIBUTED SYSTEM 16M.docxDISTRIBUTED SYSTEM 16M.docx
DISTRIBUTED SYSTEM 16M.docx
 
Distributed architecture (SAD)
Distributed architecture (SAD)Distributed architecture (SAD)
Distributed architecture (SAD)
 
Distributed computing file
Distributed computing fileDistributed computing file
Distributed computing file
 
Models of Distributed System
Models of Distributed SystemModels of Distributed System
Models of Distributed System
 
D sys ch-vvdp-unit-1
D sys ch-vvdp-unit-1D sys ch-vvdp-unit-1
D sys ch-vvdp-unit-1
 
Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes
 
Distributed computing ).ppt him
Distributed computing ).ppt himDistributed computing ).ppt him
Distributed computing ).ppt him
 
16 & 2 marks in i unit for PG PAWSN
16 & 2 marks in i unit for PG PAWSN16 & 2 marks in i unit for PG PAWSN
16 & 2 marks in i unit for PG PAWSN
 
Chapter 2 Architecture (updated).pptx
Chapter 2  Architecture (updated).pptxChapter 2  Architecture (updated).pptx
Chapter 2 Architecture (updated).pptx
 
Chapter One.ppt
Chapter One.pptChapter One.ppt
Chapter One.ppt
 
OS .pptx
OS .pptxOS .pptx
OS .pptx
 

More from AschalewAyele2

Chapter_Five Compueter secuityryhf S.pdf
Chapter_Five Compueter secuityryhf   S.pdfChapter_Five Compueter secuityryhf   S.pdf
Chapter_Five Compueter secuityryhf S.pdfAschalewAyele2
 
Chapter_three - Computer Security.pdf
Chapter_three -      Computer Security.pdfChapter_three -      Computer Security.pdf
Chapter_three - Computer Security.pdfAschalewAyele2
 
Chapter 5 Selected Topics in computer.pptx
Chapter 5 Selected Topics in computer.pptxChapter 5 Selected Topics in computer.pptx
Chapter 5 Selected Topics in computer.pptxAschalewAyele2
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxAschalewAyele2
 
chapter 3 Selected Topics in computer.pptx
chapter 3 Selected Topics in computer.pptxchapter 3 Selected Topics in computer.pptx
chapter 3 Selected Topics in computer.pptxAschalewAyele2
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxAschalewAyele2
 
Chapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfChapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfAschalewAyele2
 
Chapter 5-Naming in distributed system.pptx
Chapter 5-Naming in distributed system.pptxChapter 5-Naming in distributed system.pptx
Chapter 5-Naming in distributed system.pptxAschalewAyele2
 
chapter 1- introduction to distributed system.ppt
chapter 1- introduction to distributed system.pptchapter 1- introduction to distributed system.ppt
chapter 1- introduction to distributed system.pptAschalewAyele2
 

More from AschalewAyele2 (9)

Chapter_Five Compueter secuityryhf S.pdf
Chapter_Five Compueter secuityryhf   S.pdfChapter_Five Compueter secuityryhf   S.pdf
Chapter_Five Compueter secuityryhf S.pdf
 
Chapter_three - Computer Security.pdf
Chapter_three -      Computer Security.pdfChapter_three -      Computer Security.pdf
Chapter_three - Computer Security.pdf
 
Chapter 5 Selected Topics in computer.pptx
Chapter 5 Selected Topics in computer.pptxChapter 5 Selected Topics in computer.pptx
Chapter 5 Selected Topics in computer.pptx
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptx
 
chapter 3 Selected Topics in computer.pptx
chapter 3 Selected Topics in computer.pptxchapter 3 Selected Topics in computer.pptx
chapter 3 Selected Topics in computer.pptx
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptx
 
Chapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfChapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdf
 
Chapter 5-Naming in distributed system.pptx
Chapter 5-Naming in distributed system.pptxChapter 5-Naming in distributed system.pptx
Chapter 5-Naming in distributed system.pptx
 
chapter 1- introduction to distributed system.ppt
chapter 1- introduction to distributed system.pptchapter 1- introduction to distributed system.ppt
chapter 1- introduction to distributed system.ppt
 

Recently uploaded

Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️soniya singh
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130Suhani Kapoor
 
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptxVanshNarang19
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfParomita Roy
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceanilsa9823
 
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...ranjana rawat
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxTusharBahuguna2
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
DragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptxDragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptxmirandajeremy200221
 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...Call Girls in Nagpur High Profile
 
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...babafaisel
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130Suhani Kapoor
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...BarusRa
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
WAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past QuestionsWAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past QuestionsCharles Obaleagbon
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentationamedia6
 
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai DouxDubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Douxkojalkojal131
 

Recently uploaded (20)

B. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdfB. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdf
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
 
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptx
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
 
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
DragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptxDragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptx
 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
 
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
WAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past QuestionsWAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past Questions
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentation
 
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai DouxDubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
 

Chapter 2- Architecture os distributed system.ppt

  • 2. Course Outline  Introduction  Architectural Styles  System Architectures 2 3/30/2024
  • 3. Introduction  Distributed System’s architecture defines how the various components and nodes in the system are connected, communicate, and collaborate to achieve a common goal.  The architecture of a distributed system encompasses the arrangement of hardware, software, protocols, and communication patterns.  Various technologies and frameworks, such as message queues, distributed databases, remote procedure calls (RPC), and publish-subscribe systems, are used to implement different aspects of a distributed systems architecture. 3 3/30/2024
  • 4. Introduction  The organization of distributed systems is mostly about the software components that constitute the system.  These software architectures tell us how the various software components are to be organized and how they should interact.  The actual realization of a distributed system requires that it can be instantiated and placed software components on real machines which is called system architecture. 4 3/30/2024
  • 5.  Common types of architecture are 1. Centralized architectures ( traditional ) in which a single server implements most of the software components (and thus functionality), while remote clients can access that server using simple communication means. 2. Decentralized architectures in which machines more or less play equal roles, as well as hybrid organizations. 5 3/30/2024
  • 6.  The logical organization of distributed systems into software components, also referred to as software architecture.  Such a style is formulated in terms of components, the way that components are connected to each other, the data exchanged between components and finally how these elements are jointly configured into a system.  A component is a modular unit with well- defined required and provided interfaces that is replaceable within its environment. 6 3/30/2024
  • 7.  A connector, which is generally described as a mechanism that mediates communication, coordination, or cooperation among components.  Basic architectural styles for distributed systems are:  1. Layered architectures 2. Object-based architectures 3. Data-centred architectures 4. Event-based architectures 7 3/30/2024
  • 8.  Components are organized in a layered fashion.  Widely adopted by the networking community.  Requests go down the hierarchy where as the results flow upward. 8 3/30/2024
  • 9. 9  Each object considered as a component, and these components are connected through a remote (procedure call) mechanism.  Matches the client-server system architecture.  The layered and object based architectures still form the most important styles for large software systems. 3/30/2024
  • 10.  Processes communicate through a common (passive or active) repository.  Web-based distributed systems are largely data-centric processes communicate through the use of shared Web-based data services. 10 3/30/2024
  • 11.  Communicate through the propagation of events, which optionally also carry data.  Event propagation has generally been associated with what are known as publish/subscribe systems.  The basic idea is that processes publish events after middleware ensures that only those processes that subscribed to those events will receive them.  The main advantage of event-based systems is that processes are loosely coupled. 11 3/30/2024
  • 12.  This is the result of combination of event-based and data-centred architectures.  The essence of shared data spaces is that processes are now also decoupled in time: they need not both be active when communication takes place.  They all aim at achieving (at a reasonable level) distribution transparency.  There is no single solution that will meet the requirements for all possible distributed applications, researchers have abandoned the idea that a single distributed system can be used to cover 90% of all possible cases. 12 3/30/2024
  • 13.  Deciding on software components, their interaction, and their placement leads to an instance of a software architecture, also called a system architecture.  Common types are: 1. Centralized organizations 2. Decentralized organizations 3. Hybrid organizations 13 3/30/2024
  • 14.  Helps us to understand and manage the complexity of distributed systems.  Common example in this organization is client- server model.  In the basic client-server model, processes in a distributed system are divided into two (possibly overlapping) groups. 1. A server is a process implementing a specific service, for example, a file system service or a database service. 2. A client is a process that requests a service from a server by sending it a request and subsequently waiting for the server's reply. 14 3/30/2024
  • 15. 15 General interaction between a client and a server also known as request-reply behaviour. • Implemented by means of a simple connectionless protocol when the underlying network is fairly reliable as in many LAN. • However, many client-server systems use a reliable connection oriented protocol in WAN. E.g. TCP/IP for Internet In this case, whenever a client requests a service, it first sets up a connection to the server before sending the request. 3/30/2024
  • 16.  There is often no clear distinction b/n client and server. For example, a server for a distributed database may continuously act as a client because it is forwarding requests to different file servers responsible for implementing the database tables.  Many people have advocated a distinction between the following three levels, essentially following the layered architectural style we discussed previously: 1. The user-interface level:contains interface with the user 2. The processing level: contains the applications 3. The data level: manages the actual data 16 3/30/2024
  • 17. 17 The simplified example of their organization is an Internet search engine into three different layers. 3/30/2024
  • 18.  The simplest organization is to have only two types of machines: 1. A client machine containing only the programs implementing (part of) the user-interface level. 2. A server machine containing the rest, that is the programs implementing the processing and data level.  We refer to this type of distribution as vertical distribution. The characteristic feature of vertical distribution is that it is achieved by placing logically different components on different machines. 18 3/30/2024
  • 19.  Server may sometimes need to act as a client,  A typical example of where a three-tiered architecture is used in transaction processing.  A separate process, called the transaction processing monitor, coordinates all transactions across possibly different data servers. 19 3/30/2024
  • 20.  we refer to as horizontal distribution w/c is known as peer-to-peer systems.  Interaction between processes is symmetric: each process will act as a client and a server at the same time (which is also referred to as acting as a servent).  A process cannot communicate directly with an arbitrary other process, but is required to send messages through the available communication channels.  Two types of overlay networks exist: those that are structured and those that are Unstructured Peer-to- Peer Architectures. 20 3/30/2024
  • 21.  Overlay network is constructed using a deterministic procedure.  Organize the processes through a distributed hash table (DHT).  In a DHT -based system, data items are assigned a random key from a large identifier space, such as a 128-bit or160-bit identifier. 21 Structured Peer-to-Peer Architectures 3/30/2024
  • 22.  Largely rely on randomized algorithms for constructing an overlay network.  Data items are assumed to be randomly placed on nodes.  As a consequence, when a node needs to locate a specific data item, the only thing it can effectively do is flood the network with a search query.  One of the goals is to construct an overlay network that resembles a random graph.  The basic model is that each node maintains a list of neighbours, where, ideally, each of these neighbours represents a randomly chosen live node from the current set of nodes. 22 3/30/2024
  • 23.  One key observation is that by carefully exchanging and selecting entries from partial views, it is possible to construct and maintain specific topologies of overlay networks.  This topology management is achieved by adopting a two layered approach 23 3/30/2024
  • 24.  Nodes such as those maintaining an index or acting as a broker are generally referred to as superpeers. Organized in a peer-to-peer network, leading to a hierarchical organization. 24 3/30/2024
  • 25.  Distributed systems in which client-server solutions are combined with decentralized architectures.  Edge-Server Systems Servers are placed "at the edge" of the network formed by enterprise networks and the actual Internet, for example, as provided by an Internet Service Provider (ISP). 25 3/30/2024
  • 26.  Traditional client-server scheme is deployed.  Once a node has joined the system, it can use a fully decentralized scheme for collaboration. BitTorrent file-sharing system An important design goal was to ensure collaboration. 26 3/30/2024
  • 27.  Middleware systems actually follow a specific architectural style.  Benefit that designing applications may become simpler.  Interceptors Conceptually, an interceptor is nothing but a software construct that will break the usual flow of control and allow other application code to be executed.  The basic idea is simple: an object A can call a method that belongs to an object B, while the latter resides on a different machine than A. 27 3/30/2024
  • 28.  The need for adaptation comes from the fact that the environment in which distributed applications are executed changes continuously to consider the construction of adaptive software. Discussion This approach is seen to work better when discussing the physical organization of distributed systems when decisions are taken about where components are placed. 28 3/30/2024