SlideShare a Scribd company logo
Introduction to
Distributed
Systems
Today’s Session…
• What is a distributed system?
• Why do we need distributed system?
• Examples of distributed system
• Advantages
• Challenges
• Architectural categories
• Points to ponder
What do we have now which is not before??
Processor Memory
Storage Protocols
Networking
What do we have now which is not before??
Processor Memory
Storage Protocols
Networking
Computers got-
• Smaller
• Cheaper
• Power efficient
• Faster
What do we have now which is not before??
Processor Memory
Storage Protocols
Networking
• WHY?
- Microprocessor Tech
What do we have now which is not before??
Processor Memory
Storage Protocols
Networking
Avg song size = 4.4MB
Then @44kbps, download time was 15 mins
Now @12.9 mbps, download time is 3.5 sec
What do we have now which is not before??
Processor Memory
Storage Protocols
Networking
Large amount of Data
can be stored
What do we have now which is not before??
Processor Memory
Storage Protocols
Networking
• World is connected with
network.
• Live Streaming is possible
in secs.
• Faster and clear.
• A distributed system is a collection of
independent computers that appear to the
users of the system as a single coherent
system.
• Components located at networked
computers communicate and coordinate
their actions only by passing messages.
What is a distributed system??
What is a distributed system?? (Contd…)
• Consider large companies like Google or
Facebook with,
• Large number of Services, many users,
many requests at a time.
Can a single computer handle all
this??
What is a distributed system?? (Contd…)
• Consider large companies like Google or
Facebook with,
• Large number of Services, many users,
many requests at a time.
NO
What is a distributed system?? (Contd…)
• Consider large companies like Google or
Facebook with,
• Large number of Services, many users,
many requests at a time.
Do it with multiple computers which talk
to each other
Formal definition of distributed system
• A distributed system is a collection of
independent entities that cooperate to solve
a problem that cannot be individually solved.
Three major technologies in distributed system
• Main Frame Systems
• Bulk data processing
• Clusters
• Group of server and other resources connected
together
• Replacement of main frame to reduce cost
• Grid
• Combines resources over different geographical
location
Characteristics of distributed system
• No common physical clock
• No shared memory
• Geographical separation
• Autonomy and heterogeneity
Motivation for using a Distributed system
• Inherently distributed computations
• Resource sharing
• Access to geographically remote data and
resources
• Enhanced reliability
• Increased performance/cost ratio
• Scalability
• Modularity and incremental expandability
Relation to computer system components
• Each computer has a memory-processing unit and the
computers are connected by a communication
network.
Relation to computer system components
• The distributed software is also termed as middleware.
• A distributed execution is the execution of processes across the
distributed system to collaboratively achieve a common goal.
• An execution is also sometimes termed a computation or a run.
Characteristics of parallel systems
A parallel system may be broadly classified as belonging to one of
three types:
• A multiprocessor system
• A multicomputer parallel system
• Array processors
Characteristics of parallel systems
A parallel system may be broadly classified as belonging to one of
three types:
• A multiprocessor system
• A multicomputer parallel system
• Array processors
• A multiprocessor system is a parallel system in which the
multiple processors have direct access to shared memory
which forms a common address space.
• Such processors usually do not have a common clock.
Characteristics of parallel systems
A parallel system may be broadly classified as belonging to one of
three types:
• A multiprocessor system
• A multicomputer parallel system
• Array processors
Two standard architectures for parallel systems.
(a) Uniform memory access (UMA) multiprocessor system.
(b) Non-uniform memory access (NUMA) multiprocessor.
Characteristics of parallel systems
A parallel system may be broadly classified as belonging to one of
three types:
• A multiprocessor system
• A multicomputer parallel system
• Array processors
(a) Uniform memory access (UMA) multiprocessor system.
(b) Non-uniform memory access (NUMA) multiprocessor.
Characteristics of parallel systems
A parallel system may be broadly classified as belonging to one of
three types:
• A multiprocessor system
• A multicomputer parallel system
• Array processors
Uniform Memory Access (UMA)
• All the processors share the physical
memory in a centralized manner with
equal access time to all the memory.
• Each processor may have a private
cache memory.
• When all the processors have equal
access to all the peripheral devices, the
system is called a symmetric
multiprocessor.
• When only one or a few processors can
access the peripheral devices, the system
is called an asymmetric multiprocessor.
• When a CPU wants to access a memory
location, it checks if the bus is free, then
it sends the request to the memory
interface module and waits for the
requested data to be available on the
bus.
Characteristics of parallel systems
A parallel system may be broadly classified as belonging to one of
three types:
• A multiprocessor system
• A multicomputer parallel system
• Array processors
Non-uniform Memory Access
(NUMA)
• Shared memory is physically
distributed among all the
processors, called local memories.
• The collection of all local
memories forms a global address
space which can be accessed by all
the processors.
• NUMA systems also share CPUs
and the address space, but each
processor has a local memory,
visible to all other processors.
• In NUMA systems access to local
memory blocks is quicker than
access to remote memory blocks.
Characteristics of parallel systems
A parallel system may be broadly classified as belonging to one of
three types:
• A multiprocessor system
• A multicomputer parallel system
• Array processors
Non-uniform Memory Access
(NUMA)
• Shared memory is physically
distributed among all the
processors, called local memories.
• The collection of all local
memories forms a global address
space which can be accessed by all
the processors.
• NUMA systems also share CPUs
and the address space, but each
processor has a local memory,
visible to all other processors.
• In NUMA systems access to local
memory blocks is quicker than
access to remote memory blocks.
Characteristics of parallel systems
A parallel system may be broadly classified as belonging to one of
three types:
• A multiprocessor system
• A multicomputer parallel system
• Array processors
Multiple processors do not have direct access to shared memory.
The memory of the multiple processors may or may not form a
common address space.
Such computers usually do not have a common clock.
Shared Memory Message Passing
It is one of the region for data
communication
Mainly the message passing is used for
communication.
It is used for communication between
single processor and multiprocessor
systems where the processes that are
to be communicated present on the
same machine and they are sharing
common address space.
It is used in distributed environments
where the communicating processes
are present on remote machines which
are connected with the help of a
network.
The shared memory code that has to be
read or write the data that should be
written explicitly by the application
programmer.
Here no code is required because the
message passing facility provides a
mechanism for communication and
synchronization of actions that are
performed by the communicating
processes.
It is going to provide a maximum speed
of computations because the
communication is done with the help of
shared memory so system calls are
used to establish the shared memory.
Message passing is a time consuming
process because it is implemented
through kernel (system calls).
Shared Memory Message Passing
In shared memory make sure that the
processes are not writing to the same
location simultaneously.
Message passing is useful for sharing
small amounts of data so that conflicts
need not occur.
It follows a faster communication
strategy when compared to message
passing technique.
In message passing the communication
is slower when compared to shared
memory technique.
Given below is the structure of shared
memory system −
Given below is the structure of message
passing system −
Executing Tasks: Sync versus
Async
CS8603 – SYLLABUS
UNIT I INTRODUCTION
Introduction: Definition –Relation to computer system components –Motivation –Relation to parallel
systems — Message-passing systems versus shared memory systems –Primitives for distributed
communication –Synchronous versus asynchronous executions –Design issues and challenges. A model of
distributed computations: A distributed program –A model of distributed executions –Models of
communication networks –Global state — Cuts –Past and future cones of an event –Models of process
communications. Logical Time: A framework for a system of logical clocks –Scalar time –Vector time —
Physical clock synchronization: NTP.
UNIT II MESSAGE ORDERING & SNAPSHOTS
Message ordering and group communication: Message ordering paradigms –Asynchronous execution
with synchronous communication –Synchronous program order on an asynchronous system –Group
communication — Causal order (CO) — Total order. Global state and snapshot recording algorithms:
Introduction –System model and definitions –Snapshot algorithms for FIFO channels
UNIT III DISTRIBUTED MUTEX & DEADLOCK
Distributed mutual exclusion algorithms: Introduction — Preliminaries — Lamport?s algorithm — Ricart-
Agrawala algorithm — Maekawa?s algorithm — Suzuki–Kasami?s broadcast algorithm. Deadlock
detection in distributed systems: Introduction — System model — Preliminaries — Models of deadlocks
— Knapp?s classification — Algorithms for the single resource model, the AND model and the OR model.
UNIT IV RECOVERY & CONSENSUS
Checkpointing and rollback recovery: Introduction — Background and definitions — Issues in failure
recovery — Checkpoint-based recovery — Log-based rollback recovery — Coordinated checkpointing
algorithm — Algorithm for asynchronous checkpointing and recovery. Consensus and agreement
algorithms: Problem definition — Overview of results — Agreement in a failure —
free system — Agreement in synchronous systems with failures.
UNIT V P2P & DISTRIBUTED SHARED MEMORY
Peer-to-peer computing and overlay graphs: Introduction — Data indexing and overlays — Chord —
Content addressable networks — Tapestry. Distributed shared memory: Abstraction and advantages —
Memory consistency models –Shared memory Mutual Exclusion.

