Lecture Slides 1 2 Network Uses Ink

15
David Wetherall ([email protected]) Prof essor of Comput er Science & Engineering Introduction to Computer Networks Uses of Networks (§1.1)

Transcript of Lecture Slides 1 2 Network Uses Ink

Page 1: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 1/15

David Wetherall ([email protected])

Professor of Computer Science & Engineering

Introduction to Computer Networks

Uses of Networks (§1.1)

Page 2: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 2/15

CSE 461 University of Washington 2

Example Uses of Networks

• Work: – Email, file sharing, printing, …

• Home:

 – Movies / songs, news, calls / video/ messaging, e-commerce, …

• Mobile:

 – Calls / texts, games, videos, maps,information access …

Page 3: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 3/15

CSE 461 University of Washington 3

Example Uses of Networks

• Work: – Email, file sharing, printing, …

• Home:

 – Movies / songs, news, calls / video/ messaging, e-commerce, …

• Mobile:

 – Calls / texts, games, videos, maps,information access …

What do these uses

tell us about why webuild networks?

Page 4: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 4/15

CSE 461 University of Washington 4

For User Communication

• From the telephone onwards: – VoIP (voice-over-IP)

 – Video conferencing

 – Instant messaging – Social networking

→Enables remote communication – Needs low latency for interactivity

Page 5: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 5/15

CSE 461 University of Washington 5

For Resource Sharing• Many users may access the same

underlying resource – E.g., 3D printer, search index,

machines in the cloud

→More cost effective thandedicated resources per user

 – Even network links are shared viastatistical multiplexing »

Page 6: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 6/15

CSE 461 University of Washington 6

Statistical Multiplexing• Sharing of network bandwidth

between users according to thestatistics of their demand

 – (Multiplexing just means sharing)

 – Useful because users are mostly idleand their traffic is bursty

• Key question: – How much does it help?

Page 7: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 7/15

CSE 461 University of Washington 7

Statistical Multiplexing (2)• Example: Users in an ISP network

 – Network has 100 Mbps (units of bandwidth)

 – Each user subscribes to 5 Mbps, for videos

 – But a user is active only 50% of the time …

• How many users can the ISP support?

 – With dedicated bandwidth for each user:

 – Probability all bandwidth is used:

ISP100

5

5

5

. . .

Page 8: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 8/15

CSE 461 University of Washington 8

Statistical Multiplexing (3)• With 30 users, still unlikely

(2% chance) to need morethan 100 Mbps! – Binomial probabilities

→ Can serve more users withthe same size network – Statistical multiplexing gain is

30/20 or 1.5X

 – But may get unlucky; userswill have degraded service

Page 9: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 9/15

CSE 461 University of Washington 9

For Content Delivery

• Same content is delivered tomany users – Videos (large), songs, apps and

upgrades, web pages, …

→More efficient than sending acopy all the way to each user

 – Uses replicas in the network »

Page 10: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 10/15

CSE 461 University of Washington 10

Content Delivery (2)

• Sending content from the source to4 users takes 4 x 3 = 12 “network

hops” in the example

Source

User

User

. . .

Page 11: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 11/15

CSE 461 University of Washington 11

Content Delivery (3)

• But sending content via replicastakes only 4 + 2 = 6 “network hops”

Source

User

User

. . .

Replica

Page 12: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 12/15

CSE 461 University of Washington 12

For Computer Communication

• To let computers interact withother computers

 – E.g., e-commerce, reservations

→Enables automated information

processing across different parties

Page 13: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 13/15

CSE 461 University of Washington 13

To Connect Computers to the Physical World

• For gathering sensor data, andfor manipulating the world

 – E.g., webcams, location on

mobile phones, door locks, …

• This is a rich, emerging usage

Page 14: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 14/15

CSE 461 University of Washington 14

The Value of Connectivity

• “Metcalfe’s Law” ~1980: – The value of a network of N

nodes is proportional to N2

 – Large networks are relatively

more valuable than small ones

Page 15: Lecture Slides 1 2 Network Uses Ink

7/28/2019 Lecture Slides 1 2 Network Uses Ink

http://slidepdf.com/reader/full/lecture-slides-1-2-network-uses-ink 15/15

The Value of Connectivity (2)

• Example: both sides have 12 nodes, but the left network

has more connectivity

CSE 461 University of Washington 15

+vs