mobile and cloud computing seminar · 2018-02-15 · research roadmap –iot& fog computing...

39
Mobile and Cloud Computing Seminar MTAT.03.280 Spring 2018 Satish Srirama [email protected]

Upload: others

Post on 22-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Mobile and Cloud Computing Seminar

MTAT.03.280

Spring 2018

Satish [email protected]

Page 2: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Course Purpose

• To have a platform to discuss the research developments of Mobile & Cloud Lab

• Introduce students to newest concepts and advances in the respective research fields

• To give students a feel of theses topics available from Mobile & Cloud Lab

• Preliminary platform for the students to understand their prospective Master/Bachelor theses better

• Help students in preparing proper technical reports

• Help students in making proper presentations

2/15/2018 Satish Srirama 2/31

Page 3: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

To pass the course

• Write a report on a chosen topic

– At least 6 pages of ACM double column format

• Peer review the work of your colleagues

• Give an oral presentation on the topic

• Demonstrate their work

• Participate actively in all the seminars

2/15/2018 Satish Srirama 3/31

Page 4: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Course grading

• We will have two intermediate presentations and a final presentation

• We will grade all three presentations, Peer Review and Final Report

– We set 3 ratings: Good (+1), Neutral (0) and Bad (-1)

• To pass the course one should score >= 2 in total

• Intermediate and final Presentations are graded for Presentation, Progress and Punctuality

2/15/2018 4/31Satish Srirama

Page 5: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Course schedule

• Thursday 14.15 - 16.00, Ülikooli 17 - 218

• Schedule of the sessions

https://courses.cs.ut.ee/2018/mcsem/spring

2/15/2018 Satish Srirama 5/31

Page 6: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Related Courses

• MTAT.08.027 Basics of Cloud Computing (3 ECTS) – Tue. 10.15 – 12.00, J. Liivi 2 - 402

• MTAT.08.036 Distributed Data Processing on the Cloud (6 ECTS) – Fall 2018

• MTAT.03.266 Mobile Application Development Projects (3 ECTS)– Thu. 16.15 - 18.00, Ülikooli 17 - 218

• MTAT.03.262 Mobile Application Development (3 ECTS)– Fall 2018

2/15/2018 Satish Srirama 6/31

Page 7: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

http://mc.cs.ut.ee

Satish Srirama 7/31

Page 8: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

RESEARCH AT MOBILE & CLOUD LAB

2/15/2018 Satish Srirama 8

Page 9: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Cloud Computing

• Computing as a utility– Utility services e.g. water, electricity, gas etc– Consumers pay based on their usage

• Cloud Computing characteristics – Illusion of infinite resources– No up-front cost– Fine-grained billing (e.g. hourly)

• Gartner: “Cloud computing is a style of computing where massively scalable IT-related capabilities are provided ‘as a service’ across the Internet to multiple external customers”

2/15/2018 Satish Srirama 9/31

Page 10: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Cloud based Research

• We are one among the top 10 producers of cloud based research results [Heilig and Voß, TCC 2014]

• Migrating enterprise applications to the cloud

– Optimal Resource Provisioning for Scaling Enterprise Applications on the Cloud

– Based on LP mathematical model

2/15/2018

{srirama, viil}@ut.eeSatish Srirama 10/31

Page 11: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Further Cloud related topics

• Resource management and scheduling in cloud– Static VM provisioning policies

• Allocate a fixed set of physical resources to VMs using bin-packing algorithms

– Dynamic policies• Capable of handling load variations through live VM migrations

and other load balancing techniques

• Serverless computing– Function as a service

• Sustainability in clouds– Dynamic allocation and reallocation of resources– Models for green clouds

2/15/2018 Satish Srirama

[email protected]

11/38

Page 12: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Further Cloud related topics -continued

• Multi-Cloud and cloud interoperability solutions– TOSCA and implementations such as OpenTosca and

Cloudify

• Blockchains in cloud computing– Distributed immutable ledger deployed in a

decentralized network

– Relies on cryptography to meet security constraints

– Where the advances in blockchain will assist cloud computing?

2/15/2018 Satish Srirama

[email protected]

12/38

Page 13: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Scientific Computing on the Cloud(SciCloud)

• Scientific computing is usually associated with large scale computer modeling and simulation

– Usually requires large amounts of computer resources

• Clouds promise virtually infinite resources

– Probably good for HPC!!! Are they?

• Scientific Computing on the Cloud

– Benefit from Cloud characteristics like elasticity, scalability and software maintenance

– Cost-to-value of the experiments

2/15/2018 Satish Srirama 13/31

Page 14: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

SciCloud – continued

• Project established at University of Tartu in 2009 [Srirama et al, CCGrid 2010]

• Studied migrating and adapting scientific computing applications to the cloud

