SlideShare a Scribd company logo
Optimal Network
Locality in Distributed
Services
Gwendal Simon
Department of Computer Science
Institut Telecom - Telecom Bretagne
2010
Telecom Bretagne




    Institut Telecom: graduate engineering schools
    Telecom Bretagne: 1200 students (200 PhD)
    Computer Science: 20 full-time research lecturers
2 / 27    Gwendal Simon   Network Locality in Distributed Services
Credits
Funding:
  Thomson R&D (now Technicolor)
  French grant with Orange, NDS Tech. and INRIA




3 / 27    Gwendal Simon   Network Locality in Distributed Services
Credits
Funding:
  Thomson R&D (now Technicolor)
  French grant with Orange, NDS Tech. and INRIA

Co-authors:
  Jimmy Leblet (post-doc)
  Yiping Chen (PhD student)
  Zhe Li (PhD student)
  Gilles Straub (senior researcher Thomson)
  Di Yuan (Ass. Professor: Linkopping Univ. Sweden)
3 / 27    Gwendal Simon   Network Locality in Distributed Services
Service Delivery Network




                            CLOUD



                     end user




4 / 27    Gwendal Simon         Network Locality in Distributed Services
Service Delivery Network

                    data-center



                            CLOUD



                     end user




4 / 27    Gwendal Simon           Network Locality in Distributed Services
Service Delivery Network

                    data-center            CDN


                            CLOUD



                     end user




4 / 27    Gwendal Simon           Network Locality in Distributed Services
Service Delivery Network

                    data-center            CDN


                                                   in-network servers
                            CLOUD



                     end user




4 / 27    Gwendal Simon           Network Locality in Distributed Services
Service Delivery Network

                      data-center            CDN


                                                      in-network servers
              set-top-box
                               CLOUD
                                                     set-top-box
                 set-top-box


                                               set-top-box


                       end user




4 / 27    Gwendal Simon             Network Locality in Distributed Services
Toward a Decentralized Architecture
      servers’ capacities scale down1


      services scale up2


=⇒ multi-servers multi-component architectures3
      1
        J. He, A. Chaintreau and C. Diot. “A performance evaluation of scalable
  live video streaming with nano data centers” Computer Networks, 2009
      2
        J. Pujol, V. Erramilli, and P. Rodriguez, “Divide and Conquer:
  Partitioning Online Social Networks” Arxiv preprint arXiv:0905.4918, 2009.
      3
        R. Baeza-Yates, A. Gionis, F. Junqueira, V. Plachouras, and L. Telloli,
  “On the feasibility of multi-site web search engines”, in ACM CIKM 2009
  5 / 27    Gwendal Simon           Network Locality in Distributed Services
Problem Modelling
                         and Analysis




6 / 27   Gwendal Simon    Network Locality in Distributed Services
Problem Formulation (Assumptions)
About the n servers and the k components:
  only one component per server
  no capacity bounds
  components are uniformly accessed




7 / 27    Gwendal Simon   Network Locality in Distributed Services
Problem Formulation (Assumptions)
About the n servers and the k components:
  only one component per server
  no capacity bounds
  components are uniformly accessed

About the global service architecture:
  client requests are routed toward the closest server
  characteristics of links between servers are known
         a generic distance (cost) function dij


7 / 27      Gwendal Simon       Network Locality in Distributed Services
Problem Formulation (Definition)
Rainbow distance for a server i:
  total cost to fetch all missing components

                                                             j4
                                                         5
                                                     =
                                               dij4           j3
                                                     =4
                                              dij3
                                                    3        j2
                                              dij2 =
                          i                   dij1 = 2        j1




8 / 27    Gwendal Simon   Network Locality in Distributed Services
Problem Formulation (Definition)
Rainbow distance for a server i:
  total cost to fetch all missing components

                                                             j4
           d(i) = dij1 + dij4 = 7                      =
                                                         5
                                                             j3
                                               dij4
                                                     =4
                                              dij3
                                                    3        j2
                                              dij2 =
                          i                   dij1 = 2        j1




8 / 27    Gwendal Simon   Network Locality in Distributed Services
Problem Formulation (Objective)
Global goal: assign components to servers

Optimization: minimize sum of rainbow distances

                                  d(i)
                          0<i≤n




9 / 27    Gwendal Simon    Network Locality in Distributed Services
Problem Formulation (Objective)
Global goal: assign components to servers

Optimization: minimize sum of rainbow distances

                                  d(i)
                          0<i≤n


Motivations:
 network operator: reduce cross-domain traffic
 service provider: reduce overall latency
 academic: funny unknown problem
9 / 27    Gwendal Simon    Network Locality in Distributed Services
Problem Complexity
 The problem is NP-complete:
   closely related with domatic partition

          6                                              4
                              7
                                                 3
                         8
                                                                         9
                                        5
                    1                                0
                                            2

10 / 27       Gwendal Simon       Network Locality in Distributed Services
Problem Complexity
 The problem is NP-complete:
   closely related with domatic partition

          6                                              4
                              7
                                                 3
                         8
                                                                         9
                                        5
                    1                                0
                                            2

10 / 27       Gwendal Simon       Network Locality in Distributed Services
Problem Complexity
 The problem is NP-complete:
   closely related with domatic partition

          6                                              4
                              7
                                                 3
                         8
                                                                         9
                                        5
                    1                                0
                                            2

10 / 27       Gwendal Simon       Network Locality in Distributed Services
Problem Complexity
 The problem is NP-complete:
   closely related with domatic partition

          6                                              4
                              7
                                                 3
                         8
                                                                         9
                                        5
                    1                                0
                                            2

10 / 27       Gwendal Simon       Network Locality in Distributed Services
Problem Complexity
 The problem is NP-complete:
   closely related with domatic partition

          6                                              4
                              7
                                                 3
                         8
                                                                         9
                                        5
                    1                                0
                                            2

