SlideShare a Scribd company logo
1 of 41
Download to read offline
1
Sistemas Distribuidos
System Models
René Guamán-Quinche
Facultad de la Energía, las Industrias y los Recursos Naturales No Renovables
Carrera de Ingeniería en Sistemas/Computación
Octubre, 2020
Loja, Ecuador
3
1. Introduction
2. Physical Models
3. Architectural models
4. Fundamental models
Contenido
4
Introduction
Distributed system design can be explained through three different models:

Physical models – models that capture the hardware composition of a system in terms of
computer and their interconnecting networks

Architectural models – models that describe the system in terms of the computational and
communication tasks performed by its computational elements

Fundamental models – models that describe an abstraction of individual items in
distributed systems. Three models; interaction, failure, and security models
5
PHYSICAL MODELS

Basic physical models - baseline physical model
 Model that shows hardware and software components located at
networked computers communicate and coordinate their actions by
passing message

Three generations of distributed systems:
 Early distributed systems
 Internet-scale distributed systems
 Contemporary distributed systems
6
PHYSICAL MODELS
intranet
ISP
desktop computer:
backbone
satellite link
server:
Se rv er
Cli ent
Cl ien t
invocat ion
r esul t
Serve rinvoca ti on
r es ul t
P ro cess:
Key:
Com pute r:
☎
network link:
☎
☎
☎
Figure 1.3 A typical portion of the Internet
Esto ha llevado a un
mayor énfasis en los
estándares abiertos
y las tecnologías de
middleware
asociadas, como
CORBA y, más
recientemente, los
servicios web
7
PHYSICAL MODELS
8
PHYSICAL MODELS
9
PHYSICAL MODELS
10
ARCHITECTURAL MODELS

Architecture?
 The structure of a system specifying its
components and their interrelationships

Why architecture?
 To ensure that the structure will meet the current
and future demands on it
 To provide a reliable, manageable, adaptable and
cost-effective system
11
ARCHITECTURAL MODELS
 How to understand the fundamental building
blocks of a distributed system?

What are the entities that are communicating in the
distributed system (communicating entities)?

How do they communicate, or, what communication
paradigm is used (communication paradigms)?

What roles and responsibilities do they have in the
overall architecture (roles and responsibilities)?

How do they mapped on to the physical distributed
architecture (what is their placement)?
Architectural elements:
12
ARCHITECTURAL MODELS
Architectural elements:

Communicating entities:
 System perspective

Processes
 Nodes (sensors)
 Threads.
 Problem-oriented perspective

Processes

Objects

Components

Web services
13
ARCHITECTURAL MODELS
Architectural elements:
Communication paradigms
Interprocess communication – low-level process support. E.g.
message passing primitives, direct access to API, multicast
communication
Remote invocation – common communication paradigm in
distributed systems. Two-way exchange between communicating
entities, common techniques; RPC, RMI, request-reply protocols
Indirect communication– E.g. group communication, publish-
subscribe systems, message queues, tuple spaces, distributed
shared memory
14
ARCHITECTURAL MODELS
Architectural elements:
15
ARCHITECTURAL MODELS
Architectural elements:

Roles and responsibilities
 Client-server
 Peer-to-peer
16
ARCHITECTURAL MODELS
Architectural elements:
Server
Client
Client
invocation
result
Serverinvocation
result
Process:
Key:
Computer:
Clients invoke individual servers
17
ARCHITECTURAL MODELS
Architectural elements:
Peer-to-peer architecture
18
ARCHITECTURAL MODELS
Architectural elements:
Server
Server
Server
Service
Client
Client
A service provided by multiple servers
19
ARCHITECTURAL MODELS
Architectural elements:
Placement strategies:
Mapping of services to multiple servers – several servers
process services in separate hosts. Example: Sun Network
Information Service (NIS)
Caching – storing recently used data objects. Example: web
proxy server
Mobile code – Code can be downloaded and run on user’s
machine. Example: Applet
Mobile agents – Code and data travel in a network and
performing specific tasks on behalf of the users. Example: Web
crawler program
20
ARCHITECTURAL MODELS
Architectural elements:
Client
Proxy
Web
server
Web
server
server
Client
Web proxy server
21
ARCHITECTURAL MODELS
Architectural elements:
a) client request results in the downloading of applet code
Web
server
Client
Web
serverApplet
Applet code
Client
b) client interacts with the applet
Web applets
22
ARCHITECTURAL MODELS
Architectural patterns:
Layering –complex system is partitioned into a number of
layers. The top layer utilizes the services of the lower
layer
Tiered architecture – complementary to layering,
organizes the functionality of the given layer and place it
in appropriate server (physical nodes)
Thin clients – software layer that supports window-based
user interface in remote computers
Other patterns: e.g. proxy, brokerage, reflection
23
ARCHITECTURAL MODELS
Architectural patterns:
24
ARCHITECTURAL MODELS
Architectural patterns:
Two-tier and three-tier
architectures
25
ARCHITECTURAL MODELS
Architectural patterns:

Thin

Client

Application

Process

Network computer or PC

Compute server