More Related Content

Similar to Intro_ppt.pptx

unit 4.pptx
unit 4.pptxunit 4.pptx
unit 4.pptx
unit 4.pptxunit 4.pptx
Overview of Distributed Systems
Overview of Distributed SystemsOverview of Distributed Systems
Overview of Distributed Systems
vampugani
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4alixafar
 
OS multiprocessing1.pptx
OS multiprocessing1.pptxOS multiprocessing1.pptx
OS multiprocessing1.pptx
amerdawood2
 
assignment_presentaion_jhvvnvhjhbhjhvjh.pptx
assignment_presentaion_jhvvnvhjhbhjhvjh.pptxassignment_presentaion_jhvvnvhjhbhjhvjh.pptx
assignment_presentaion_jhvvnvhjhbhjhvjh.pptx
23mu36
 
Distributed and clustered systems
Distributed and clustered systemsDistributed and clustered systems
Distributed and clustered systems
V.V.Vanniaperumal College for Women
 
Memory and Cache Coherence in Multiprocessor System.pdf
Memory and Cache Coherence in Multiprocessor System.pdfMemory and Cache Coherence in Multiprocessor System.pdf
Memory and Cache Coherence in Multiprocessor System.pdf
rajaratna4
 
Desktop and multiprocessor systems
Desktop and multiprocessor systemsDesktop and multiprocessor systems
Desktop and multiprocessor systems
V.V.Vanniaperumal College for Women
 
