Distributive Systems Lecture
Distributive Systems Lecture
Session 1 – Introduction
By
Solomon Mensah (PhD)
College of Education
School of Continuing and Distance Education
2014/2015 – 2016/2017
Agenda
• What is a Distributed System?
• Examples of Distributed systems
• Concurrency vs Parallelism
• Focus of the course
• Centralized vs. Distributed systems
• Motivation
• Challenges
• Basic Network Topologies
• Case studies: Google and PASS
• Two Generals’ Problem
What is a Distributed System?
• Definition 1:
– is one in which components located at networked computers
communicate and coordinate their actions only by passing
messages.
• Definition 2:
– “is one in which the failure of a computer you didn’t even know
existed can render your own computer unusable” [Lesile Lamport,
1987].
• Definition 3:
– is a set of nodes (computers), connected by a network which appear
to its users as a single coherent system.
What is a Distributed System?
• Definition 4:
– is a system whose components are located on different
networked computers, which communicate and coordinate
their actions by passing messages to one another.
• Definition 5:
– is a network that consists of autonomous computers that are
connected using a distribution middleware.
• They help in sharing different resources and capabilities to
provide users with a single and integrated coherent network.
Distributed Computing and Examples
• Centralized System:
– System in which major functions are performed by a single
physical computer
• Originally, everything on single computer
• Later: client/server model
• Distributed System:
– physically separate computers working together on some task
• Early model: multiple servers working together
– Probably in the same room or building
– Often called a “cluster”
• Later models: peer-to-peer/wide-spread collaboration
Centralized vs Distributed Systems
Server
Client/Server Model
Peer-to-Peer Model
Distributed Systems: Motivation
• Why do we want distributed systems?
– Cheaper and easier to build lots of simple computers
– Users can have complete control over some components
– Collaboration:
• Much easier for users to collaborate through network resources
(such as network file systems)
– Assignment II:
• Explain how PASS built on 4 different nodes qualifies to be a
distributed system and how it contributed in improving reliability
in the space shuttle.
Two Generals’ Problem in distributed
systems
• What is the Two Generals’ Problem or Byzantine Generals’
Problem?
– Applicability to distributed systems
• Two nodes need to agree on a value
• Communicate by messages using unreliable channel
– SAKAI: https://sakai.ug.edu.gh/
Thank you