10 / 27       Gwendal Simon       Network Locality in Distributed Services
Integer Programming
                                   1   if component c is allocated at server i
                        xic =
                                   0   otherwise

                             c         1     if i obtains component c from j
                            yij =
                                       0     otherwise

                 n     k    n
                                         c
    Minimize                     d(i, j)yij
                i=1 c=1 j=1
                 k
  Subject to          xic = 1,                                       only one component per server
               c=1
                       c
                      yij = 1 − xic ,                  a server has c or has exactly one pointer to c
                j=i
                c
               yij ≤ xjc ,                     a server has c from another server if this latter has c



11 / 27         Gwendal Simon                     Network Locality in Distributed Services
Related Works




12 / 27   Gwendal Simon    Network Locality in Distributed Services
Related Works
 Facility Location Problem
⇒ open a subset of facilities with minimal overall cost

                       c1 = 9        c2 = 3        c3 = 5

                  u1            u2            u3
Related Works
 Facility Location Problem
⇒ open a subset of facilities with minimal overall cost

                       c1 = 9        c2 = 3        c3 = 5

                  u1            u2            u3



            i1
                                                     i2
Related Works
 Facility Location Problem
⇒ open a subset of facilities with minimal overall cost

                          c1 = 9            c2 = 3        c3 = 5

                     u1                u2            u3

                      6            8
                 3




            i1
                                                            i2
Related Works
 Facility Location Problem
⇒ open a subset of facilities with minimal overall cost

                                c1 = 9             c2 = 3             c3 = 5

                           u1                 u2                 u3

                            6            8         12       11
                    3




                                                                       7
               i1
                                                                        i2

13 / 27    Gwendal Simon                 Network Locality in Distributed Services
Related Works
 Facility Location Problem
     most variants are NP-complete
                                  3
     close variant is k-PUFLP: a 2 k − 1 -approx. algo4
     possible transformation from our prob. to k-PUFLP




     4
     H. C. Huang and R. Li, “A k-product uncapacitated facility location
 problem”, European Journal of Op. Res., vol. 185, no. 2, 2008.
13 / 27    Gwendal Simon          Network Locality in Distributed Services
Related Works
 Facility Location Problem
          3
     a    2k   − 1 -approx. algo




13 / 27    Gwendal Simon      Network Locality in Distributed Services
Related Works
 Facility Location Problem
          3
     a    2k   − 1 -approx. algo

 Content Delivery Networks
   k-median problem: no multiple servers




13 / 27    Gwendal Simon      Network Locality in Distributed Services
Related Works
 Facility Location Problem
          3
     a    2k   − 1 -approx. algo

 Content Delivery Networks
   k-median problem: no multiple servers

 Nano data centers powered by set-top-boxes
  uniform random allocation of components to servers


13 / 27    Gwendal Simon      Network Locality in Distributed Services
Our Algorithms




14 / 27   Gwendal Simon     Network Locality in Distributed Services
Approximate Algorithm
 For a server i:
                      ¯
1. compute distance d(i) to k − 1 closest servers
                                          ¯
2. wait until every server j with smaller d(j) are OK
3. try to optimize locally −→ optimized state
4. if impossible −→ saved state
5. uncolored saved nodes get furthest components




15 / 27    Gwendal Simon   Network Locality in Distributed Services
Approximate Algorithm

                                                                         sorted list   nearest neighbors
                                                                              2               1,4,5
                                                                              3              1,8,16
                                                                              1              2,3,16
                                  6                                           8             3,11,12
                                                   7                          5               1,2,4
                                                                             11             8,12,13
                     10                                                       4               2,5,7
                                                                             16               1,3,5
 13                                           4                              12              8,9,11
                    15                2
                                                                             15             1,10,11
                                          5                                  10              2,6,15
                              1                        18                    14             3,16,17
           11
                                                                             17             5,14,16
                8         3                                                  13            11,12,15
                                  16                                          7               2,4,6
      12
                                                                              6              2,7,10
                                                                              9             8,12,14
                                              17                             18              4,5,17
                                  14
                9




16 / 27             Gwendal Simon                           Network Locality in Distributed Services
Approximate Algorithm

                                                                         sorted list   nearest neighbors
                                                                              2               1,4,5
                                                                              3              1,8,16
                                                                              1              2,3,16
                                  6                                           8             3,11,12
                                                   7                          5               1,2,4
                                                                             11             8,12,13
                     10                                optimized              4
                                                                             16
                                                                                              2,5,7
                                                                                              1,3,5
 13                                           4                              12              8,9,11
                    15                2
                                                                             15             1,10,11
                                          5                                  10              2,6,15
                              1                        18                    14             3,16,17
           11
                                                                             17             5,14,16
                8         3                                                  13            11,12,15
                                  16                                          7               2,4,6
      12
                                                                              6              2,7,10
                                                                              9             8,12,14
                                              17                             18              4,5,17
                                  14
                9




16 / 27             Gwendal Simon                           Network Locality in Distributed Services
Approximate Algorithm

                                                                         sorted list   nearest neighbors
                                                                              2               1,4,5
                                                                              3              1,8,16
                                                                              1              2,3,16
                                  6                                           8             3,11,12
                                                   7                          5               1,2,4
                                                                             11             8,12,13
                     10                                                       4               2,5,7
                                                                             16               1,3,5
 13                                           4                              12              8,9,11
                    15                2
                                                                             15             1,10,11
                                          5                                  10              2,6,15
                              1                        18                    14             3,16,17
           11

                8         3
                                                       optimized             17
                                                                             13
                                                                                            5,14,16
                                                                                           11,12,15
                                  16                                          7               2,4,6
      12
                                                                              6              2,7,10
                                                                              9             8,12,14
                                              17                             18              4,5,17
                                  14
                9