– Migration of several benchmarks like NAS PB and domain specific applications [Srirama et al, SPJ 2011]

– Adapt applications using MapReduce to successfully exploit the cloud’s commodity infrastructure [Srirama et al, FGCS 2012]

2/15/2018 Satish Srirama 14/31

Page 15: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Communication pattern of Cluster vs Cloud

• Cloud has huge troubles with communication/transmission latencies– Virtualization technology is the culprit

• Running several Docker containers on resource-constrained hardware

2/15/2018

{Srirama, jakovits}@ut.ee

Satish Srirama 15/31

Page 16: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Adapting Scientific Computing Application for Cloud Migration

• Research the utilization of cloud computing platforms for HPC

• Compare different Cloud computing frameworks for algorithms used in scientific computing – MapReduce

• Replicate data and computation

– MapReduce implementations• Hadoop• Twister• Spark

– Bulk Synchronous Parallel (BSP)• Fault-tolerance (NEWT)

{srirama, jakovits}@ut.ee2/15/2018 Satish Srirama 16/31

Page 17: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Big data analytics on cloud

• Graph data processing with Apache Giraph

– Comparison with MapReduce

• QoS guarantees of streaming data

– Dynamic allocation and reallocation of resources

• Data pipelines on the cloud

– AWS Data pipelines

– Apache nifi

2/15/2018 Satish Srirama

{Srirama,jakovits}@ut.ee

17/38

Page 18: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Mobile Application development

• Mobile is the 7th mass media– 6.8 bn subscriptions / Global population of 7.2 bn

• Some popular application domains– Location-based services (LBS), mobile social

networking, mobile commerce, etc.

• Multiple languages and platforms to choose from– Android, Apple iOS, Windows Phone 7 etc.

• Real time system development– Mobile Apps using sensors– Mobiles in biometry

2/15/2018 Satish Srirama 18/31

Page 19: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

The devices we use

2/15/2018

http://mc.cs.ut.ee

Satish Srirama 19/16

Page 20: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Mobile Web Services

• Provisioning of services from the smart phones

• Invocation of web services from smart phones

• Mobile web service discovery

• Addressing mobiles in 3G/4G networks

• Push notification mechanisms

• Mobile positioning

– Indoor and Outdoor

2/15/2018

{srirama, chang}@ut.ee, Satish Srirama 20/38

Page 21: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Green software

• Measuring the energy requirements of software & android apps

– Sustainability aware software programming

• To evaluate the impact of code smell refactoring on power consumption of android apps

2/15/2018 21/31Satish Srirama

[email protected], [email protected]

[Hindle et al, MSR 2014]

Page 22: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Mobile Cloud Computing

• One can do interesting things on mobiles directly– Today’s mobiles are far more capable

– We can even provide services from smart phones

• However, some applications need to offload certain activities to servers– Processing sensor data

• Resource-intensive processing on the cloud [Flores & Srirama, JSS 2014; Flores et al, IEEE Communications 2015]

– To enrich the functionality of mobile applications

– Task delegation and code offloading

2/15/2018 Satish Srirama 22/38

Page 23: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Internet of Things (IoT)

• “The Internet of Things allows people and

things to be connected Anytime, Anyplace,

with Anything and Anyone, ideally using Any

path/network and Any service.” [European

Research Cluster on IoT]

• More connected devices than people

• Cisco believes the market size will be $19 trillion by 2025

2/15/2018 Satish Srirama 23

{srirama, chang, liyanage}@ut.ee

Page 24: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

IoT - Scenarios

• Environment Protection

• Smart Home

• Smart Healthcare

• Smart Agriculture

[Kip Compton][Perera et al, TETT 2014]

