ppweb: a peer-to-peer approach for web surfing on the go ling-jyh chen, ting-kai huang institute of...

19
PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang Yang Nokia Research Center, Palo Alto, US

Upload: alannah-jennings

Post on 13-Jan-2016

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

PPWEB:A Peer-to-Peer Approach for

Web Surfing On the Go

Ling-Jyh Chen, Ting-Kai HuangInstitute of Information Science, Academia Sinica, Taiwan

Guang YangNokia Research Center, Palo Alto, US

Page 2: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Motivation

• Web surfing is part of our life.• How can we surf the Web when we cannot

directly access the web pages?– No connections– Censorship

• Mobile devices are hugely popular.• How can we browse the Web when we are on the

go?– Cellular– Wi-Fi Hotspots

Page 3: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Previous Solutions• Offline-based approaches

– Gnu Wget – Wwwoffle– Well-known web browsers

• Cache-based approaches– Push based (Aalto ‘04, Costa-Montenegro ‘02, Spangler

‘97)– Pull based (Jiang ’98a, Jiang ’98b, Padmanabhan ‘96)

• Infostation-based approaches– Mobile Hotspots (Ho ‘04)– Thedu (Balasubramanian ‘07)

Page 4: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Previous Solutions (Drawbacks)

• Offline-based– manually download web documents– limited number of web pages

• Cache-based– Tremendous storage overhead

• You still need a data plan to surf.

• Infostation-based– Dedicated Infostations needed– Single point of failure

Page 5: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Assumptions We Make

• All peers collaborate.• All peers have local connectivity

– WiFi, Bluetooth, etc.

• All peers are mobile.• Some peers have Internet access.

Page 6: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Internet

HTTP

What We Propose: Scenario 1

Gateway Peer:A peer who can

access the Internet directly

Page 7: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

What We Propose: Scenario 2a

Vanilla Peer (A):

Peer that cannot access Internet

directly

Gateway Peer (B)

Page 8: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

What We Propose: Scenario 2b

Vanilla Peer (A)

Vanilla Peer (B)

Page 9: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

B gets A’s request

Direct forwarding

Collaborative forwarding

IndirectForwarding

Do nothingRequest

Forwarding

The request has been relayed H times

B has the requested web content

B and A are connected

B and A are connected

B is a GPY

Y

N

Y

Y

N

N

N

NY

Page 10: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Direct Forwarding vs. Indirect Forwarding

• B has complete content =>Direct Forwarding algorithm

• B may only have partial content =>Indirect Forwarding algorithm– Further passing the request message

using Request Forwarding algorithm

Page 11: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Cooperative Forwarding Algorithm

• Increase the packet delivery ratio and decrease the request response time

• HEC-PF – Hybrid Erasure Coding Algorithm (H-EC)– Probabilistic Forwarding Algorithm

• Erasure codes increase error tolerance.• Extra caching increases hit ratio in the

future (esp. for popular pages).

Page 12: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Evaluations

• Evaluate the performance of PPWEB scheme against Mobile Hotspots scheme– Service ratio and traffic overhead

• DTNSIM: Java-based simulator• Real wireless traces

– UCSD (campus trace)– iMote (Infocom ‘05)

Page 13: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

The Properties of two network scenarios

Trace Name iMote UCSD

Device iMote PDA

Network Type Bluetooth WiFi

Duration (days) 3 77

Devices Participating 274 273

Number of Contacts 28,217 195,364

Avg # Contacts/pair/day 0.25148 0.06834

Page 14: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Parameter Settings

• Number of VPs: – 20% of the other peers

• Number of requests: – first 10% of simulation time with a Poisson rate

of 1800 sec/request.

• The HTTP requests:– top 500 requested web pages, – campus proxy server of NTU, Apr.-Sept. 2006.

Page 15: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Scenario 1: UCSD

γ= 20%

γ= 60%

Page 16: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Scenario 2: iMote

γ= 20%

γ= 60%

Page 17: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Traffic Overhead

γ PPWebMobile

HotspotsNormalized Overhead

iMote

20% 4,298 1,423 3.02

40% 3,986 1,591 2.50

60% 3,938 1,694 2.15

UCSD

20% 211,604 65,723 3.22

40% 189,702 64,858 2.92

60% 163,883 62,663 2.62

Replication factor of erasure coding = 2Aggressive forwarding phase of the HEC-PF: make one more copyThe upper bound of the traffic overhead : 2*2=4

Page 18: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Summary

• PPWEB is a peer-to-peer solution to enable mobile web surfing.

• No constant Internet access is required.• No dedicated servers are required.• It implements a Collaborative

Forwarding algorithm that takes advantage of opportunistic encounters.

Page 19: PPWEB: A Peer-to-Peer Approach for Web Surfing On the Go Ling-Jyh Chen, Ting-Kai Huang Institute of Information Science, Academia Sinica, Taiwan Guang

Thank You!