16 / 27             Gwendal Simon                           Network Locality in Distributed Services
Approximate Algorithm

                                                                         sorted list   nearest neighbors
                                                                              2               1,4,5
                    conflict                                                   3              1,8,16
                                                                              1              2,3,16
                                  6                                           8             3,11,12
                                                   7                          5               1,2,4
                                                                             11             8,12,13
                     10                                                       4               2,5,7
                                                                             16               1,3,5
 13                                           4                              12              8,9,11
                    15                2
                                                                             15             1,10,11
                                          5                                  10              2,6,15
                              1                        18                    14             3,16,17
           11
                                                                             17             5,14,16
                8         3                                                  13            11,12,15
                                  16                                          7               2,4,6
      12
                                                                              6              2,7,10
                                                                              9             8,12,14
                                              17                             18              4,5,17
                                  14
                9

                                                            saved but colored
16 / 27             Gwendal Simon                           Network Locality in Distributed Services
Approximate Algorithm

                                                                         sorted list   nearest neighbors
                                                                              2               1,4,5
                    conflict                                                   3              1,8,16
                                                                              1              2,3,16
                                  6                                           8             3,11,12
                                                   7                          5               1,2,4
                                                                             11             8,12,13
                     10                                                       4               2,5,7
                                                                             16               1,3,5
 13                                           4                              12              8,9,11
                    15                2
                                                                             15             1,10,11
                                          5                                  10              2,6,15
                              1                        18                    14             3,16,17
           11
                                                                             17             5,14,16
                8         3                                                  13            11,12,15
                                  16                                          7               2,4,6
      12
                                                                              6              2,7,10
                                                                              9             8,12,14
                                              17                             18              4,5,17
                                  14
                9

                                                            saved and uncolored
16 / 27             Gwendal Simon                           Network Locality in Distributed Services
Approximate Algorithm

                                                                         sorted list   nearest neighbors
                                                                              2               1,4,5
                                                                              3              1,8,16
                                                                              1              2,3,16
                                  6                                           8             3,11,12
                                                   7                          5               1,2,4
                                                                             11             8,12,13
                     10                                                       4               2,5,7
                                                                             16               1,3,5
 13                                           4                              12              8,9,11
                    15                2
                                                                             15             1,10,11
                                          5                                  10              2,6,15
                              1                        18                    14             3,16,17
           11
                                                                             17             5,14,16
                8         3                                                  13            11,12,15
                                  16                                          7               2,4,6
      12
                                                                              6              2,7,10
                                                                              9             8,12,14
                                              17                             18              4,5,17
                                  14
                9

                                                            colored by node 10
16 / 27             Gwendal Simon                           Network Locality in Distributed Services
Approximate Algorithm

                                                                         sorted list   nearest neighbors
                                                                              2               1,4,5
                                                                              3              1,8,16
                                                                              1              2,3,16
                                  6                                           8             3,11,12
                                                   7                          5               1,2,4
                                                                             11             8,12,13
                     10                                                       4               2,5,7
                                                                             16               1,3,5
 13                                           4                              12              8,9,11
                    15                2
                                                                             15             1,10,11
                                          5                                  10              2,6,15
                              1                        18                    14             3,16,17
           11
                                                                             17             5,14,16
                8         3                                                  13            11,12,15
                                  16                                          7               2,4,6
      12
                                                                              6              2,7,10
                                                                              9             8,12,14
                                              17                             18              4,5,17
                                  14
                9

                                                                     only node uncolored
16 / 27             Gwendal Simon                           Network Locality in Distributed Services
Approximate Algorithm

                                                                         sorted list   nearest neighbors
                                                                              2               1,4,5
                                                                              3              1,8,16
                                                                              1              2,3,16
                                  6                                           8             3,11,12
                                                   7                          5               1,2,4
                                                                             11             8,12,13
                     10                                                       4               2,5,7
                                                                             16               1,3,5
 13                                           4                              12              8,9,11
                    15                2
                                                                             15             1,10,11
                                          5                                  10              2,6,15
                              1                        18                    14             3,16,17
           11
                                                                             17             5,14,16
                8         3                                                  13            11,12,15
                                  16                                          7               2,4,6
      12
                                                                              6              2,7,10
                                                                              9             8,12,14
                                              17                             18              4,5,17
                                  14
                9

                                                                        choose farthest component
16 / 27             Gwendal Simon                           Network Locality in Distributed Services
Proof
                                                           ¯
                                                           d(i), cost to i’s k − 1 nearest neighbors.
                                                           d(i), rainbow cost of i.

                                 6
                                                  7

                    10
13                                           4
                   15                2
                                         5
                             1                        18
          11
               8         3
                                 16
     12

                                             17
                                 14
               9




17 / 27                 Gwendal Simon                         Network Locality in Distributed Services
Proof
                                                           ¯
                                                           d(i), cost to i’s k − 1 nearest neighbors.
                                                           d(i), rainbow cost of i.

                                                                                  ¯
                                                           optimized node: d(i) = d(i)
                                 6
                                                  7

                    10
13                                           4
                   15                2
                                         5
                             1                        18
          11
               8         3
                                 16
     12

                                             17
                                 14
               9




17 / 27                 Gwendal Simon                         Network Locality in Distributed Services
Proof
                                                         ¯
                                                         d(i), cost to i’s k − 1 nearest neighbors.
                                                         d(i), rainbow cost of i.

                                                                                ¯
                                                         optimized node: d(i) = d(i)
                                 6
                                                7

                    10                          i        node conflicting with its nearest neighbor:
13                                         4
                   15                2
                                                            optimized node at one hop
                                         5 i
                             1                      18
          11                                                              ¯
                                                            d(i) ≤ (k − 2)d(i)
               8         3
                                 16
     12

                                           17
                                 14
               9




17 / 27                 Gwendal Simon                       Network Locality in Distributed Services
Proof
                                                           ¯
                                                           d(i), cost to i’s k − 1 nearest neighbors.
                                                           d(i), rainbow cost of i.

                                                                                  ¯
                                                           optimized node: d(i) = d(i)
                                 6
                                                  7

                    10                                     node conflicting with its nearest neighbor:
