23
Corso di Sistemi e Architetture per Big Data A.A. 2018/19 Valeria Cardellini Laurea Magistrale in Ingegneria Informatica Fog Computing Macroarea di Ingegneria Dipartimento di Ingegneria Civile e Ingegneria Informatica

Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Corso di Sistemi e Architetture per Big DataA.A. 2018/19

Valeria Cardellini

Laurea Magistrale in Ingegneria Informatica

Fog Computing

MacroareadiIngegneriaDipartimentodiIngegneriaCivileeIngegneriaInformatica

Page 2: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

The scenario• Connected devices are creating data at an

exponentially growing rate, which will drive performance and network congestion challenges at the edge of infrastructure

• Performance, security, bandwidth, reliability, and many other concerns that make cloud-only solutions impractical for many use cases

Valeria Cardellini - SABD 2018/19 1

Page 3: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

A possible solution

• Move information processing and intelligence at the logical edge of the networks (“the cloud close to the ground”): many micro data centers located at the network edge

Valeria Cardellini - SABD 2018/19 2

Page 4: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Fog Computing definitions

• “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between end devices and traditional Cloud Computing Data Centers, typically, but not exclusively located at the edge of network.” (Bonomi et al., 2012)

• “A horizontal, system-level architecture that distributes computing, storage, control and networking functions closer to the users along a cloud-to-thing continuum.” (OpenFog consortium, 2017)

Valeria Cardellini - SABD 2018/19 3

Page 5: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

What Fog is

• An extension of the traditional cloud-based computing model where implementations of the architecture can reside in multiple layers of a networks’ topology

• Preserves all the benefits of Cloud computing– Including containerization, virtualization,

orchestration, manageability, and efficiency • Allows to meet the latency and scalability

requirements of emerging latency-sensitive applications

Valeria Cardellini - SABD 2018/19 4

Page 6: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Fog opportunities

• Fog enables advanced internet of Things (IoT), 5G and artificial intelligence (AI) use cases

Valeria Cardellini - SABD 2018/19 5

Page 7: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

The SCALE advantages of Fog• Security: additional security to ensure safe, trusted

transactions – By reducing the distance that information needs to traverse

and by leveraging proximity-based authentication

• Cognition: awareness of client-centric objectives• Agility: rapid innovation and affordable scaling under

a common infrastructure • Latency: real-time processing and cyber-physical

system control • Efficiency: dynamic pooling of resources along the

cloud-to-thing continuum taking full advantage of the resources available along this continuum, including local unused resources from participating end-user devices

Valeria Cardellini - SABD 2018/19 6

Page 8: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Example: smart cities

Valeria Cardellini - SABD 2018/19 7

Page 9: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Example: smart cars and traffic control

• In 2016, the average person created around 650MB of data every day and more than double by 2020

• Smart autonomous cars will generate multiple terabytes of data every day from the combinations of light detection and ranging, global positioning systems, cameras, …

• A cloud-only model will not work for autonomous transportation!

Valeria Cardellini - SABD 2018/19 8

Page 10: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Example: smart cars and traffic control

Valeria Cardellini - SABD 2018/19 9

Page 11: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Other examples• Visual security and surveillance

– Require real-time, low latency, privacy

• Smart buildings– Require real-time, time-sensitive processing (e.g.,

fire suppression systems)• Smart energy

– Response time requirements, battery life constraints, bandwidth cost savings, as well as data safety and privacy

• Drones– Unlimited use cases in factory automation, remote

monitoring, video streaming, agriculture, environmental monitoring, command and control

Valeria Cardellini - SABD 2018/19 10

Page 12: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Fog vs. edge computing?

• The distinction between the two is not always clear– “For us, edge computing is interchangeable with fog

computing, but edge computing focuses more toward the things side, while fog computing focuses more on the infrastructure” (Shi et al. 2016)

• Some differences (according to OpenFog consortium):– Fog works with the cloud, whereas edge is defined by the

