Slingshot: Deploying Stateful Services in Wireless Hotspots - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

Slingshot: Deploying Stateful Services in Wireless Hotspots

Description:

Slingshot: Deploying Stateful Services in Wireless Hotspots. Ya ... Keystroke. Keystroke. Keystroke. Instantiate a Replica. VNC. client. VNC. proxy. Home server ... – PowerPoint PPT presentation

Number of Views:36
Avg rating:3.0/5.0
Slides: 25
Provided by: yay4
Category:

less

Transcript and Presenter's Notes

Title: Slingshot: Deploying Stateful Services in Wireless Hotspots


1
Slingshot Deploying Stateful Services in
Wireless Hotspots
  • Ya-Yunn Su
  • Jason Flinn
  • University of Michigan

2
Motivation
Mobile Computer
  • Portable take everywhere
  • Easy to carry and less obtrusive
  • Limited in resources
  • Performance run demanding applications
  • More processing power and storage capacity
  • Bulkier and heavier

3
Remote Execution
Internet
Wireless Hotspot
VNC Server
AP
VNC client
4
Cyber Foraging
Internet
Wireless Hotspot
AP
VNC client
5
Migrating Remote Services
Internet
Wireless Hotspot
AP
  • Problems
  • No service during migration

VNC client
  • Loss state on surrogate failure

6
Slingshot Replicate Services
Internet
Wireless Hotspot
AP
Surrogate
VNC client
  • Home replica always available
  • No state loss on surrogate failure

7
Ease of Management
  • Surrogates should be appliances
  • Slingshot
  • Minimizes the surrogate computing base
  • Uses a heavyweight virtual machine
  • Places no hard state on surrogates

8
Outline
  • Motivation
  • Implementation
  • Evaluation
  • Related Work
  • Conclusion

9
Slingshot Overview
VM
VM
VNC
VNC
Surrogate
Surrogate
Home Server
Request
Request
Request
VNC proxy
  • Slingshot applications
  • - Remote desktop VNC
  • - Speech recognition IBM ViaVoice

VNC client
10
State of a Remote Service
  • The virtual machine state contains
  • Volatile state memory image and registers
  • Unique to each service
  • Compressed and stored as individual files
  • Persistent state virtual disk image
  • Large ex. 4 GB for our VNC service
  • Stored in content addressable database

11
Content Addressable Database
Disk Blocks
Chunk Table for VNC
Hash Table
Chunk Database
  • This runs on the home server
  • Built upon Internet Suspend Resume
  • Kozuch02

Chunk Table for Speech Recognition
12
Surrogate
VM1
VNC
Content Addressable Database
data
Home Server
data
Content Addressable Cache
  • Persistent state can be
  • - Fetched on demand
  • - Shared between applications

Surrogate
13
Creating a Replica
  • Big idea recreate current state from
  • Checkpoint on the home server
  • Event log on the client
  • Application level determinism
  • Example

Event Log
Checkpoint
Current State
14
Instantiate a Replica
1. Checkpoint
2. Transfer volatile state and chunk table
Home server
Surrogate
VNC proxy
VNC client
15
Leveraging Portable Storage
Home server
Surrogate
VNC proxy
  • Portable storage carries
  • Volatile state
  • Content addressable database

VNC client
16
Outline
  • Motivation
  • Design Principles
  • Implementation
  • Evaluation
  • Related Work
  • Conclusion

17
Network Topology
Internet
30 ms latency
1.5 Mbps
1.5 Mbps
1.5 Mbps
256 Kbps
AP
Surrogate
Home Server
  • Workload open Word, insert text, save document
    and close Word

18
Benefit of Slingshot
  • Slingshot 2.6 times faster than remote execution

19
Network Topology
Internet
30 ms latency
1.5 Mbps
1.5 Mbps
1.5 Mbps
256 Kbps
AP
Surrogate
Home Server
Handheld
20
Instantiating the First Replica
  • Slingshot executes 2.6 times faster than remote
    execution

21
Network Topology
Internet
15 ms latency
15 ms latency
1.5 Mbps
1.5 Mbps
1.5 Mbps
1.5 Mbps
1.5 Mbps
256 Kbps
AP
AP
Nearby Surrogate
Distant Surrogate
Home Server
Handheld device
22
Instantiating Another Replica
23
Related Work
  • Cyber foraging Balan03, Goyal04
  • Support user mobility and stateful services
  • Virtual machine/process migration
  • Sapuntzakis02, Kozuch02, Tolia03
  • Apply the same optimization techniques
  • Replicate VM to service mobile computers
  • Replay at different level Dunlap02, Bressoud95,
    Rodrigues01, Brown02
  • Enforce determinism at the application level

24
Conclusion
  • Slingshot
  • Is 2.6x faster than remote execution
  • Hides surrogate failure
  • Minimizes surrogate maintenance cost
  • Questions?
Write a Comment
User Comments (0)
About PowerShow.com