Lecture 1 - Introduction
Lecture 1 - Introduction
Computing
FALL -2022
Dr. Zeshan Iqbal
Lecture 1: Welcome, and Introduction
2
Our Main Goal Today
4
Can you name some examples of
Operating Systems?
…
Linux WinXP Vista 7/8 Unix FreeBSD Mac OSX
2K Aegis Scout Hydra Mach SPIN
OS/2 Express Flux Hope Spring
AntaresOS EOS LOS SQOS LittleOS TINOS
PalmOS WinCE TinyOS iOS
…
6
What is an Operating System?
FOLDOC definition
(FOLDOC = Free On-Line Dictionary of Computing)
Operating System - The low-level software
which handles the interface to peripheral
hardware, schedules tasks, allocates storage,
and presents a default interface to the user
when no application program is running.
8
Can you name some examples of
Distributed Systems?
• Client-Server (NFS)
• The Web
• The Internet
• A wireless network
• DNS
• Gnutella or BitTorrent (peer to peer overlays)
• A “cloud”, e.g., Amazon EC2/S3, Microsoft Azure
• A datacenter, e.g., NCSA, a Google datacenter, AWS
10
10
What is a Distributed System?
11
11
FOLDOC definition
12
12
Textbook definitions
• A distributed system is a collection of independent
computers that appear to the users of the system as a
single computer.
[Andrew Tanenbaum]
13
Unsatisfactory
• Why are these definitions short?
• Why do these definitions look inadequate to us?
• Because we are interested in the insides of a
distributed system
– design and implementation
– Maintenance
– Algorithmics (“protocols” or “distributed algorithms”)
14
14
“I shall not today attempt further to define the kinds of material I
understand to be embraced within that shorthand description; and
perhaps I could never succeed in intelligibly doing so. But I know it
when I see it, and the motion picture involved in this case is not that.”
15
15
(A)
16
(B)
17
18
18
Gnutella Peer to Peer System
19
19
Web Domains
What are the
“entities”
(nodes)?
What is the
communication
medium
(links)?
Source: http://www.vlib.us/web/worldwideweb3d.html 20
20
Datacenter
What is the
communication medium
(links)?
21
21
22
An Intranet & a distributed system
email server De sktop
computers
print and other serv ers
Local area
Running over this Web server network
Intranet is a distributed
file system
email server
print
File server
other s ervers
the res t of
the Internet
router/firewall
prevents unauthorized messages from leaving/entering;
implemented by filtering incoming and outgoing messages
via firewall “rules” (configurable)
23
23
24
“Important” Distributed Systems
Issues
• No global clock; no single global notion of the correct time
(asynchrony)
• Unpredictable failures of components: lack of response may be due
to either failure of a network component, network path being
down, or a computer crash (failure-prone, unreliable)
• Highly variable bandwidth: from 16Kbps (slow modems or Google
Balloon) to Gbps (Internet2) to Tbps (in between DCs of same big
company)
• Possibly large and variable latency: few ms to several seconds
• Large numbers of hosts: 2 to several million
25
25
26
Typical Distributed Systems Design
• Common Goals:
Goals
– Heterogeneity – can the system handle a large variety of types of PCs
and devices?
– Robustness – is the system resilient to host crashes and failures, and
to the network dropping messages?
– Availability – are data+services always there for clients?
– Transparency – can the system hide its internal workings from the
users? (warning: term means the opposite of what the name implies!)
– Concurrency – can the server handle multiple clients simultaneously?
– Efficiency – is the service fast enough? Does it utilize 100% of all
resources?
– Scalability – can it handle 100 million nodes without degrading
service? (nodes=clients and/or servers) How about 6 B? More?
– Security – can the system withstand hacker attacks?
– Openness – is the system extensible? 27
27
“Important” Issues
• If you’re already complaining that the list of topics
we’ve discussed so far has been perplexing…
– You’re right!
– It was meant to be (perplexing)
28
28
“Concepts”?
• Which of the following inventions do you
think is the most important?
1. Car
2. Wheel
3. Bicycle
29
29
• Web:
• Textbook, Recommended but not Required
– Colouris, Dollimore, Kindberg and Blair (5th edition)
– If you use a different or older version, be sure to check
problem numbers, etc.
– Textbook is a great source of practice problems for the exams
(midterm and final)
• Lectures
30
30