Module 1: Introduction to Networked Systems Flashcards

1
Q

As a programmer of distributed systems, what are some of your key concerns?

A

performance: latency, bandwidth, loss rate, jitter
number of end systems
service interface (how to invoke the service?)
communication model: reliability, unicast vs. multicast, broadcast, anycast, real-time…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

describe three communication models:

A
  1. broadcast: one machine sends a message to many other machines (within a range)
  2. unicast: point to point communication; one machine talks to another machine
  3. multicast: one machine sends a message to a subset of machines
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Based on the service-centric view of networks, the basic service networks offer is to:

A

send and receive information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

goal of The Future Network:

A

“This era will be defined by the digitization and connection of everything and everyone with the goal of automating much of life, effectively creating time, by maximizing the efficiency of everything we do…”
Marcus K. Weldon

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

three waves of tech revolutions

A
  1. 1985-2000: building of internet
  2. 2000-2015: building new services on top of the internet
  3. 2015+: building the internet into everything
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Analysis of the Growth in Core Network Traffic

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Catalytic Technological Drivers for the Future Network

A
  1. cloud-integrated network
  2. internet-connected machines and devices (IoT)
  3. augmented intelligence systems
  4. mobile broadband that brings beyond the basic mobile internet access and covers rich applications in the cloud or augmented reality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Briefly describe a switched network and the issue it addresses:

A

I mentioned earlier that 5 billion people are connected to the internet. If everybody has 2 or 3 devices, that would be 10 to 15 billion devices. Therefore, it is not realistic for every device to be directly connected to every other device. What should we do in this case? In the core internet infrastructure, we have a smaller group of machines called switches, they connect endpoints in the network. When we say endpoint, we mean the end-host machine, it could be a server machine, desktop, iPhone, iPad, android, and so on. These endpoints connect to a nearby switch, if one of them wishes to talk to another host, they have to send messages through this network of switches.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the three phases of circuit switching paradigm?

A
  1. circuit establishment
  2. data transfer
  3. circuit termination
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

packet switching

A
  1. packets - discrete blocks of data
  2. routed between nodes over data links shared with other traffics
  3. at each node the entire packet is received, stored, and then forwarded to the next node (store and forward networks)
  4. links can be shared
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

datagram packet switching

A

most well-known example: IP networks (internet protocol)

each packet is independently switched
– each packet header contains destination address
– routing protocol is used to compute next hop

no resources are pre-allocated in advance

no connection state required:
– easy to recover from errors
– minimal network assumptions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

how are resources shared in packet-switching?

A

multiplexing / demultiplexing

one way of achieving multiplexing is time division multiplexing (TDM): time divided in frames and frames divided in slots
– relative slot position inside a frame determines which conversation the data belongs to
– needs synchronization between sender and receiver

advantage of TDM: it is very fair, everyone has a turn to run
disadvantage: limited by time slots, if more connections than slots, then some cannot be sent, every connection gets equal resources, so not very efficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is an alternative to TDM? what issues does it have?

A

frequency division multiplexing: simultaneous transmission in different frequency band

same problem as TDM: inflexible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

how does the internet do packet switching today?

A

statistical multiplexing:
– packets from any convo can be transmitted at any given time on demand
– upper-bound on packet size for fairness

how to tell them apart?
– use meta-data header to describe packets

con: new easy way to deal with congestion, you could drop packets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

time-division vs. statistical

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

virtual-circuit packet switching

A

hybrid of circuit switching and packet switching
- data is transmitted as packets
- all packets from one packet stream are sent along a pre-established path
- connection oriented

guarantees in-sequence deliver of packets, allocate resources

examples: asynchronous transfer mode (ATM networks), multi-protocol label switching (MPLS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Which network paradigms require a connection to be established before sending data?

A

circuit-switched
virtual circuit network

18
Q

original goal of internet:

A

inter-connect multiple networks of different types (wired and wireless) via store and forward gateways

19
Q

Goal #1: Robustness

A

if network disrupted and reconfigured:
- communicating endpoint should be able to continue communicating
- mask transient failures
- transport interface only knows “working”and “not working”

how to achieve?
- replication vs. fate-sharing

20
Q

Why is fate-sharing chosen by the internet over replication?

A
  • easy to engineer
    – protects against any number of failures
    – gateways are just stateless packet switches
    – more trust placed at end-hosts
21
Q

Goal #2: Types of Service

A

• not all applications have similar requirements
• reliability vs performance
• original internet model
–> TCP/IP one layer
• today’s internet model
–> break up into TCP (reliable), IP (best effort)
–> UDP uses IP

22
Q

Goal #3: Variety of Networks

A

many different network styles and tech

why is this hard? we would need to design Mˆn ways to communicate

23
Q

Suppose there are 4 applications and 4 transmission media. How many ways of communicating are needed in total?

A

16

24
Q

Hourglass solution

A
25
Q

the “other” goals

A

distributed management
cost effectiveness
attaching a host

26
Q

goal #7: accountability

A

analogy: registered mail
not a focus in military settings, but important in the commercial world
billing: mostly flat-rate
security: open problem today, internet provides few tools for accounting of packet flows

27
Q

three layers of properties

A
  1. service: what a layer does
  2. service interface: how to access the service (interface for layer above)
  3. protocol (peer interface): how peers communicate
28
Q

layers of internet architecture

A

application
transport
network
link
physical

29
Q

physical layer

A

service: move info between 2 systems connected by a link
interface: specifies how to send a bit
protocol: coding scheme used to represent a bit
examples: coaxial cable, optical fiber links

30
Q

datalink layer

A

service:
aggregate stream of bits into frames (attach frame separators)
send data frames between peers
others: per-hop reliable transmission, per-hop flow control

interface:
send a data unit (frame) to a machine (MAC address) connected to the same physical media

protocol: Medium Access Control (MAC) (e.g., CSMA/CD, Token ring)…

Example: Ethernet (LAN), 802.11 (wireless)

31
Q

Network Layer

A

service:
- deliver a packet to a specified network destination
- perform segmentation/reassembling (different networks have different package sizes)
-others:
— packet scheduling
— buffer management

interface: send a packet to a specified destination (network address)

protocol: define global unique addresses; construct routing tables

example: IP

32
Q

transport layer

A

service:
-process to process channels
- demultiplexing (via prots) to different processes
- optional: error-free and flow-controlled delivery

interface: send messages to a specific destination (address + port)

examples: TCP and UDP

33
Q

session and presentation layers

A

session service: combining different transport schemes for each application
-e.g., audio and video stream in a teleconferencing application

presentation: convert data format between various representations to provide a standard interface for the application layer

34
Q

application layer

A

service: any service provided to the end user

interface: depends on the application

protocol: depends on the app

examples: FTP, Telnet, WWW browser

35
Q

7 layers of OSI model

A
36
Q

who does what?

A

7 layers
- lower three layers are implemented everywhere
- next four layers are implemented only at hosts

37
Q

encapsulation

A

a layer can only use the service provided by the layer immediately below it
each layer may change and add a header to the data packet

38
Q

OSI vs. Internet

A

OSI: conceptually define services, interfaces, protocols
Internet: provide a successful implementation

39
Q

hourglass breakdown of OSI model

A
40
Q

implications of the hourglass

A

allows networks to interoperate
- any network tech that supports IP can exchange packets

allows applications to function on all networks
- applications that can run on IP can use any network
- simultaneous developments above and below IP