SlideShare a Scribd company logo
1 of 59
Download to read offline
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

What's hot

Modelling of Crosstalk and Delay for Distributed RLCG On-Chip Interconnects F...
Modelling of Crosstalk and Delay for Distributed RLCG On-Chip Interconnects F...Modelling of Crosstalk and Delay for Distributed RLCG On-Chip Interconnects F...
Modelling of Crosstalk and Delay for Distributed RLCG On-Chip Interconnects F...
IDES Editor
 
Neural network based energy efficient clustering and routing
Neural network based energy efficient clustering and routingNeural network based energy efficient clustering and routing
Neural network based energy efficient clustering and routing
ambitlick
 

What's hot (17)

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

Viewers also liked (9)

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

Similar to Optimal Network Locality in Distributed Services

Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...
Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...
Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...
Sigma web solutions pvt. ltd.
 
onos-day-dkim-20150914-lkin
onos-day-dkim-20150914-lkinonos-day-dkim-20150914-lkin
onos-day-dkim-20150914-lkin
Dongkyun Kim
 
Diplomatiki word
Diplomatiki wordDiplomatiki word
Diplomatiki word
Xaris1985
 
Federated Networked Cloud
Federated Networked CloudFederated Networked Cloud
Federated Networked Cloud
Ericsson Labs
 
Semantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
Semantic Decision Support Models for Energy Efficiency in Smart-Metered HomesSemantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
Semantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
European Patent Office
 
Integrating network virtualization security in OpenStack Deployments.pdf
Integrating network virtualization security in OpenStack Deployments.pdfIntegrating network virtualization security in OpenStack Deployments.pdf
Integrating network virtualization security in OpenStack Deployments.pdf
OpenStack Foundation
 
Case Studies Of System Costs Of Distribution Areas
Case Studies Of System Costs Of Distribution AreasCase Studies Of System Costs Of Distribution Areas
Case Studies Of System Costs Of Distribution Areas
davidtrebolle
 

Similar to Optimal Network Locality in Distributed Services (20)

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

More from Gwendal Simon

Minimizing Server Throughput for Low-Delay Live Streaming in Content Delivery...
Minimizing Server Throughput for Low-Delay Live Streaming in Content Delivery...Minimizing Server Throughput for Low-Delay Live Streaming in Content Delivery...
Minimizing Server Throughput for Low-Delay Live Streaming in Content Delivery...
Gwendal Simon
 

More from Gwendal Simon (14)

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

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 

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