network
Thin clients and compute servers
26
ARCHITECTURAL MODELS
Architectural patterns:
27
ARCHITECTURAL MODELS

Source: http://www.locher.ch/en/software/ecosys-epc/technology-architecture.html
28
ARCHITECTURAL MODELS
Source: http://ntl.bts.gov/lib/jpodocs/repts_te/13777.html
29
ARCHITECTURAL MODELS
Source: http://www.ecosys.net/ecosys-epc/technology-architecture/
30
Fundamental models
3 categories of fundamental models:

Interaction

Failure

Security
31
Fundamental models

Interaction model
 Process interaction in a distributed system are
affected by:

Performance of communication channels: latency,
bandwidth, jitter

Computer clocks – Clock drift rate

Synchronous distributed systems - Asinchronous
 Time to execute each step of a process has known
 Known time for transmitting messages
 Local dirft clocks has a known bonds
32
Fundamental models

Failure model
 defines the ways in which failure may occur in
order to provide an understanding of its effects.
 Categories of failures:

Omission failures - Process or channel failed to do
something

Arbitrary failures - Any type of error can occur in processes
or channels (worst)

Timing failures - Applicable only to synchronous distributed
systems where time limits may not be met
33
Fundamental models
Process p Process q
Communication channel
send
Outgoing message buffer Incoming message buffer
receivem
Processes and channels
34
Fundamental models
Class of failure Affects Description
Fail-stop Process Process halts and remains halted. Other processes may
Crash Process Process halts and remains halted. Other processes may
not be able to detect this state.
Omission Channel A message inserted in an outgoing message buffer never
arrives at the other end’s incoming message buffer.
Send-omission Process A process completes asend, but the message is not put
in its outgoing message buffer.
Receive-omission Process A message is put in a process’s incoming message
buffer, but that process does not receive it.
Arbitrary
(Byzantine)
Process or
channel
Process/channel exhibits arbitrary behaviour: it may
send/transmit arbitrary messages at arbitrary times,
commit omissions; a process may stop or take an
incorrect step.
detect this state.
Omission and arbitrary failures
35
Fundamental models
Class of Failure Affects Description
Clock Process Process’s local clock exceeds the bounds on its
rate of drift from real time.
Performance Process Process exceeds the bounds on the interval
between two steps.
Performance Channel A message’s transmission takes longer than the
stated bound.
Timing failures
36
Fundamental models

Security model - Secure processes and channels
and protect objects encapsulated against
unauthorized access.
 Protecting access to objects - Access rights,
authentication of clients
 Protecting processes and interactions

Threats to processes: problem of unauthenticated
requests / replies. e.g., "man in the middle"

Threats to communication channels: enemy may
copy, alter or inject messages as they travel across
network.

Use of “secure” channels, based on cryptographic methods.
37
Fundamental models
Network
invocation
result
Client
Server
Principal (user) Principal (server)
ObjectAccess rights
Objects and principals
38
Fundamental models

Communication channel

Copy of m

Process p 
Process qm

The enemy
m’
The enemy
39
Fundamental models

Principal A

Secure channel
Process p 
Process q

Principal B
Secure channels
40
Cŕeditos
• Transparencias basadas por:
• Alberto Lafuente,
http://www.sc.ehu.es/acwlaroa/SDI/Apuntes/Cap1.pdf
• Alberto Lafuente,
http://www.sc.ehu.es/acwlaalm/sdi/introduccion-slides.pdf
•
Networking académico:
Correo electrónico: rguaman@unl.edu.ec
Twitter: @rene5254
SlideShare: https://es.slideshare.net/rene5254
41
Gracias

More Related Content

Similar to System models

Software engg. pressman_ch-10
Software engg. pressman_ch-10Software engg. pressman_ch-10
Software engg. pressman_ch-10
Dhairya Joshi
 
Distributed computing
Distributed computingDistributed computing
Distributed computing
shivli0769
 
Elements of systems design
Elements of systems designElements of systems design
Elements of systems design
Chandan Arora
 
Computing notes
Computing notesComputing notes
Computing notes
thenraju24
 

Similar to System models (20)

Elements of Systems Design.ppt
Elements of Systems Design.pptElements of Systems Design.ppt
Elements of Systems Design.ppt
 
Software engg. pressman_ch-10
Software engg. pressman_ch-10Software engg. pressman_ch-10
Software engg. pressman_ch-10
 
ds2p1.pptx
ds2p1.pptxds2p1.pptx
ds2p1.pptx
 
01 - Introduction to Distributed Systems
01 - Introduction to Distributed Systems01 - Introduction to Distributed Systems
01 - Introduction to Distributed Systems
 
Marta de la Cruz-Informe Final
Marta de la Cruz-Informe FinalMarta de la Cruz-Informe Final
Marta de la Cruz-Informe Final
 
Unit-3.doc
Unit-3.docUnit-3.doc
Unit-3.doc
 
Distributed computing
Distributed computingDistributed computing
Distributed computing
 
OOP - Basing Software Development on Reusable
OOP - Basing Software Development on Reusable OOP - Basing Software Development on Reusable
OOP - Basing Software Development on Reusable
 