Memory Management in Operating Systems for all
Memory Management in Operating Systems for allMemory Management in Operating Systems for all
Memory Management in Operating Systems for all
VSKAMCSPSGCT
 
Multiprocessor_YChen.ppt
Multiprocessor_YChen.pptMultiprocessor_YChen.ppt
Multiprocessor_YChen.ppt
AberaZeleke1
 
Distributed systems and scalability rules
Distributed systems and scalability rulesDistributed systems and scalability rules
Distributed systems and scalability rules
Oleg Tsal-Tsalko
 
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptxParallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Sumalatha A
 
EMBEDDED OS
EMBEDDED OSEMBEDDED OS
EMBEDDED OS
AJAL A J
 
ch1.ppt
ch1.pptch1.ppt
W-4.pptx
W-4.pptxW-4.pptx
W-4.pptx
alianwarr
 
parallel processing.ppt
parallel processing.pptparallel processing.ppt
parallel processing.ppt
NANDHINIS109942
 
chapter-18-parallel-processing-multiprocessing (1).ppt
chapter-18-parallel-processing-multiprocessing (1).pptchapter-18-parallel-processing-multiprocessing (1).ppt
chapter-18-parallel-processing-multiprocessing (1).ppt
NANDHINIS109942
 
Ch1 introduction
Ch1   introductionCh1   introduction
Ch1 introduction
Welly Dian Astika
 