2/15/2018 Satish Srirama 24[http://www.libelium.com/improving-banana-crops-production-and-agricultural-sustainability-in-colombia-using-sensor-networks/ ]

Page 25: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Internet of Things – Challenges

Sensors Tags Mobile Things

Appliances & Facilities

How to interactwith ‘things’

directly?

How to provide energy efficient

services?

How do we communicate automatically?

[Chang et al, ICWS 2015]

[Chang et al, SCC 2015; Liyanage et al, MS 2015]

2/15/2018 Satish Srirama 25

Page 26: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Cloud-based IoT

Sensing and smart devices

Connectivity nodes &Embedded processing

Remote Cloud-based processing

Proxy Storage

Processing

2/15/2018 Satish Srirama 26

Page 27: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Research focus for the semester in IoT

• We have established IoT and Smart Solutions Lab with Telia company support

• Interesting topics– Discovery of IoT devices

– Working with IoT based devices

– Study of available IoT platforms• Amazon IoT

• Open IoT

• IoT-based smart cities

2/15/2018 Satish Srirama

{srirama, chang, jaks}@ut.ee

27/38

Page 28: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

IoT Data Processing on Cloud

• Enormous amounts of unstructured data– In Zetabytes (1021 bytes) by 2020 [TelecomEngine]

– Has to be properly stored, analysed and interpreted and presented

• Big data acquisition and analytics– Is MapReduce sufficient?

• MapReduce is not good for iterative algorithms [Srirama et al, FGCS 2012]

– IoT mostly deals with streaming data• Message queues such as Apache Kafka can be used to buffer and

feed the data into stream processing systems such as Apache Storm

• Apache Spark streaming

2/15/2018 Satish Srirama

{srirama, jakovits}@ut.ee

28/38

Page 29: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Issues with Cloud-centric IoT

• Latency issues for applications with sub-second response requirements

• Certain scenarios do not let the data move to cloud

• Fog computing [Chang et al, AINA 2017; Mass et al, SCC 2016]

– Processing across all the layers, including network switches/routers

• Mist computing – Processing at the edge devices

– Dynamic provisioning of a platform for process execution [Liyanage et al, PDCAT 2016]

• E.g. Android-ported Activiti BPM engine (http://activiti.org)

2/15/2018 29Satish Srirama

Page 30: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Ongoing Research in Fog Computing

• Mobility, task migration, discovery, scalability and containerisation

• QoE-aware application placement across Fog topology [Mahmud et al, JPDC 2018 (Second revision)]

• Indie Fog [Chang et al, IEEE Computer 2017]

– System architecture for enabling Fog computing with customer premise equipment

2/15/2018 30Satish Srirama

[Soo et al, IJMCMC 2017]

QoE – Quality of Experience {srirama, chang, jaks}@ut.ee

Page 31: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Research Roadmap – IoT & Fog Computing

2/15/2018 Satish Srirama 31

Cloud

Core Network

Gateways

End points

Edge Nodes

Distributed data processing on the CloudE.g. MapReduce, Spark

Distributed data processing across the Cloud and Fog layersE.g. Personalized data, privacy etc.

Fog topology management and scheduling the tasksE.g. tasks run across the fog topology such as stream data processing, smart streetlights etc.

Edge analyticsE.g. filter, error detection, consolidation etc.

Intelligent sensorsE.g. vehicular networks

Fog

{srirama, chang, jaks}@ut.ee

Page 32: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

WE ALWAYS WELCOME NEW IDEAS!

email: [email protected]

?

2/15/2018

?

Satish Srirama 32

Page 33: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Seminar topics

• Listed at https://courses.cs.ut.ee/2018/mcsem/spring/Main/Topics

• Session 2 (22.02)– Second meeting to finalize the topics

• Selection of topics should finish by Mon., 25th Feb 2018– Email [email protected], and your topic supervisor

• Session 3 (01.03) - Presentation by students about their topics– 5 min per person - Backed by slides– A page of abstract about the selected project

2/15/2018 Satish Srirama 33/31

Page 34: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

THANK YOU

[email protected]

2/14/2014 Satish Srirama 34

Page 35: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

CloudML

• Deployment description of cloud based applications [REMICS]

– Developed to tame cloud heterogeneity

• DSL based on Java-based metamodel– Nodes, artefacts and bindings can be defined

• Different means to manipulate CloudML models– Programmatically via Java API– Declaratively, via serialized model (JSON)

• Models@Runtime– Dynamic deployment of CloudML based models

2/15/2018

{srirama, viil, jakovits}@ut.eeSatish Srirama 35/31

Page 36: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Migrating Scientific Workflows to the Cloud

• Scientific Workflows have lately become a standard – Used for managing and representing complicated scientific

computations

• Data and processes are brought together into a structured set of steps

• Each computation may contain thousands of tasks – Tasks are executed, in an order, on top of programs such as

Pegasus or Kepler

• A lot of data is exchanged across these tasks/jobs– So migrating scientific workflows to cloud is a trouble !!!

2/15/2018 Satish Srirama 36/31

Page 37: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Approach

• Problem: How to reduce the data exchange across tasks so that cloud can be exploited?

• Solution: Partitioning and scheduling scientific workflows– in such a way that it

increases the intra-instance communication while reducing inter-instance communication

Machine 1 Machine 2

2/15/2018 Satish Srirama 37/31

Page 38: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

The Overall Migration Process

• Can we partition and schedule enterprise applications/workflows in this model and join our auto-scale models?

• Refactoring enterprise applications for the cloud

2/15/2018

{srirama}@ut.ee

[Srirama & Viil, HPCC 2014]

Satish Srirama 38/31

Page 39: Mobile and Cloud Computing Seminar · 2018-02-15 · Research Roadmap –IoT& Fog Computing 2/15/2018 Satish Srirama 31 Cloud Core Network Gateways End points Edge Nodes Distributed

Fog Computing

Satish Srirama 39{srirama, chang}@ut.ee