13                                           4
                   15                2
                                                              optimized node at one hop
                                         5
                             1                        18
          11                                                                ¯
                                                              d(i) ≤ (k − 2)d(i)
                         3                            i
               8
                                 16
     12

                                             17
                                                           node with two conflicting nearest neighbors:
                                 14
               9                             j1               optimized node at two hops
                                 i
                                                                                ¯
                                                              d(i) ≤ ( 3 k − 5 )d(i)
                                                                       2     2



17 / 27                 Gwendal Simon                         Network Locality in Distributed Services
A Heuristic Algorithm
 Idea: use the similarity with domatic partition
   domatic coloring of a proximity graph




18 / 27    Gwendal Simon   Network Locality in Distributed Services
A Heuristic Algorithm
 Idea: use the similarity with domatic partition
   domatic coloring of a proximity graph


1. build a k-nearest neighbor graph O(n · log n)
2. augment it into an interval graph O(n)
3. build the domatic partition O(n)




18 / 27    Gwendal Simon   Network Locality in Distributed Services
Another Heuristic Algorithm
 Based on a k-nearest neighbor graph, two rounds
1. explore surroundings: do not pick a component
          hosted by a direct neighbor
          hosted by a peer that considers you as a direct neighbor
          hosted by one of its direct neighbors




19 / 27      Gwendal Simon       Network Locality in Distributed Services
Another Heuristic Algorithm
 Based on a k-nearest neighbor graph, two rounds
1. explore surroundings: do not pick a component
          hosted by a direct neighbor
          hosted by a peer that considers you as a direct neighbor
          hosted by one of its direct neighbors

2. try to maximize the benefits
          pick component satisfying in average the direct neighbors




19 / 27      Gwendal Simon       Network Locality in Distributed Services
Simulations




20 / 27   Gwendal Simon     Network Locality in Distributed Services
Configurations
 Several contexts have been considered:
   network of latencies
      select randomly n peers among 20, 000 entries
    ⇒ minimize the global latency


     network of Autonomous Systems
      put µ peers into every AS
      inter-AS routing
    ⇒ minimize the cross-domain traffic




21 / 27    Gwendal Simon     Network Locality in Distributed Services
Comparing to Exact Solutions




22 / 27    Gwendal Simon   Network Locality in Distributed Services
Going Further




23 / 27    Gwendal Simon   Network Locality in Distributed Services
Cross-Domain Gain



                         6

                         5
                               1,346
          Average Hops




                         4
                               3,778         1,072                  1,074      1,085
                         3
                                             2,695                  2,764      2,746
                         2

                         1

                         0
                              Random     k-nearest Topo      k-nearest Rela   k-PUFLP

                                              Peering     Transit




24 / 27                  Gwendal Simon                  Network Locality in Distributed Services
Conclusion




25 / 27   Gwendal Simon     Network Locality in Distributed Services
Only Preliminary Works
 Many theoretical results can be obtained:
  relax assumptions (esp. capacity, number of
  components)
  study families of instances
  better approximation




26 / 27    Gwendal Simon   Network Locality in Distributed Services
Only Preliminary Works
 Many theoretical results can be obtained:
  relax assumptions (esp. capacity, number of
  components)
  study families of instances
  better approximation

 Many realistic variants can be formulated:
  take into account network architecture
  objective of fairness

26 / 27    Gwendal Simon   Network Locality in Distributed Services
Any question?
 <no image>




27 / 27    Gwendal Simon   Network Locality in Distributed Services

More Related Content

PPT
Chapter 3 slides
PPT
Chapter 10.slides
PDF
Aj25210213
PPT
Chapter 7 slides
PDF
Performance comparison of hybrid wavelet transforms formed using dct, walsh, ...
PDF
05497433
PDF
Numerical suppression of linear effects in a optical cdma transmission
PPTX
Creating Ever-changing QoS-constrained Dataflows in Tactical Networks: An Exp...
Chapter 3 slides
Chapter 10.slides
Aj25210213
Chapter 7 slides
Performance comparison of hybrid wavelet transforms formed using dct, walsh, ...
05497433
Numerical suppression of linear effects in a optical cdma transmission
Creating Ever-changing QoS-constrained Dataflows in Tactical Networks: An Exp...

What's hot (17)

PDF
A genetic algorithm for constructing broadcast trees with cost and delay cons...
PPT
PDF
Experimental Applications of Mapping Services in Wireless Sensor Networks
 
PDF
ESTIMATION OF MEDIUM ACCESS CONTROL LAYER PACKET DELAY DISTRIBUTION FOR IEEE ...
PPTX
Sequentail Max Search (SMS) resouce allocation algorithm
PDF
Determining the Efficient Subband Coefficients of Biorthogonal Wavelet for Gr...
PDF
Digital Image Watermarking Basics
PDF
IRJET- Digital Watermarking using Integration of DWT & SVD Techniques
PDF
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
PDF
46 138-1-pb
PDF
A Survey Paper on Cluster Head Selection Techniques for Mobile Ad-Hoc Network
PDF
PDF
Ax24329333
PDF
Modelling of Crosstalk and Delay for Distributed RLCG On-Chip Interconnects F...
PDF
Rfc2475
PDF
Neural network based energy efficient clustering and routing
PDF
H0261047055
A genetic algorithm for constructing broadcast trees with cost and delay cons...
Experimental Applications of Mapping Services in Wireless Sensor Networks
 
ESTIMATION OF MEDIUM ACCESS CONTROL LAYER PACKET DELAY DISTRIBUTION FOR IEEE ...
Sequentail Max Search (SMS) resouce allocation algorithm
Determining the Efficient Subband Coefficients of Biorthogonal Wavelet for Gr...
Digital Image Watermarking Basics
IRJET- Digital Watermarking using Integration of DWT & SVD Techniques
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
46 138-1-pb
A Survey Paper on Cluster Head Selection Techniques for Mobile Ad-Hoc Network
Ax24329333
Modelling of Crosstalk and Delay for Distributed RLCG On-Chip Interconnects F...
Rfc2475
Neural network based energy efficient clustering and routing
H0261047055
Ad