Similar to Intro_ppt.pptx (20)

unit 4.pptx
unit 4.pptxunit 4.pptx
unit 4.pptx
 
unit 4.pptx
unit 4.pptxunit 4.pptx
unit 4.pptx
 
Overview of Distributed Systems
Overview of Distributed SystemsOverview of Distributed Systems
Overview of Distributed Systems
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4
 
OS multiprocessing1.pptx
OS multiprocessing1.pptxOS multiprocessing1.pptx
OS multiprocessing1.pptx
 
Week5
Week5Week5
Week5
 
assignment_presentaion_jhvvnvhjhbhjhvjh.pptx
assignment_presentaion_jhvvnvhjhbhjhvjh.pptxassignment_presentaion_jhvvnvhjhbhjhvjh.pptx
assignment_presentaion_jhvvnvhjhbhjhvjh.pptx
 
Distributed and clustered systems
Distributed and clustered systemsDistributed and clustered systems
Distributed and clustered systems
 
Memory and Cache Coherence in Multiprocessor System.pdf
Memory and Cache Coherence in Multiprocessor System.pdfMemory and Cache Coherence in Multiprocessor System.pdf
Memory and Cache Coherence in Multiprocessor System.pdf
 
Desktop and multiprocessor systems
Desktop and multiprocessor systemsDesktop and multiprocessor systems
Desktop and multiprocessor systems
 
Memory Management in Operating Systems for all
Memory Management in Operating Systems for allMemory Management in Operating Systems for all
Memory Management in Operating Systems for all
 
Multiprocessor_YChen.ppt
Multiprocessor_YChen.pptMultiprocessor_YChen.ppt
Multiprocessor_YChen.ppt
 
Distributed systems and scalability rules
Distributed systems and scalability rulesDistributed systems and scalability rules
Distributed systems and scalability rules
 
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptxParallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
 
EMBEDDED OS
EMBEDDED OSEMBEDDED OS
EMBEDDED OS
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 
W-4.pptx
W-4.pptxW-4.pptx
W-4.pptx
 
parallel processing.ppt
parallel processing.pptparallel processing.ppt
parallel processing.ppt
 
chapter-18-parallel-processing-multiprocessing (1).ppt
chapter-18-parallel-processing-multiprocessing (1).pptchapter-18-parallel-processing-multiprocessing (1).ppt
chapter-18-parallel-processing-multiprocessing (1).ppt
 
Ch1 introduction
Ch1   introductionCh1   introduction
Ch1 introduction
 

Recently uploaded

一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
dxobcob
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
obonagu
 
Ethernet Routing and switching chapter 1.ppt
Ethernet Routing and switching chapter 1.pptEthernet Routing and switching chapter 1.ppt
Ethernet Routing and switching chapter 1.ppt
azkamurat
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 

Recently uploaded (20)

一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
Ethernet Routing and switching chapter 1.ppt
Ethernet Routing and switching chapter 1.pptEthernet Routing and switching chapter 1.ppt
Ethernet Routing and switching chapter 1.ppt
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 

