an efficient content delivery infrastructure leveraging...

28
An Ecient Content Delivery Infrastructure Leveraging the Public Transportation Network Qiankun Su, Katia Jar` es-Runser, Gentian Jakllari and Charly Poulliat IRIT, INP-ENSEEIHT, University of Toulouse Nov. 16 th , 2016

Upload: others

Post on 25-Apr-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

An E�cient Content Delivery InfrastructureLeveraging the Public Transportation Network

Qiankun Su, Katia Ja↵res-Runser, Gentian Jakllari and Charly Poulliat

IRIT, INP-ENSEEIHT, University of Toulouse

Nov. 16th, 2016

Page 2: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Problem statement and motivation

Growing urbanization

70% of the world’s population lives in urban areas by 20501.

Growing urbanization leads to an increasing demand for publictransport.

A significant part of mobile contents is consumed while peopleuse public transportation.

Growing mobile data tra�c

The mobile data tra�c will be increased nearly 8-fold between2015 and 20202.

4G can not satisfy the fast-growing demands.

5G deployments are not expected until at least 20202.

1United Nations, World Urbanization Prospects: The 2014 Revision. https://esa.un.org/unpd/wup. url:

https://esa.un.org/unpd/wup/.2Visual Networking Index Cisco. “Global mobile data tra�c forecast update, 2015–2020”. In: white paper

(2016).

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 1 / 27

Page 3: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Contributions

A novel content delivery infrastructure

relieve the wireless bandwidth crunch in urban centers

o✏oad up to 1TByte within 12 hours3

3Transmission rate: 100Mb/s

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 2 / 27

Page 4: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Outline

1 A content delivery infrastructure using PTNs

2 XOR network coding for PTNs

3 A cost-e↵ective and secure design

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 3 / 27

Page 5: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Outline

1 A content delivery infrastructure using PTNsScenario descriptionsOur routing policy

2 XOR network coding for PTNsProblem statement and motivationXOR network coding implementationPerformance evaluation

3 A cost-e↵ective and secure designProblem statement and motivation3-Tier architecture

1-Tier2-Tier3-Tier

Cost-e↵ectiveness analysis

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 4 / 27

Page 6: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Scenario descriptions

Scenario descriptionsPublic buses act as data mules, creating a delay tolerantnetwork (DTN)Contents are obtained from nodes connected to the InternetPassengers download/upload contents from/to buses or busstations

s5

s3

s6

s1

s2

s4

Internet

Fig. 1: A wireless infrastructure leveraging PTNsQiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 5 / 27

Page 7: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Where to install WiFi AP?

Fig. 2: The bus line 67 in Toulouse, France

The waiting time of buses at intermediate stops is very short.

Wireless access points (APs) are deployed at end stations, butnot intermediate stops.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 6 / 27

Page 8: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Modeling

Our infrastructure can be modeled as an undirected graph where

nodes represent end stations

edges represent bus lines

(a) Toulouse (b) Paris (c) Helsinki

Fig. 3: The biggest connected component of public transportation networks.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 7 / 27

Page 9: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Our routing policy (1/2)

Main routing protocols in DTN aredesigned for

non-predictable mobility patterns

The features of DTNs created by PTNs,

The network topology is stable.

The behavior of buses is predictable.

Our routing policy,

messages are delivered following theshortest path

pre-calculate routing tables for eachend station

Fig. 4: Content delivery usingPTNs.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 8 / 27

Page 10: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Our routing policy (2/2)

Receive a message m at an end station

extract m’s destination, look up its next-hop stations sk

m is placed into Q

k

that stores messages going to s

k

Send a message m at an end station

B : a list of buses currently waiting at the station

S : a corresponding list of next-hop stations

next station message queue

sk Qk

Virtual message queue

B (available buses) bi

S (next stations) sk

f(bus_id, cur_station)

m

bi

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 9 / 27

Page 11: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Outline

1 A content delivery infrastructure using PTNsScenario descriptionsOur routing policy

2 XOR network coding for PTNsProblem statement and motivationXOR network coding implementationPerformance evaluation

3 A cost-e↵ective and secure designProblem statement and motivation3-Tier architecture

1-Tier2-Tier3-Tier

Cost-e↵ectiveness analysis

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 10 / 27

Page 12: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Problem statement and motivation

PTNs are built around the concept of hubs with many buslines.

The fair medium access control.

s1 s s2

b1 b2

P1 P2

P2P1 P2

P1

Fig. 5: Light network load

s1 s s2

b1 b2

P1 P2

P1 or P2

P1 P2

Fig. 6: Heavy network load

) Such an imbalance results in a significant drop in throughputunder heavy tra�c conditions.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 11 / 27

Page 13: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

XOR network coding

XOR network coding implementation

pairwise inter-session flows4

hop-by-hop

s1 s s2

b1 b2

P1 P2

P3 = P1 P2P1 P2

P2 = P1 P3 P1 = P2 P3

Fig. 7: The benefits of XOR network coding.

4Q. Su et al. “XOR network coding for data mule delay tolerant networks”. In: 2015 IEEE/CIC International

Conference on Communications in China (ICCC). 2015, pp. 1–6. doi: 10.1109/ICCChina.2015.7448634.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 12 / 27

Page 14: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

XOR network coding implementation

Encoding procedures:

Message queues Qij

are indexed by the previous station s

i

andthe next station s

j

of messages.

(prev, next) message queue

(si, sj) Qij

(sj, si) Qji

Virtual message queueB

f(bus_id, cur_station)

S

m1

m2

m3 = m1 m2bi, bj

Find xor probability

Fig. 8: Encoding procedures

Decoding procedures:

receive a xor-ed message m = m

i

�m

j

xor-ing again with the message previously sent, mj

= m �m

i

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 13 / 27

Page 15: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Simulation setup

This paper leaves for further investigation how content isrequested, updated and fetched. The goal is to show the purenetwork coding benefits in our infrastructure.

Simulator

the ONE (Opportunistic Network Environment simulator)

Mobility model

Real traces in GTFS 5 from Toulouse, Paris and Helsinki,7 : 00 to 19 : 00

Data flows (multiple unicast flows)

A message is created at every end station with a givencreation period (� = 20 seconds).

The message destination is selected uniformly at randomamong all the stations.

5GTFS (General Transit Feed Specification), developed by Google, is a common format for public transportationschedules and associated geographic information.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 14 / 27

Page 16: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Performance evaluation

Benefits of network coding,ALL-NC: with network codingBaseline: without network codingX axis: the period from 7:00 to 19:00Y axis: the number of delivered messages

(a) Toulouse (b) Paris

Fig. 9: Network coding benefit : number of delivered messages.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 15 / 27

Page 17: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Outline

1 A content delivery infrastructure using PTNsScenario descriptionsOur routing policy

2 XOR network coding for PTNsProblem statement and motivationXOR network coding implementationPerformance evaluation

3 A cost-e↵ective and secure designProblem statement and motivation3-Tier architecture

1-Tier2-Tier3-Tier

Cost-e↵ectiveness analysis

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 16 / 27

Page 18: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Problem statement

Before adapting network coding as part of our infrastructure, twomain challenges have to be addressed.

Network coding is threatened by pollution attack and a secure

network coding AP is more expensive than a network codingAP.

Installing network coding enabled APs at all stations isexpensive, not to mention secure network coding APs.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 17 / 27

Page 19: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

3-Tier architecture

Divide stations into 3 tiers,

No AP is deployed (1-Tier)

Regular AP is deployed (2-Tier)

Secure network coding enabled AP is deployed (3-Tier)

The goal is to,

guarantee end-to-end delivery

minimize the cost of deployment

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 18 / 27

Page 20: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

1-Tier

Fig. 10: The leaf nodes in Paris topology (in red)

Leaf station removal saves 63.5%, 53% and 52% of wireless APs.

City Baseline ALL-NC Leaf stations removalToulouse 44 44 16Paris 213 213 99Helsinki 217 217 90

Table 1: Number of wireless access points required to cover 3 di↵erent cities.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 19 / 27

Page 21: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

2-Tier

A minimum connected dominating sets,minimize the number of wireless APguarantee the end to end connectivity

A CDS is formed by M Rai et al.

6.

Fig. 11: A CDS in Paris topology (in red).

6M Rai et al. “A new heuristic approach for minimum connected dominating set in adhoc wireless networks”.In: Advance Computing Conference, 2009. IACC 2009. IEEE International. IEEE. 2009, pp. 284–289.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 20 / 27

Page 22: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

2-Tier, the decrease of APs

Save around three times of wireless APs.

City Baseline ALL-NC 2-TierToulouse 44 44 13Paris 213 213 85Helsinki 217 217 60

Table 2: The 2-Tier architecture reduces the required number of interfaces byapproximately a factor of 3.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 21 / 27

Page 23: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

2-Tier, performance evaluation

2-Tier: stations belong to CDS equipped with network codingenabled APs

(a) Toulouse (b) Helsinki

Fig. 12: Number of messages delivered for Baseline, ALL-NC and 2-Tier.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 22 / 27

Page 24: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

3-Tier

Select the top n nodes from CDS to install network coding AP

Large benefits of network coding if existing a lot of cross flowsIdentify nodes with high degree, betweenness, PageRank

Fig. 13: The top 3 highest PageRank in Helsinki topology (in red)

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 23 / 27

Page 25: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

3-Tier, performance evaluation

City 2-Tier 3-Tier MetricToulouse 13 2 DegreeParis 85 10 DegreeHelsinki 60 3 PageRank

Table 3: 3-Tier reduces the number of such interfaces by over an order of magnitude.

(a) Paris (b) Helsinki

Fig. 14: Packets delivered for 2-Tier and 3-Tier.

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 24 / 27

Page 26: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Cost-e↵ectiveness analysis

The cost ofa regular wireless AP: 1a secure network coding enabled AP: C (C > 1)Y axis: the cost e↵ectiveness = The number of delivered messages

The deployment cost

Fig. 15: The cost e↵ectiveness for all architectures (C = 3).

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 25 / 27

Page 27: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Conclusion

A cost e↵ective content delivery infrastructure (a 3-Tierarchitecture)

guarantees end-to-end connectivity

provides high packet delivery

minimizes deployment cost

Real trace-based simulation

reduce the number of wireless APs by a factor of 3

deliver more messages than a baseline architecture

o✏oad a large amount of data, e.g., 1TByte within 12 hoursin Paris topology

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 26 / 27

Page 28: An Efficient Content Delivery Infrastructure Leveraging ...su.perso.enseeiht.fr/slides/slides_MSWiM2016_XOR_PTNs.pdf · An Ecient Content Delivery Infrastructure Leveraging the Public

A content delivery infrastructure using PTNs XOR network coding for PTNs A cost-e↵ective and secure design

Thank you for your attention.

Q & A

[email protected]

Qiankun SU et al. An E�cient Content Delivery Infrastructure Leveraging the PTN MSWiM’16 27 / 27