exclusion of cloud– Fog is hierarchical, where edge tends to be limited to a small

number of layers– In additional to computation, fog also addresses networking,

storage, control and acceleration

Valeria Cardellini - SABD 2018/19 11

Page 13: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

OpenFog consortium

Valeria Cardellini - SABD 2018/19 12

• Founded in 2015 to accelerate the adoption of fog computing and address bandwidth, latency and communications challenges associated with IoT, 5G and AI applications

• Joined at the of 2018 with Industrial Internet Consortium https://www.iiconsortium.org

Page 14: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Fog computing according to OpenFog

Valeria Cardellini - SABD 2018/19 13

Page 15: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

OpenFog Reference Architecture (RA)

• Developed by the OpenFog consortium– Released in February 2017

• Adopted as standard with IEEE 1934-2018• A structural and functional prescription of an

open, interoperable, horizontal system architecture for distributing computing, storage, control and networking functions closer to the users along a cloud-to-thing continuum of communicating, computing, sensing and actuating entities

Valeria Cardellini - SABD 2018/19 14

Page 16: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

OpenFog RA pillars

Valeria Cardellini - SABD 2018/19 15

Page 17: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

OpenFog RA pillars

• Security• Scalability

– Benefits from hierarchical properties of fog and its location at logical edges of networks

• Openness– Composability– Interoperability– Location transparency

• Autonomy– Autonomy of discovery– Autonomy of orchestration and management– Autonomy of operation– Cost savings

Valeria Cardellini - SABD 2018/19 16

Page 18: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

OpenFog RA pillars

• Programmability– Adaptive infrastructure– Resource efficient deployments – Multi-tenancy – Economical operations – Enhanced security

• Reliability, Availability, and Serviceability (RAS)– Recall the distinction between reliability and availability!– Serviceability (or maintainability): ability to install, configure,

and monitor a system; to identify exceptions or faults; and to repair the system

Valeria Cardellini - SABD 2018/19 17

Page 19: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

OpenFog RA pillars• Agility

– Addresses business operational decisions for an OpenFog RA deployment

• Hierarchy

Valeria Cardellini - SABD 2018/19 18

Page 20: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

An example of Fog architecture

Valeria Cardellini - SABD 2018/19 19

Source: Bonomi et al. “Fog Computing: A Platform for Internet of Things and Analytics”, 2014.

Page 21: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Some Fog computing systems and companies

• Cisco IOx: application environment to execute IoT applications in the fog with secure connectivity – Based on Cisco IOS and Linux

• Nebbiolo Technologies: fog computing platform for IoT

• StarlingX: open source edge computing and IoT cloud platform optimized for low latency and high performance application – Pilot project supported by OpenStack Foundation

• Apache Edgent: programming model and micro-kernel style runtime that can be embedded in gateways and small footprint edge devices

Valeria Cardellini - SABD 2018/19 20

Page 22: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

Fog computing and SABD course

• Fog computing: a future reference scenario for Big Data systems and architectures and data-intensive applications

• Current Big Data frameworks and tools present some limitations to efficiently operate in the Fog environment– A lot of opportunities!

Valeria Cardellini - SABD 2018/19 21

Page 23: Fog Computing - DAMON · 2019-06-19 · Fog Computing definitions • “Fog Computing is a highly virtualized platform that provides compute, storage, and networking services between

References

• Bonomi et al., Fog Computing: A Platform for Internet of Things and Analytics, in Big Data and Internet of Things: A Roadmap for Smart Environments, 2014.

• Dastjerdi and Buyya, Fog Computing: Helping the Internet of Things Realize Its Potential, IEEE Computer, 2016.

• Shi et al., Edge Computing: Vision and Challenges, IEEE Internet of Things J, 2016.

• Yousefpor et al., All one needs to know about fog computing and related edge computing paradigms: A complete survey, Journal of Systems Architecture, 2019

Valeria Cardellini - SABD 2018/19 22