Intro_ppt.pptx

  • 2. Today’s Session… • What is a distributed system? • Why do we need distributed system? • Examples of distributed system • Advantages • Challenges • Architectural categories • Points to ponder
  • 3. What do we have now which is not before?? Processor Memory Storage Protocols Networking
  • 4. What do we have now which is not before?? Processor Memory Storage Protocols Networking Computers got- • Smaller • Cheaper • Power efficient • Faster
  • 5. What do we have now which is not before?? Processor Memory Storage Protocols Networking • WHY? - Microprocessor Tech
  • 6. What do we have now which is not before?? Processor Memory Storage Protocols Networking Avg song size = 4.4MB Then @44kbps, download time was 15 mins Now @12.9 mbps, download time is 3.5 sec
  • 7. What do we have now which is not before?? Processor Memory Storage Protocols Networking Large amount of Data can be stored
  • 8. What do we have now which is not before?? Processor Memory Storage Protocols Networking • World is connected with network. • Live Streaming is possible in secs. • Faster and clear.
  • 9. • A distributed system is a collection of independent computers that appear to the users of the system as a single coherent system. • Components located at networked computers communicate and coordinate their actions only by passing messages. What is a distributed system??
  • 10. What is a distributed system?? (Contd…) • Consider large companies like Google or Facebook with, • Large number of Services, many users, many requests at a time. Can a single computer handle all this??
  • 11. What is a distributed system?? (Contd…) • Consider large companies like Google or Facebook with, • Large number of Services, many users, many requests at a time. NO
  • 12. What is a distributed system?? (Contd…) • Consider large companies like Google or Facebook with, • Large number of Services, many users, many requests at a time. Do it with multiple computers which talk to each other
  • 13. Formal definition of distributed system • A distributed system is a collection of independent entities that cooperate to solve a problem that cannot be individually solved.
  • 14.
  • 15. Three major technologies in distributed system • Main Frame Systems • Bulk data processing • Clusters • Group of server and other resources connected together • Replacement of main frame to reduce cost • Grid • Combines resources over different geographical location
  • 16. Characteristics of distributed system • No common physical clock • No shared memory • Geographical separation • Autonomy and heterogeneity
  • 17. Motivation for using a Distributed system • Inherently distributed computations • Resource sharing • Access to geographically remote data and resources • Enhanced reliability • Increased performance/cost ratio • Scalability • Modularity and incremental expandability
  • 18. Relation to computer system components • Each computer has a memory-processing unit and the computers are connected by a communication network.
  • 19. Relation to computer system components • The distributed software is also termed as middleware. • A distributed execution is the execution of processes across the distributed system to collaboratively achieve a common goal. • An execution is also sometimes termed a computation or a run.
  • 20. Characteristics of parallel systems A parallel system may be broadly classified as belonging to one of three types: • A multiprocessor system • A multicomputer parallel system • Array processors
  • 21. Characteristics of parallel systems A parallel system may be broadly classified as belonging to one of three types: • A multiprocessor system • A multicomputer parallel system • Array processors • A multiprocessor system is a parallel system in which the multiple processors have direct access to shared memory which forms a common address space. • Such processors usually do not have a common clock.
  • 22. Characteristics of parallel systems A parallel system may be broadly classified as belonging to one of three types: • A multiprocessor system • A multicomputer parallel system • Array processors Two standard architectures for parallel systems. (a) Uniform memory access (UMA) multiprocessor system. (b) Non-uniform memory access (NUMA) multiprocessor.
  • 23. Characteristics of parallel systems A parallel system may be broadly classified as belonging to one of three types: • A multiprocessor system • A multicomputer parallel system • Array processors (a) Uniform memory access (UMA) multiprocessor system. (b) Non-uniform memory access (NUMA) multiprocessor.
  • 24. Characteristics of parallel systems A parallel system may be broadly classified as belonging to one of three types: • A multiprocessor system • A multicomputer parallel system • Array processors Uniform Memory Access (UMA) • All the processors share the physical memory in a centralized manner with equal access time to all the memory. • Each processor may have a private cache memory. • When all the processors have equal access to all the peripheral devices, the system is called a symmetric multiprocessor. • When only one or a few processors can access the peripheral devices, the system is called an asymmetric multiprocessor. • When a CPU wants to access a memory location, it checks if the bus is free, then it sends the request to the memory interface module and waits for the requested data to be available on the bus.
  • 25. Characteristics of parallel systems A parallel system may be broadly classified as belonging to one of three types: • A multiprocessor system • A multicomputer parallel system • Array processors Non-uniform Memory Access (NUMA) • Shared memory is physically distributed among all the processors, called local memories. • The collection of all local memories forms a global address space which can be accessed by all the processors. • NUMA systems also share CPUs and the address space, but each processor has a local memory, visible to all other processors. • In NUMA systems access to local memory blocks is quicker than access to remote memory blocks.
  • 26. Characteristics of parallel systems A parallel system may be broadly classified as belonging to one of three types: • A multiprocessor system • A multicomputer parallel system • Array processors Non-uniform Memory Access (NUMA) • Shared memory is physically distributed among all the processors, called local memories. • The collection of all local memories forms a global address space which can be accessed by all the processors. • NUMA systems also share CPUs and the address space, but each processor has a local memory, visible to all other processors. • In NUMA systems access to local memory blocks is quicker than access to remote memory blocks.
  • 27. Characteristics of parallel systems A parallel system may be broadly classified as belonging to one of three types: • A multiprocessor system • A multicomputer parallel system • Array processors Multiple processors do not have direct access to shared memory. The memory of the multiple processors may or may not form a common address space. Such computers usually do not have a common clock.
  • 28. Shared Memory Message Passing It is one of the region for data communication Mainly the message passing is used for communication. It is used for communication between single processor and multiprocessor systems where the processes that are to be communicated present on the same machine and they are sharing common address space. It is used in distributed environments where the communicating processes are present on remote machines which are connected with the help of a network. The shared memory code that has to be read or write the data that should be written explicitly by the application programmer. Here no code is required because the message passing facility provides a mechanism for communication and synchronization of actions that are performed by the communicating processes. It is going to provide a maximum speed of computations because the communication is done with the help of shared memory so system calls are used to establish the shared memory. Message passing is a time consuming process because it is implemented through kernel (system calls).
  • 29. Shared Memory Message Passing In shared memory make sure that the processes are not writing to the same location simultaneously. Message passing is useful for sharing small amounts of data so that conflicts need not occur. It follows a faster communication strategy when compared to message passing technique. In message passing the communication is slower when compared to shared memory technique. Given below is the structure of shared memory system − Given below is the structure of message passing system −
  • 30. Executing Tasks: Sync versus Async
  • 31. CS8603 – SYLLABUS UNIT I INTRODUCTION Introduction: Definition –Relation to computer system components –Motivation –Relation to parallel systems — Message-passing systems versus shared memory systems –Primitives for distributed communication –Synchronous versus asynchronous executions –Design issues and challenges. A model of distributed computations: A distributed program –A model of distributed executions –Models of communication networks –Global state — Cuts –Past and future cones of an event –Models of process communications. Logical Time: A framework for a system of logical clocks –Scalar time –Vector time — Physical clock synchronization: NTP. UNIT II MESSAGE ORDERING & SNAPSHOTS Message ordering and group communication: Message ordering paradigms –Asynchronous execution with synchronous communication –Synchronous program order on an asynchronous system –Group communication — Causal order (CO) — Total order. Global state and snapshot recording algorithms: Introduction –System model and definitions –Snapshot algorithms for FIFO channels UNIT III DISTRIBUTED MUTEX & DEADLOCK Distributed mutual exclusion algorithms: Introduction — Preliminaries — Lamport?s algorithm — Ricart- Agrawala algorithm — Maekawa?s algorithm — Suzuki–Kasami?s broadcast algorithm. Deadlock detection in distributed systems: Introduction — System model — Preliminaries — Models of deadlocks — Knapp?s classification — Algorithms for the single resource model, the AND model and the OR model. UNIT IV RECOVERY & CONSENSUS Checkpointing and rollback recovery: Introduction — Background and definitions — Issues in failure recovery — Checkpoint-based recovery — Log-based rollback recovery — Coordinated checkpointing algorithm — Algorithm for asynchronous checkpointing and recovery. Consensus and agreement algorithms: Problem definition — Overview of results — Agreement in a failure — free system — Agreement in synchronous systems with failures. UNIT V P2P & DISTRIBUTED SHARED MEMORY Peer-to-peer computing and overlay graphs: Introduction — Data indexing and overlays — Chord — Content addressable networks — Tapestry. Distributed shared memory: Abstraction and advantages — Memory consistency models –Shared memory Mutual Exclusion.