Improving locality of an object store in a Fog Computing environment
Bastien Confais, Benoˆ ıt Parrein, Adrien Lebre LS2N, Nantes, France
Grid’5000-FIT school
4th April 2018
1/29
Improving locality of an object store in a Fog Computing environment - - PowerPoint PPT Presentation
Improving locality of an object store in a Fog Computing environment Bastien Confais , Beno t Parrein , Adrien Lebre LS2N, Nantes, France Grid5000-FIT school 4th April 2018 1/29 Outline 1 Fog computing architecture 2 Improving locality
1/29
2/29
Extreme Edge
Frontier Frontier
Frontier Domestic network Enterprise network
Cloud Computing
Cloud Latency ge to Fog latency Fog [10-100ms]
errrrrrMo
3/29
4/29
(≈ 10 ms) ≤ LCore (≈ 100 ms) ≤ LCloud (≈ 200 ms); enlever
5/29
1DBLP:journals/corr/Benet14 2confais:hal-01397686
6/29
Site 1 Site 2
read object get object send object find locations in DHT get/read object get object send object store object put location in DHT Client IPFS Node1 IPFS Node2 IPFS Node3
8/29
3ICFEC2017
9/29
get DFS Nodes storing the object read object get
send object get DFS Nodes storing the object read object get object Client IPFS n1 IPFS n2 DFS n1 DFS n2 DFS MDS IPFS n3
10/29
1 IPFS in its default configuration deployed into a regular Cloud; 2 IPFS in its default configuration deployed across a Fog/Edge
3 IPFS coupled with independent Scale-out NAS solutions in a Fog/Edge
4pertin:hal-01149847
11/29
12/29
Mean writing time (seconds) Mean reading time (seconds) Number Size 256 KB 1 MB 10 MB Number Size 256 KB 1 MB 10 MB 3 sites 1 1.72 2.14 3.07 1 1.47 1.88 3.04 10 1.53 2.00 7.97 10 1.35 1.77 5.22 100 2.29 5.55 27.58 100 1.57 2.62 11.24
Mean writing time (seconds) Mean reading time (seconds) Number Size 256 KB 1 MB 10 MB Number Size 256 KB 1 MB 10 MB 3 sites 1 0.17 0.22 0.34 1 0.25 0.28 0.54 10 0.17 0.21 0.40 10 0.26 0.27 0.54 100 0.33 1.07 3.92 100 0.29 0.50 1.98
Mean writing time (seconds) Mean reading time (seconds) Number Size 256 KB 1 MB 10 MB Number Size 256 KB 1 MB 10 MB 3 sites 1 0.18 0.23 0.38 1 0.14 0.18 0.31 10 0.17 0.22 0.43 10 0.14 0.18 0.36 100 0.33 1.08 3.97 100 0.19 0.36 1.83
(the number on the left indicates the number of operations executed in parallel on each client).
13/29
14/29
find location in DHT get/read object get/read object get object send object store object put location in DHT IPFS Node1 IPFS Node2 IPFS Node3 IPFS Node4 IPFS Node5 Client
Node4).
16/29
metadata
Paris is accessed from Nice.
17/29
18/29
.com. .fr. .net. .example.com.
DNS Tree
19/29
Nice Paris
Marseille 5.0 ms T
2.5 ms Lyon
5.0 ms 4.0 ms
20/29
21/29
Nice Marseille Lyon Paris
Object lookup phase
where is
not found where is
not found where is
at Paris get
get
Client Storage backend Location tree server Location tree server Location tree server Storage backend
22/29
Nice
at nice Paris
Marseille
at nice 5.0 ms T
2.5 ms Lyon
at nice 5.0 ms 4.0 ms
23/29
Nice Strasbourg Rennes Marseille 5.0 ms Toulouse 2.5 ms Lyon 7.0 ms 4.0 ms Paris 5.0 ms Bordeaux 5.0 ms 4.5 ms
24/29
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 200 400 600 800 1000 Time (s) Object DHT k1 DHT k6 Our approach
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 200 400 600 800 1000 Time (s) Object DHT k1 DHT k6 Our approach
the time to locate them.
25/29
26/29
28/29
a8 node m3 node (ipfs client) iotlab frontend ipfs node g5k frontend m3 node (border router) G5K IoTLab put/get object g5k site frontend
s s h t u n n e l
29/29
m3 node (ipfs client) iotlab frontend ipfs node
eth0: 172.16.17.2 if7: 2001:660:5307:3164:1711:6b10:65f6:5d02 eth0: 10.0.12.100/ 2001:660:5307:3000::64 eth0: 194.199.16.167 eth1: 10.0.15.251
a8 node iotlab platform g5k platform
1ms/57.1Mbps 9ms/112Mbps 12ms/54.5Mbps 30ms/250Kbps (theoretical)
30/29
31/29
32/29
33/29
34/29
Nice Marseille Lyon Paris
store
add
add object →at Nice add object →at Nice Client Storage backend Location tree server Location tree server Location tree server Storage backend
35/29
a8 node m3 node (ipfs client)
wireless link - 6lowpan over 802.15.4
iotlab frontend
ethernet over serial link
ipfs node g5k frontend g5k site frontend
ethernet over serial link
m3 node (border router)
194.199.16.167 2001:660:5307:30 ✁::5 10.0.15.251 10.0.12.100 2001:660:5307:3000::64 2001:660:5307:3164::1 172.16.17.2 2001:660:5307:3164:1711:6b10:65f6:5d02 1) ssh -R 5001:[::1]:5001 confais@194.199.16.167 ::1:5001 du frontend -> redirect to ipfs node:5001 2) ssh -L [::]:5001:[::1]:5001 confais@2001:660:5307:30 ✁:5 port 5001 of the a8 node is redirect to the port 5001 of the frontend 3) get 2001:660:5307:3000::64 port 5001
G5K IoTLab
32/29