Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick...

17
vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal , Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance Distributed Computing Group Department of Computer Science VU University Amsterdam [email protected]

Transcript of Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick...

Page 1: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Interdroid: a platform for distributed smartphone

applications

Henri Bal, Nick Palmer,Roelof Kemp, Thilo Kielmann

High Performance Distributed Computing GroupDepartment of Computer Science

VU University Amsterdam

[email protected]

Page 2: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Ibis: framework for distributed applications

• Clusters, grids, clouds – Thilo Kielmann• Accelerators (GPUs) – Rob van Nieuwpoort • Heterogeneity (``Jungle Computing”) – Frank Seinstra• Clouds & mobile devices – Henri Bal

Page 3: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Computing Trends

• Mobile

• Personalization of Computing Devices

• Cloud

• Commoditization of Computation and Storage

Page 4: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Made For Each Other?Mobile Cloud

Processor? Small Unlimited

Storage? Small Unlimited

Network?Constant Change!

Constant

Power? Limited Battery Unlimited

Sensors? Lots! None

Personal? Very Not At All

Page 5: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Challenges

• Data Management

• Caching and Synchronization

• Mobile Resource Constraints

• Battery, Processor,Memory, Storage

• Making Smartphones Really Smart

Page 6: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Interdroid Platform

Android OSAndroid OS Cloud SystemsCloud Systems

Distributed Data Management

Raven

Distributed CommunicationCloud Deployment

Novel Mobile + Cloud ApplicationsNovel Mobile + Cloud Applications

Mobile Sensing

SWANComputation & Communication

Offloading

Cuckoo

Page 7: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Raven

• Framework for mobile management of shared versioned data collections• Peer to Peer Sync On Ibis • Mobile - Cloud Sync• Commit and Branch Support• Run & Compile Time DB Definition• List, View, and Edit UI Generation

Page 8: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

SWANSensing With Android Nodes

• Framework for mobile sense applications

• Hardware, External, Fusion & Network Sensors

• Data Storage Using Raven

• Domain Specific Expression Language

• sound:level (ALL,1m) > 3 => call dad

Page 9: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Cuckoo - offloading

• Computation Offloading

• Select between Local or Cloud Execution of Workloads

• Communication Offloading

• Push Notification for Anything

Page 10: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Computation Offloading Framework

• Runs on Android, integrates with Eclipse

• Multiple implementations of compute intensive parts

• Remote and local implementation bundled together

• Deals with network connectivity issues (Ibis SmartSockets)

Page 11: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Computation Offloading

Activity

StubProxy Local

Remote

Page 12: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

eyeDentify: object recognition

• Compute intensive operation

• Local implementation is inaccurate

• Remote implementation runs in parallel and uses better accuracy parameters

• Results

• Up to 40 times less energy

• Up to 60 times faster

• better recognition quality

Page 13: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Communication Intensive Apps

• Applications and widgets that

• communicate periodically

• RSS Readers, Weather, Traffic,Social Networks, Sports Scores,News, Stock Market, etc.

• built by 3rd party developers

• Do Pull-based Web Requests

• Information Monitoring Applications

Page 14: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Communication offloading

• No Update Delays• No Energy Waste• No Server Modifications• Works for 3rd party devs

Page 15: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Example App: Web Page Widget (1/2)

Page 16: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

Example App: Web Page Widget (2/2)

Page 17: Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.

vrije Universiteit

More information

• http://interdroid.net/

• Ph.D. thesis Nick Palmer (2012)

• Papers

• IEEE Computer Aug. 2010 (Ibis),MDM 2011, MobiCASE 2010 + 2011