Elements of systems design
Elements of systems designElements of systems design
Elements of systems design
 
communication in distributed systems
communication in distributed systemscommunication in distributed systems
communication in distributed systems
 
DSchap-02.ppt
DSchap-02.pptDSchap-02.ppt
DSchap-02.ppt
 
Cs556 section2
Cs556 section2Cs556 section2
Cs556 section2
 
Distributed System ppt
Distributed System pptDistributed System ppt
Distributed System ppt
 
Architectural design of software
Architectural  design of softwareArchitectural  design of software
Architectural design of software
 
Distributed system
Distributed systemDistributed system
Distributed system
 
Computing notes
Computing notesComputing notes
Computing notes
 
18CS3040 DISTRIBUTED SYSTEMS
18CS3040 DISTRIBUTED SYSTEMS18CS3040 DISTRIBUTED SYSTEMS
18CS3040 DISTRIBUTED SYSTEMS
 
DDD - 4 - Domain Driven Design_ Architectural patterns.pdf
DDD - 4 - Domain Driven Design_ Architectural patterns.pdfDDD - 4 - Domain Driven Design_ Architectural patterns.pdf
DDD - 4 - Domain Driven Design_ Architectural patterns.pdf
 
chapter-6-Software_Engineering_P1_MohamedElhawy_19135002.pptx
chapter-6-Software_Engineering_P1_MohamedElhawy_19135002.pptxchapter-6-Software_Engineering_P1_MohamedElhawy_19135002.pptx
chapter-6-Software_Engineering_P1_MohamedElhawy_19135002.pptx
 
CS6601 DISTRIBUTED SYSTEMS
CS6601 DISTRIBUTED SYSTEMSCS6601 DISTRIBUTED SYSTEMS
CS6601 DISTRIBUTED SYSTEMS
 

More from Rene Guaman-Quinche

More from Rene Guaman-Quinche (20)

interfaces.pdf
interfaces.pdfinterfaces.pdf
interfaces.pdf
 
Paradigma Programación Orientada a Objetos
Paradigma Programación Orientada a ObjetosParadigma Programación Orientada a Objetos
Paradigma Programación Orientada a Objetos
 
Fundamentos ingeniería de requisitos.pdf
Fundamentos ingeniería de requisitos.pdfFundamentos ingeniería de requisitos.pdf
Fundamentos ingeniería de requisitos.pdf
 
replicacion heterogenea.pdf
replicacion heterogenea.pdfreplicacion heterogenea.pdf
replicacion heterogenea.pdf
 
Elicitación de requerimientos
Elicitación de requerimientosElicitación de requerimientos
Elicitación de requerimientos
 
Arquitectura sw varios niveles.pdf
Arquitectura sw varios niveles.pdfArquitectura sw varios niveles.pdf
Arquitectura sw varios niveles.pdf
 
Hilos con Posix
Hilos con PosixHilos con Posix
Hilos con Posix
 
Introducción a los sistemas distribuidos
Introducción a los sistemas distribuidosIntroducción a los sistemas distribuidos
Introducción a los sistemas distribuidos
 
Diagramas componentes
Diagramas componentesDiagramas componentes
Diagramas componentes
 
Diagramas de secuencia
Diagramas de secuenciaDiagramas de secuencia
Diagramas de secuencia
 
C4model - Arquitectura de Software
C4model - Arquitectura de SoftwareC4model - Arquitectura de Software
C4model - Arquitectura de Software
 
Sistema de Archivos Distribuidos
Sistema de Archivos DistribuidosSistema de Archivos Distribuidos
Sistema de Archivos Distribuidos
 
RPC
RPCRPC
RPC
 
Unidad 2 diseño orientado a objetos
Unidad 2 diseño orientado a objetosUnidad 2 diseño orientado a objetos
Unidad 2 diseño orientado a objetos
 
Tiempo, causalidad y estado global
Tiempo, causalidad y estado globalTiempo, causalidad y estado global
Tiempo, causalidad y estado global
 
Tiempo, causalidad y estado global Alberto Lafuente Teorìa
Tiempo, causalidad y estado global Alberto Lafuente TeorìaTiempo, causalidad y estado global Alberto Lafuente Teorìa
Tiempo, causalidad y estado global Alberto Lafuente Teorìa
 
Tiempo, causalidad y estado global Alberto Lafuente Transparencias
Tiempo, causalidad y estado global Alberto Lafuente TransparenciasTiempo, causalidad y estado global Alberto Lafuente Transparencias
Tiempo, causalidad y estado global Alberto Lafuente Transparencias
 
Ciclo de vida software
Ciclo de vida softwareCiclo de vida software
Ciclo de vida software
 
Comunicacion intra procesos con socket
Comunicacion intra procesos con socketComunicacion intra procesos con socket
Comunicacion intra procesos con socket
 
Modelo paso de mensajes
Modelo paso de mensajesModelo paso de mensajes
Modelo paso de mensajes
 

Recently uploaded

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Recently uploaded (20)

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 

System models