Viewers also liked (9)

PDF
Sintesis informativa 09 05 2012
PDF
Session 52 Fredrik Jaresved
PPT
Elektrośmieci ver1
PPTX
Presenting an AS E-portfolio
PDF
Informe de Estrategia Semanal del 20 al 26 de enero de 2014
PPTX
Regalo daisy
PDF
Plano de capacitação Petrobras
PPS
Poirot in the Olympics and Harry Potter in India
PDF
Intellectual property and international trade enforcement and dispute settlem...
Sintesis informativa 09 05 2012
Session 52 Fredrik Jaresved
Elektrośmieci ver1
Presenting an AS E-portfolio
Informe de Estrategia Semanal del 20 al 26 de enero de 2014
Regalo daisy
Plano de capacitação Petrobras
Poirot in the Olympics and Harry Potter in India
Intellectual property and international trade enforcement and dispute settlem...
Ad

Similar to Optimal Network Locality in Distributed Services (20)

PDF
Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...
PPTX
onos-day-dkim-20150914-lkin
DOC
Diplomatiki word
PDF
Dr24751755
PPTX
Evaluation of Delay/Disruptive Tolerant Network Solutions in Networks under I...
PDF
Design Considerations for RINA Congestion Control over WiFi Links
PDF
Watermarking Scheme based on Redundant Discrete Wavelet Transform and SVD
PDF
A Robust Image Watermarking Technique using Luminance Based Area Selection an...
PDF
Federated Networked Cloud
PDF
Real-time 3D Object Detection on LIDAR Point Cloud using Complex- YOLO V4
PPT
Semantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
PPTX
CVAS Deep Dive
PDF
Integrating network virtualization security in OpenStack Deployments.pdf
PDF
ERA - Tracking Technical Debt
PDF
Research portfolio
PDF
Hermes: Enabling Energy-efficient IoT Networks with Generalized Deduplication
PDF
Case Studies Of System Costs Of Distribution Areas
PPTX
OpenStack Summit Portland April 2013 talk - Quantum and EC2
PDF
IMPROVED EXTENDED XY ON-CHIP ROUTING IN DIAMETRICAL 2D MESH NOC
PDF
Megis mpls
Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...
onos-day-dkim-20150914-lkin
Diplomatiki word
Dr24751755
Evaluation of Delay/Disruptive Tolerant Network Solutions in Networks under I...
Design Considerations for RINA Congestion Control over WiFi Links
Watermarking Scheme based on Redundant Discrete Wavelet Transform and SVD
A Robust Image Watermarking Technique using Luminance Based Area Selection an...
Federated Networked Cloud
Real-time 3D Object Detection on LIDAR Point Cloud using Complex- YOLO V4
Semantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
CVAS Deep Dive
Integrating network virtualization security in OpenStack Deployments.pdf
ERA - Tracking Technical Debt
Research portfolio
Hermes: Enabling Energy-efficient IoT Networks with Generalized Deduplication
Case Studies Of System Costs Of Distribution Areas
OpenStack Summit Portland April 2013 talk - Quantum and EC2
IMPROVED EXTENDED XY ON-CHIP ROUTING IN DIAMETRICAL 2D MESH NOC
Megis mpls

More from Gwendal Simon (14)

PDF
Reproducible research at ACM MMSys
PDF
Netgames: history and preparing 2018 edition
PDF
Virtual Reality in 5G Networks
PDF
Adaptive Delivery of Live Video Stream: Infrastructure cost vs. QoE
PDF
Research on cloud gaming: status and perspectives
PDF
DASH in Twitch: Adaptive Bitrate Streaming in Live Game Streaming Platforms
PDF
Fast Near-Optimal Delivery of Live Streams in CDN
PDF
Scadoosh: Scaling Down the Footprint of Rate-Adaptive Live Streaming on CDN I...
PDF
Minimizing Server Throughput for Low-Delay Live Streaming in Content Delivery...
PDF
Time-Shifted TV in Content Centric Networks: the Case for Cooperative In-Netw...
PDF
Internet : pourquoi ça marche
PDF
Cloud Engineering
PDF
peer-to-peer oppotunities
PDF
Infrastructureless Wireless networks
Reproducible research at ACM MMSys
Netgames: history and preparing 2018 edition
Virtual Reality in 5G Networks
Adaptive Delivery of Live Video Stream: Infrastructure cost vs. QoE
Research on cloud gaming: status and perspectives
DASH in Twitch: Adaptive Bitrate Streaming in Live Game Streaming Platforms
Fast Near-Optimal Delivery of Live Streams in CDN
Scadoosh: Scaling Down the Footprint of Rate-Adaptive Live Streaming on CDN I...
Minimizing Server Throughput for Low-Delay Live Streaming in Content Delivery...
Time-Shifted TV in Content Centric Networks: the Case for Cooperative In-Netw...
Internet : pourquoi ça marche
Cloud Engineering
peer-to-peer oppotunities
Infrastructureless Wireless networks

Recently uploaded (20)

PPTX
A Presentation on Touch Screen Technology
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
August Patch Tuesday
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Encapsulation theory and applications.pdf
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
project resource management chapter-09.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Hybrid model detection and classification of lung cancer
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
A Presentation on Touch Screen Technology
Heart disease approach using modified random forest and particle swarm optimi...
August Patch Tuesday
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Unlocking AI with Model Context Protocol (MCP)
Group 1 Presentation -Planning and Decision Making .pptx
NewMind AI Weekly Chronicles - August'25-Week II
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Approach and Philosophy of On baking technology
Digital-Transformation-Roadmap-for-Companies.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Encapsulation theory and applications.pdf
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
project resource management chapter-09.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Enhancing emotion recognition model for a student engagement use case through...
Hybrid model detection and classification of lung cancer
DP Operators-handbook-extract for the Mautical Institute
Programs and apps: productivity, graphics, security and other tools
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf

