1 / 27

Nomadic Service Points

Nomadic Service Points. Edward Bortnikov Israel Cidon Idit Keidar. Distributed Service Grids. Paradigm shift in networked service infrastructures Geographically distributed servers instead of centralized server farms Performance benefits Localized service provisioning

sydneye
Télécharger la présentation

Nomadic Service Points

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Nomadic Service Points Edward Bortnikov Israel Cidon Idit Keidar

  2. Distributed Service Grids • Paradigm shift in networked service infrastructures • Geographically distributed servers instead of centralized server farms • Performance benefits • Localized service provisioning • Adaptation to changes (e.g., user mobility) • Technologies in the field • Content delivery networks (CDN), wireless access (mesh) networks (WMN), online gaming grids

  3. Nomadic Service Points • Abstraction of session attachment to service • Application is unaware of physical server assignment • Implemented by service infrastructure • A single physical server is selected for the session • A session can be migrated to sustain QoS • Example: session mobility following host mobility • Optimization challenges: • When to transition from an old server? • Which server to select next?

  4. Wireless Mesh Networks • Tradeoff: suboptimal delay versusservice interruption

  5. Distributed Groupware Service • Tradeoff: suboptimal delay versusstate transfer

  6. Model • Hold cost • Paid each time slot to the currently assigned server • A server can update its hold cost on slot boundary • Setup cost (C) • Paid every time the session is (re-)assigned • Total cost = setup + hold • Goal: finding the assignment schedule • … that minimizes the total costover time

  7. Formal Approach • Online optimization goal: competitive ratio • Worst-case ratio versus the offline algorithm • Notation: • k: number of servers • I: problem input (sequence of hold cost vectors) • σ: schedule produced by the online algorithm • σ*: schedule produced by the optimal (offline) algorithm • Algorithm ALG is r(ALG) competitive iff for every finite I,

  8. Summary of Results • Theoretical • A lower bound of k on deterministic online algorithms • A 2k-competitive online algorithm DTrack-RR • Optimal offline solution in linear time and space • Practical • Opportunistic versions of DTrack • Empirically verified through simulation • Average performance within 20%-50% from the optimum • Perfect scalability with network growth • Motion prediction helps a lot • Performance gap below 10% with a small look-ahead window

  9. The DTrack Algorithm • DTrack = deficit tracker • Initially, assign to server s with minimal hold cost • Every time slot do: • Update the deficit between s and the other servers • How much less would I have paid if I transitioned to s’ at some time after transitioning to s? • Single-slot lookahead • When deficit between s and some s’ is about to become “big enough” (above αC) • Transition to a new server

  10. Transition Policies • Round-Robin DTrack-RR • Cyclic space of server ids • The a-priori deficit of the choice must not exceed αC (α ≥ 0) • Forward opportunistic DTrack-F • Minimal current hold cost • Backward opportunistic DTrack-B • Round-robin between servers with “big enough” deficit values (exceeding βC, -∞ < β ≤ α) • β = α is most aggressive • Picks the server with largest deficit

  11. current leader other Execution of DTrack hold deficit setup = 5 α = 1 t=0

  12. current leader other Execution of DTrack hold deficit setup = 5 α = 1 t=1

  13. current leader other Execution of DTrack hold deficit setup = 5 α = 1 t=2

  14. current leader other Execution of DTrack hold Transition! deficit setup = 5 α = 1 t=3

  15. current leader other Execution of DTrack hold deficit setup = 5 α = 1 DTrack-RR

  16. current leader other Execution of DTrack hold deficit setup = 5 α = 1 β= 0 DTrack-B

  17. current leader other Execution of DTrack hold deficit setup = 5 α = 1 DTrack-F

  18. Efficiency Improvement • CTrack = cost tracker • Track accumulated cost instead of deficit • Transition if hold cost exceeds αC • Apply the same transition policies • Advantage: reduced complexity • O(1) at each step instead of O(n) • Disadvantage: weaker competitive ratio • (2+a)k, where hold(s,t) ≤ αC for each s

  19. Negative Results • No deterministic algorithm can be better than k-competitive • Hence, DTrack-RR is at most twice the lower bound! • Neither DTrack-F nor aggressive DTrack-B are competitive • An Ω(C) lower bound • What do we care for in real life? • The average performance ratio • Luckily, we have an optimal algorithm as a baseline

  20. WMN: Average Total Cost • Hold cost = Distance • RWP movement • Area = 1km x 1km • 100 routers • Scaling up by 25 • Speed = 10 m/sec • Setup cost = 50

  21. WMN: Average Performance Ratio • Hold cost = Distance • RWP movement • Area = 1km x 1km • 100 routers • Scaling up by 25 • Speed = 10 m/sec • Setup cost = 50

  22. Motion Aware Algorithms • TargetAware • Requires info on the node’s target + speed • Applies OPT as a subroutine • DirectionAware • Requires info on the node’s direction + speed • Applies TargetAware as a subroutine

  23. WMN: Motion Aware Algorithms • Hold cost = Distance • RWP movement • Area = 1km x 1km • 100 routers • Scaling up by 25 • Speed = 10 m/sec • Setup cost = 50

  24. Wide-Area Chatroom • Static users • Poisson arrivals • 3 users • 100 servers • Scaling up by 25x25

  25. Backup Slides

  26. DTrack-RR is 2k-Competitive • Overtake = leave or skip the server • Consider σ (by DTrack-RR) and σ* (by OPT) • Round = period in which σ* does not move • Phase = part of round where σ overtakes every server

  27. DTrack-RR is 2k-Competitive (cont’d) • Competitive analysis within a round • Lookahead accounting is crucial! • Hold cost bookkeeping • σovertakes σ*’s choice every phase • The hold cost incurred byσ* is at least αC • The hold cost incurred by σexceeds it by at most (k-1)αC • Setup cost bookkeeping • σ* pays at least C (initial assignment) • σpays at most kC every phase • Summing up and bounding the ratio • α=1 minimizes the upper bound (2k)

More Related