Replicated Client-Server Execution to Overcome Unpredictability in - - PowerPoint PPT Presentation

replicated client server execution to overcome
SMART_READER_LITE
LIVE PREVIEW

Replicated Client-Server Execution to Overcome Unpredictability in - - PowerPoint PPT Presentation

Replicated Client-Server Execution to Overcome Unpredictability in Mobile Environment Bing You and Hao Chu Intelligent Space Lab National Taiwan University Outline Problem Related Work Replicated Client-Server Model


slide-1
SLIDE 1

Replicated Client-Server Execution to Overcome Unpredictability in Mobile Environment

Bing You and Hao Chu Intelligent Space Lab National Taiwan University

slide-2
SLIDE 2

Outline

Problem Related Work Replicated Client-Server Model Experiments Implementation Conclusion

slide-3
SLIDE 3

Problem

Dynamic factors in mobile environment that affect response time

Wireless network bandwidth Server loads Usage patterns

The optimal client thickness (application partition) depends on these dynamic factors.

slide-4
SLIDE 4

Problem Scenario

Location B Location A

slide-5
SLIDE 5

Related work

Adaptation methods

Chroma from CMU Replets from NTT DoCoMo USA Lab Agilos from UIUC

Based on a closed control loop to runtime repartition the application between client and server.

Resource monitor Resource prediction Application reconfiguration

slide-6
SLIDE 6

Related work (cont’)

5 H T X H V W 6H U Y H UV L G H

  • SU

R FH V V

Location B Location A

slide-7
SLIDE 7

Related work (cont’)

Major limitation of adaptation methods

Require predictable resources

What happen if resources are unpredictable?

Frequent application reconfigurations Each reconfiguration incurs computing

  • verheads.

Incorrect reconfiguration

Poor response time

slide-8
SLIDE 8

Replicated Client-Server Model

How to get good response time under unpredictable resources without app reconfiguration?

Replicated client-server model

slide-9
SLIDE 9

Replicated client-server model (cont’)

The best of thin and thick client models

slide-10
SLIDE 10

Replicated Client-Server Model vs. Adaptation Methods

Use replication to solve unpredictability. No need to reconfigure under changing resource conditions Give good response time under unpredictable resources

slide-11
SLIDE 11
slide-12
SLIDE 12

Experiment Setup

Using a component-based sample J2EE application to show the impact of changing resource conditions and usage patterns on application response time

slide-13
SLIDE 13

Impact of usage patterns on response time

two possible usage patterns when a user views his/her shopping cart

No sign-on: views his/her shopping cart prior to sign-on. After sign-on: views his/her shopping cart after sign-on.

Different usage patterns can change the optimal application partition.

9.016 s 2.489 s After sign-on No sign-on Thin Client Partition Thick Client Partition Usage Patterns 11.241 s 45.065 s Response time

slide-14
SLIDE 14

Impact of network bandwidth on response time

Handoff between WLAN and GPRS network

Varying the network bandwidth can change the optimal application partition.

9.016 s 2.489 s WLAN GPRS Thin Client Partition Thick Client Partition Network Bandwidth 0.614 s 2.987 s Response time

slide-15
SLIDE 15

Implementation and evaluation

A preliminary implementation on HP ipaq

request dispatcher, computation coordinator, database access interceptor and application-level session state synchronization

show the system overhead in replicated execution.

18.6 s (3.6 s) 15.0 s 17.3 s After sign-on 5.5 s (2.4 s) 13.1 s 3.1 s No sign-on Replicated Execution (Overhead) Thin Client Partition Thick Client Partition Usage Patterns Response time

slide-16
SLIDE 16

Conclusion

Unpredictability in mobile environment

The adaptive system may frequently reconfigure.

Replicated client-server model.

Give good response time (at a cost of replicated execution

  • verhead)

Work well under resource unpredictability

Future work

Refine our implementation Code download mechanism

slide-17
SLIDE 17

Q & A