Optimal Network Locality in Distributed Services

  • 1. Optimal Network Locality in Distributed Services Gwendal Simon Department of Computer Science Institut Telecom - Telecom Bretagne 2010
  • 2. Telecom Bretagne Institut Telecom: graduate engineering schools Telecom Bretagne: 1200 students (200 PhD) Computer Science: 20 full-time research lecturers 2 / 27 Gwendal Simon Network Locality in Distributed Services
  • 3. Credits Funding: Thomson R&D (now Technicolor) French grant with Orange, NDS Tech. and INRIA 3 / 27 Gwendal Simon Network Locality in Distributed Services
  • 4. Credits Funding: Thomson R&D (now Technicolor) French grant with Orange, NDS Tech. and INRIA Co-authors: Jimmy Leblet (post-doc) Yiping Chen (PhD student) Zhe Li (PhD student) Gilles Straub (senior researcher Thomson) Di Yuan (Ass. Professor: Linkopping Univ. Sweden) 3 / 27 Gwendal Simon Network Locality in Distributed Services
  • 5. Service Delivery Network CLOUD end user 4 / 27 Gwendal Simon Network Locality in Distributed Services
  • 6. Service Delivery Network data-center CLOUD end user 4 / 27 Gwendal Simon Network Locality in Distributed Services
  • 7. Service Delivery Network data-center CDN CLOUD end user 4 / 27 Gwendal Simon Network Locality in Distributed Services
  • 8. Service Delivery Network data-center CDN in-network servers CLOUD end user 4 / 27 Gwendal Simon Network Locality in Distributed Services
  • 9. Service Delivery Network data-center CDN in-network servers set-top-box CLOUD set-top-box set-top-box set-top-box end user 4 / 27 Gwendal Simon Network Locality in Distributed Services
  • 10. Toward a Decentralized Architecture servers’ capacities scale down1 services scale up2 =⇒ multi-servers multi-component architectures3 1 J. He, A. Chaintreau and C. Diot. “A performance evaluation of scalable live video streaming with nano data centers” Computer Networks, 2009 2 J. Pujol, V. Erramilli, and P. Rodriguez, “Divide and Conquer: Partitioning Online Social Networks” Arxiv preprint arXiv:0905.4918, 2009. 3 R. Baeza-Yates, A. Gionis, F. Junqueira, V. Plachouras, and L. Telloli, “On the feasibility of multi-site web search engines”, in ACM CIKM 2009 5 / 27 Gwendal Simon Network Locality in Distributed Services
  • 11. Problem Modelling and Analysis 6 / 27 Gwendal Simon Network Locality in Distributed Services
  • 12. Problem Formulation (Assumptions) About the n servers and the k components: only one component per server no capacity bounds components are uniformly accessed 7 / 27 Gwendal Simon Network Locality in Distributed Services
  • 13. Problem Formulation (Assumptions) About the n servers and the k components: only one component per server no capacity bounds components are uniformly accessed About the global service architecture: client requests are routed toward the closest server characteristics of links between servers are known a generic distance (cost) function dij 7 / 27 Gwendal Simon Network Locality in Distributed Services
  • 14. Problem Formulation (Definition) Rainbow distance for a server i: total cost to fetch all missing components j4 5 = dij4 j3 =4 dij3 3 j2 dij2 = i dij1 = 2 j1 8 / 27 Gwendal Simon Network Locality in Distributed Services
  • 15. Problem Formulation (Definition) Rainbow distance for a server i: total cost to fetch all missing components j4 d(i) = dij1 + dij4 = 7 = 5 j3 dij4 =4 dij3 3 j2 dij2 = i dij1 = 2 j1 8 / 27 Gwendal Simon Network Locality in Distributed Services
  • 16. Problem Formulation (Objective) Global goal: assign components to servers Optimization: minimize sum of rainbow distances d(i) 0<i≤n 9 / 27 Gwendal Simon Network Locality in Distributed Services
  • 17. Problem Formulation (Objective) Global goal: assign components to servers Optimization: minimize sum of rainbow distances d(i) 0<i≤n Motivations: network operator: reduce cross-domain traffic service provider: reduce overall latency academic: funny unknown problem 9 / 27 Gwendal Simon Network Locality in Distributed Services
  • 18. Problem Complexity The problem is NP-complete: closely related with domatic partition 6 4 7 3 8 9 5 1 0 2 10 / 27 Gwendal Simon Network Locality in Distributed Services
  • 19. Problem Complexity The problem is NP-complete: closely related with domatic partition 6 4 7 3 8 9 5 1 0 2 10 / 27 Gwendal Simon Network Locality in Distributed Services
  • 20. Problem Complexity The problem is NP-complete: closely related with domatic partition 6 4 7 3 8 9 5 1 0 2 10 / 27 Gwendal Simon Network Locality in Distributed Services
  • 21. Problem Complexity The problem is NP-complete: closely related with domatic partition 6 4 7 3 8 9 5 1 0 2 10 / 27 Gwendal Simon Network Locality in Distributed Services
  • 22. Problem Complexity The problem is NP-complete: closely related with domatic partition 6 4 7 3 8 9 5 1 0 2 10 / 27 Gwendal Simon Network Locality in Distributed Services
  • 23. Integer Programming 1 if component c is allocated at server i xic = 0 otherwise c 1 if i obtains component c from j yij = 0 otherwise n k n c Minimize d(i, j)yij i=1 c=1 j=1 k Subject to xic = 1, only one component per server c=1 c yij = 1 − xic , a server has c or has exactly one pointer to c j=i c yij ≤ xjc , a server has c from another server if this latter has c 11 / 27 Gwendal Simon Network Locality in Distributed Services
  • 24. Related Works 12 / 27 Gwendal Simon Network Locality in Distributed Services
  • 25. Related Works Facility Location Problem ⇒ open a subset of facilities with minimal overall cost c1 = 9 c2 = 3 c3 = 5 u1 u2 u3
  • 26. Related Works Facility Location Problem ⇒ open a subset of facilities with minimal overall cost c1 = 9 c2 = 3 c3 = 5 u1 u2 u3 i1 i2
  • 27. Related Works Facility Location Problem ⇒ open a subset of facilities with minimal overall cost c1 = 9 c2 = 3 c3 = 5 u1 u2 u3 6 8 3 i1 i2
  • 28. Related Works Facility Location Problem ⇒ open a subset of facilities with minimal overall cost c1 = 9 c2 = 3 c3 = 5 u1 u2 u3 6 8 12 11 3 7 i1 i2 13 / 27 Gwendal Simon Network Locality in Distributed Services
  • 29. Related Works Facility Location Problem most variants are NP-complete 3 close variant is k-PUFLP: a 2 k − 1 -approx. algo4 possible transformation from our prob. to k-PUFLP 4 H. C. Huang and R. Li, “A k-product uncapacitated facility location problem”, European Journal of Op. Res., vol. 185, no. 2, 2008. 13 / 27 Gwendal Simon Network Locality in Distributed Services
  • 30. Related Works Facility Location Problem 3 a 2k − 1 -approx. algo 13 / 27 Gwendal Simon Network Locality in Distributed Services
  • 31. Related Works Facility Location Problem 3 a 2k − 1 -approx. algo Content Delivery Networks k-median problem: no multiple servers 13 / 27 Gwendal Simon Network Locality in Distributed Services
  • 32. Related Works Facility Location Problem 3 a 2k − 1 -approx. algo Content Delivery Networks k-median problem: no multiple servers Nano data centers powered by set-top-boxes uniform random allocation of components to servers 13 / 27 Gwendal Simon Network Locality in Distributed Services
  • 33. Our Algorithms 14 / 27 Gwendal Simon Network Locality in Distributed Services
  • 34. Approximate Algorithm For a server i: ¯ 1. compute distance d(i) to k − 1 closest servers ¯ 2. wait until every server j with smaller d(j) are OK 3. try to optimize locally −→ optimized state 4. if impossible −→ saved state 5. uncolored saved nodes get furthest components 15 / 27 Gwendal Simon Network Locality in Distributed Services
  • 35. Approximate Algorithm sorted list nearest neighbors 2 1,4,5 3 1,8,16 1 2,3,16 6 8 3,11,12 7 5 1,2,4 11 8,12,13 10 4 2,5,7 16 1,3,5 13 4 12 8,9,11 15 2 15 1,10,11 5 10 2,6,15 1 18 14 3,16,17 11 17 5,14,16 8 3 13 11,12,15 16 7 2,4,6 12 6 2,7,10 9 8,12,14 17 18 4,5,17 14 9 16 / 27 Gwendal Simon Network Locality in Distributed Services
  • 36. Approximate Algorithm sorted list nearest neighbors 2 1,4,5 3 1,8,16 1 2,3,16 6 8 3,11,12 7 5 1,2,4 11 8,12,13 10 optimized 4 16 2,5,7 1,3,5 13 4 12 8,9,11 15 2 15 1,10,11 5 10 2,6,15 1 18 14 3,16,17 11 17 5,14,16 8 3 13 11,12,15 16 7 2,4,6 12 6 2,7,10 9 8,12,14 17 18 4,5,17 14 9 16 / 27 Gwendal Simon Network Locality in Distributed Services
  • 37. Approximate Algorithm sorted list nearest neighbors 2 1,4,5 3 1,8,16 1 2,3,16 6 8 3,11,12 7 5 1,2,4 11 8,12,13 10 4 2,5,7 16 1,3,5 13 4 12 8,9,11 15 2 15 1,10,11 5 10 2,6,15 1 18 14 3,16,17 11 8 3 optimized 17 13 5,14,16 11,12,15 16 7 2,4,6 12 6 2,7,10 9 8,12,14 17 18 4,5,17 14 9 16 / 27 Gwendal Simon Network Locality in Distributed Services
  • 38. Approximate Algorithm sorted list nearest neighbors 2 1,4,5 conflict 3 1,8,16 1 2,3,16 6 8 3,11,12 7 5 1,2,4 11 8,12,13 10 4 2,5,7 16 1,3,5 13 4 12 8,9,11 15 2 15 1,10,11 5 10 2,6,15 1 18 14 3,16,17 11 17 5,14,16 8 3 13 11,12,15 16 7 2,4,6 12 6 2,7,10 9 8,12,14 17 18 4,5,17 14 9 saved but colored 16 / 27 Gwendal Simon Network Locality in Distributed Services
  • 39. Approximate Algorithm sorted list nearest neighbors 2 1,4,5 conflict 3 1,8,16 1 2,3,16 6 8 3,11,12 7 5 1,2,4 11 8,12,13 10 4 2,5,7 16 1,3,5 13 4 12 8,9,11 15 2 15 1,10,11 5 10 2,6,15 1 18 14 3,16,17 11 17 5,14,16 8 3 13 11,12,15 16 7 2,4,6 12 6 2,7,10 9 8,12,14 17 18 4,5,17 14 9 saved and uncolored 16 / 27 Gwendal Simon Network Locality in Distributed Services
  • 40. Approximate Algorithm sorted list nearest neighbors 2 1,4,5 3 1,8,16 1 2,3,16 6 8 3,11,12 7 5 1,2,4 11 8,12,13 10 4 2,5,7 16 1,3,5 13 4 12 8,9,11 15 2 15 1,10,11 5 10 2,6,15 1 18 14 3,16,17 11 17 5,14,16 8 3 13 11,12,15 16 7 2,4,6 12 6 2,7,10 9 8,12,14 17 18 4,5,17 14 9 colored by node 10 16 / 27 Gwendal Simon Network Locality in Distributed Services
  • 41. Approximate Algorithm sorted list nearest neighbors 2 1,4,5 3 1,8,16 1 2,3,16 6 8 3,11,12 7 5 1,2,4 11 8,12,13 10 4 2,5,7 16 1,3,5 13 4 12 8,9,11 15 2 15 1,10,11 5 10 2,6,15 1 18 14 3,16,17 11 17 5,14,16 8 3 13 11,12,15 16 7 2,4,6 12 6 2,7,10 9 8,12,14 17 18 4,5,17 14 9 only node uncolored 16 / 27 Gwendal Simon Network Locality in Distributed Services
  • 42. Approximate Algorithm sorted list nearest neighbors 2 1,4,5 3 1,8,16 1 2,3,16 6 8 3,11,12 7 5 1,2,4 11 8,12,13 10 4 2,5,7 16 1,3,5 13 4 12 8,9,11 15 2 15 1,10,11 5 10 2,6,15 1 18 14 3,16,17 11 17 5,14,16 8 3 13 11,12,15 16 7 2,4,6 12 6 2,7,10 9 8,12,14 17 18 4,5,17 14 9 choose farthest component 16 / 27 Gwendal Simon Network Locality in Distributed Services
  • 43. Proof ¯ d(i), cost to i’s k − 1 nearest neighbors. d(i), rainbow cost of i. 6 7 10 13 4 15 2 5 1 18 11 8 3 16 12 17 14 9 17 / 27 Gwendal Simon Network Locality in Distributed Services
  • 44. Proof ¯ d(i), cost to i’s k − 1 nearest neighbors. d(i), rainbow cost of i. ¯ optimized node: d(i) = d(i) 6 7 10 13 4 15 2 5 1 18 11 8 3 16 12 17 14 9 17 / 27 Gwendal Simon Network Locality in Distributed Services
  • 45. Proof ¯ d(i), cost to i’s k − 1 nearest neighbors. d(i), rainbow cost of i. ¯ optimized node: d(i) = d(i) 6 7 10 i node conflicting with its nearest neighbor: 13 4 15 2 optimized node at one hop 5 i 1 18 11 ¯ d(i) ≤ (k − 2)d(i) 8 3 16 12 17 14 9 17 / 27 Gwendal Simon Network Locality in Distributed Services
  • 46. Proof ¯ d(i), cost to i’s k − 1 nearest neighbors. d(i), rainbow cost of i. ¯ optimized node: d(i) = d(i) 6 7 10 node conflicting with its nearest neighbor: 13 4 15 2 optimized node at one hop 5 1 18 11 ¯ d(i) ≤ (k − 2)d(i) 3 i 8 16 12 17 node with two conflicting nearest neighbors: 14 9 j1 optimized node at two hops i ¯ d(i) ≤ ( 3 k − 5 )d(i) 2 2 17 / 27 Gwendal Simon Network Locality in Distributed Services
  • 47. A Heuristic Algorithm Idea: use the similarity with domatic partition domatic coloring of a proximity graph 18 / 27 Gwendal Simon Network Locality in Distributed Services
  • 48. A Heuristic Algorithm Idea: use the similarity with domatic partition domatic coloring of a proximity graph 1. build a k-nearest neighbor graph O(n · log n) 2. augment it into an interval graph O(n) 3. build the domatic partition O(n) 18 / 27 Gwendal Simon Network Locality in Distributed Services
  • 49. Another Heuristic Algorithm Based on a k-nearest neighbor graph, two rounds 1. explore surroundings: do not pick a component hosted by a direct neighbor hosted by a peer that considers you as a direct neighbor hosted by one of its direct neighbors 19 / 27 Gwendal Simon Network Locality in Distributed Services
  • 50. Another Heuristic Algorithm Based on a k-nearest neighbor graph, two rounds 1. explore surroundings: do not pick a component hosted by a direct neighbor hosted by a peer that considers you as a direct neighbor hosted by one of its direct neighbors 2. try to maximize the benefits pick component satisfying in average the direct neighbors 19 / 27 Gwendal Simon Network Locality in Distributed Services
  • 51. Simulations 20 / 27 Gwendal Simon Network Locality in Distributed Services
  • 52. Configurations Several contexts have been considered: network of latencies select randomly n peers among 20, 000 entries ⇒ minimize the global latency network of Autonomous Systems put µ peers into every AS inter-AS routing ⇒ minimize the cross-domain traffic 21 / 27 Gwendal Simon Network Locality in Distributed Services
  • 53. Comparing to Exact Solutions 22 / 27 Gwendal Simon Network Locality in Distributed Services
  • 54. Going Further 23 / 27 Gwendal Simon Network Locality in Distributed Services
  • 55. Cross-Domain Gain 6 5 1,346 Average Hops 4 3,778 1,072 1,074 1,085 3 2,695 2,764 2,746 2 1 0 Random k-nearest Topo k-nearest Rela k-PUFLP Peering Transit 24 / 27 Gwendal Simon Network Locality in Distributed Services
  • 56. Conclusion 25 / 27 Gwendal Simon Network Locality in Distributed Services
  • 57. Only Preliminary Works Many theoretical results can be obtained: relax assumptions (esp. capacity, number of components) study families of instances better approximation 26 / 27 Gwendal Simon Network Locality in Distributed Services
  • 58. Only Preliminary Works Many theoretical results can be obtained: relax assumptions (esp. capacity, number of components) study families of instances better approximation Many realistic variants can be formulated: take into account network architecture objective of fairness 26 / 27 Gwendal Simon Network Locality in Distributed Services
  • 59. Any question? <no image> 27 / 27 Gwendal Simon Network Locality in Distributed Services