Cover Page

Fog and Edge Computing

Principles and Paradigms

Edited by Rajkumar Buyya and Satish Narayana Srirama

Wiley Logo

List of Contributors

Zoltán Ádám Mann

University of Duisburg‐Essen

Germany

e‐mail: zoltan.mann@gmail.com

Edison Albuquerque

Universidade de Pernambuco

Brazil

e‐mail: edison@ecomp.poli.br

Mohammad Saad Alam

Aligarh Muslim University

India

e‐mail: saad.alam@zhcet.ac.in

Ahmet Cihat Baktir

Bogazici University

Turkey

e‐mail: cihatbaktir@gmail.com

Ayan Banerjee

Arizona State University

USA

e‐mail: abanerj3@asu.edu

M. M. Sufyan Beg

Aligarh Muslim University

India

e‐mail: mmsbeg@cs.berkely.edu

Antonio Brogi

University of Pisa

Italy

e‐mail: brogi@di.unipi.it

Rajkumar Buyya

University of Melbourne

Australia

e‐mail: rbuyya@unimelb.edu.au

Vinaya Chakati

Arizona State University

USA

e‐mail: vchakati@asu.edu

Chii Chang

University of Tartu

Estonia

e‐mail: chang@ut.ee

Priyanka Chawla

Lovely Professional University

India

e‐mail: priyankamatrix@gmail.com

Rohit Chawla

Apeejay College

India

e‐mail: rc.j2ee@gmail.com

Yu Chen

Binghamton University

USA

e‐mail: ychen@binghamton.edu

Qinghua Chi

University of Melbourne

Australia

e‐mail: chiqinghua@huawei.com

Nabil El Ioini

Free University of Bozen‐Bolzano

Italy

e‐mail: nelioini@unibz.it

Patricia Takako Endo

Universidade de Pernambuco

Dublin City University

Ireland

e‐mail: patricia.endo@upe.br

Cem Ersoy

Bogazici University

Turkey

e‐mail: ersoy@boun.edu.tr

Leylane Ferreira

Universidade Federal de Pernambuco

Brazil

e‐mail: leylane.silva@gprt.ufpe.br

Matheus Ferreira

Universidade de Pernambuco

Brazil

e‐mail: matheus0906.mhci@gmail.com

Stefano Forti

University of Pisa

Italy

e‐mail: stefano.forti@di.unipi.it

Tuan Nguyen Gia

University of Turku

Finland

e‐mail: tuan.nguyengia@utu.fi

Sandeep Kumar S. Gupta

Arizona State University

USA

e‐mail: sandeep.gupta@asu.edu

Sven Helmer

Free University of Bozen‐Bolzano

Italy

e‐mail: shelmer@inf.unibz.it

M. Muzakkir Hussain

Aligarh Muslim University

India

e‐mail: md.muzakkirhussain@zhcet.ac.in

Ahmad Ibrahim

University of Pisa

Italy

e‐mail: ahmad@di.unipi.it

Bahman Javadi

Western Sydney University

Australia

e‐mail: b.javadi@westernsydney.edu.au

Mingzhe Jiang

University of Turku

Finland

e‐mail: mizhji@utu.fi

Judith Kelner

Universidade Federal de Pernambuco

Brazil

e‐mail: jk@gprt.ufpe.br

Attila Kertesz

University of Szeged

Hungary

e‐mail: keratt@inf.u‐szeged.hu

Theo Lynn

Dublin City University

Ireland

e‐mail: theo.lynn@dcu.ie

Aniket Mahanti

University of Auckland

New Zealand

e‐mail: a.mahanti@auckland.ac.nz

Redowan Mahmud

University of Melbourne

Australia

e‐mail: mahmudm@student.unimelb.edu.au

Farhad Mehdipour

New Zealand School of Education and STEM Fern Ltd.

Auckland

New Zealand

e‐mail: farhadm@nzseg.com

Lorenzo Miori

Free University of Bozen‐Bolzano

Italy

e‐mail: memorys60@gmail.com

Melody Moh

San Jose State University

USA

e‐mail: melody.moh@sjsu.edu

Seyed Yahya Nikouei

Binghamton University

USA

e‐mail: snikoue1@binghamton.edu

Tina Samizadeh Nikoui

Islamic Azad University

Iran

e‐mail: tina.samizadeh@srbiau.ac.ir

Atay Ozgovde

Galatasaray University

Turkey

e‐mail: atay.ozgovde@gmail.com

Claus Pahl

Free University of Bozen‐Bolzano

Italy

e‐mail: cpahl@unibz.it

Madhurima Pore

Arizona State University

USA

e‐mail: mpore@asu.edu

Amir Masoud Rahmani

Islamic Azad University & University of Human Development

Iran

e‐mail: rahmani@srbiau.ac.ir

Robinson Raju

San Jose State University

USA

e‐mail: robinson.raju@sjsu.edu

Guillermo Ramirez‐Prado

Unitec Institute of Technology

Auckland

New Zealand

e‐mail: gprado@unitec.ac.nz

Djamel Sadok

Universidade Federal de Pernambuco

Brazil

e‐mail: jamel@gprt.ufpe.br

Julian Sanin

Free University of Bozen‐Bolzano

Italy

e‐mail: Julian.Sanin@stud‐inf.unibz.it

Guto Leoni Santos

Universidade Federal de Pernambuco

Brazil

e‐mail: guto.leoni@gprt.ufpe.br

Cagatay Sonmez

Bogazici University

Turkey

e‐mail: cagataysonmez@hotmail.com

Satish Narayana Srirama

University of Tartu

Estonia

e‐mail: srirama@ut.ee

Hooman Tabarsaied

Islamic Azad University

Iran

e‐mail: h.tabarsaied@yahoo.com

Adel Nadjaran Toosi

University of Melbourne

Australia

e‐mail: adel.nadjaran@unimelb.edu.au

Sz. Varadi

University of Szeged

Hungary

e‐mail: varadiszilvia@juris.u‐szeged.hu

Blesson Varghese

Queen's University Belfast

UK

e‐mail: B.Varghese@qub.ac.uk

G. Gultekin Varkonyi

University of Szeged

Hungary

e‐mail: gizemgv@juris.u‐szeged.hu

David von Leon

Free University of Bozen‐Bolzano

Italy

e‐mail: david@davole.com

Ronghua Xu

Binghamton University

USA

e‐mail: rxu22@binghamton.edu


Preface

The Internet of Things (IoT) paradigm promises to make “things” such as physical objects with sensing capabilities and/or attached with tags, mobile objects such as smart phones and vehicles, consumer electronic devices, and home appliances such as refrigerators, televisions, and healthcare devices as part of the Internet environment. In cloud‐centric IoT (CIoT) applications, the sensor data from these “things” is extracted, accumulated, and processed at the public/private clouds, leading to significant latencies. Fog computing addresses this issue in developing real‐time IoT applications, by mainly utilizing proximity‐based computational resources across the IoT layers such as gateways, cloudlets, and network switches/routers. A similar approach of utilizing proximity resources in the telecommunication domain is mobile edge computing.

To realize the full potential of fog and edge computing and similar paradigms, researchers and practitioners need to address several challenges and develop suitable conceptual and technological solutions for tackling them. These include development of scalable architectures, moving from closed systems to open systems, dealing with privacy and ethical issues involved in data sensing, storage, processing, and actions, designing interaction protocols, and autonomic management.

The primary purpose of this book is to capture the state‐of‐the‐art in fog and edge computing, their applications, architectures, and technologies. The book also aims to identify potential research directions and technologies that will facilitate insight generation in various domains from smart home, smart cities, science, industry, business, and consumer applications. We expect the book to serve as a reference for larger audiences such as system architects, practitioners, developers, new researchers, and graduate‐level students. This book also comes with an associated website (hosted at http://cloudbus.org/fog/book/) containing pointers to advanced on‐line resources.

Organization of the Book

This book contains chapters authored by several leading experts in the fields of IoT, cloud, and fog computing. The book is presented in a coordinated and integrated manner, starting with the fundamentals and followed by the middleware and technological solutions to implement fog and edge‐related applications.

The contents of the book are organized into three parts:

  1. Foundations
  2. Middlewares
  3. Applications and Issues

Part I focuses on Foundations and is made up of five chapters. The first chapter, “Internet of Things (IoT) and New Computing Paradigms,” discusses the IoT paradigm along with CIoT limitations. The relevant technologies and new computing paradigms that address these limitations such as fog computing, edge computing and mist computing, are discussed along with their main advantages and basic mechanisms. The hierarchy of fog and edge computing environments is discussed, and the opportunities and challenges offered by fog and edge computing are discussed thoroughly. The challenges along with their future research directions are further structured into networking, management, and resource and modeling challenges, in Chapter 2, “Addressing the Challenges in Federating Edge Resources.” The use of modelling techniques and the relevant literature to represent and evaluate an integrated cloud‐to‐things system comprising cloud computing, fog computing, and the IoT is reviewed in Chapter 3, “Integrating IoT + Fog + Cloud Infrastructures: System Modeling and Research Challenges.” The state‐of‐the‐art literature on network slicing in 5G, edge/fog, and cloud computing is reviewed in Chapter 4, “Management and Orchestration of Network Slices in 5G, Fog, Edge, and Clouds.” Part I concludes with a discussion of generic conceptual framework for optimization problems in fog computing, based on consistent, well‐defined, and formalized notation for constraints and optimization objectives, in Chapter 5, “Optimization Problems in Fog and Edge Computing.

Part II focuses on Middlewares and is made up of five chapters. Chapter 6, “Middleware for Fog and Edge Computing: Design Issues,” discusses different aspects of the design of middleware for Fog and Edge computing along with a proposed architecture. Chapter 7, “A Lightweight Container Middleware for Edge Cloud Architectures,” discusses the core principles of an edge cloud reference architecture that is based on containers as the packaging and distribution mechanism. The chapter also provides experimental results with Raspberry Pi clusters to validate the proposed architectural solution. Chapter 8, “Data Management in Fog Computing,” proposes the conceptual architecture for the data management in fog computing environments. The chapter also provides a review of the fog data management, along with future research directions. Chapter 9, “Predictive Analysis to Support Fog Application Deployment,” discusses FogTorchΠ prototype that supports application deployment in the fog. The prototype permits expression of processing capabilities, predicts QoS attributes, and estimates operational costs of a fog infrastructure, along with processing and QoS requirements of an application. Chapter 10, “Using Machine Learning for Protecting the Security and Privacy of Internet of Things (IoT) Systems,” reviews the machine learning (ML) techniques for defending IoT devices, along with a discussion on scope of ML in fog computing.

Part III focuses on Applications and relevant issues and is made up of seven chapters. Chapter 11, “Fog Computing Realization for Big Data Analytics,” discusses a fog‐engine prototype that can be deployed in the traditional centralized data analytics platform to realize the data analytics in the fog environment. Smart home and smart nutrition monitoring system case studies are provided, which conceptually utilize the fog‐engine. Chapter 12, “Exploiting Fog Computing in Health Monitoring,” discussed fog computing services in smart e‐health gateways. The proposed system is implemented and evaluated with a remote ECG (electrocardiogram) monitoring case study. Chapter 13 discussed “Smart Surveillance Video Stream Processing at the Edge for Real‐Time Human Objects Tracking.” The computations and algorithms used at the fog and edge levels to create such automated surveillance system are discussed and compared. Chapter 14, “Fog Computing Model for Evolving Smart Transportation Applications,” identified the computing needs of the data‐driven transportation architecture and devised a fog‐assisted cloud‐based computational platform for smart transportation applications, in the context of intelligent traffic management system (ITSM) use case. Chapter 15 discussed and reviewed “Testing Perspectives of Fog‐Based IoT Applications,” in the smart home, smart health, and smart transport domains. Chapter 16, “Legal Aspects of Operating IoT Applications in the Fog,” classified fog/edge/IoT applications, analyzed the latest restrictions introduced by the General Data Protection Regulation (GDPR), and discussed how these legal constraints affect the design and operation of IoT applications in fog and cloud environments. Another critical issue related to fog application development is that it is very costly due to the fact that the fog computing environment incorporates IoT devices, fog nodes, and cloud datacenters, along with a huge amount of IoT data. To address this, Chapter 17 discussed “Modeling and Simulation of Fog and Edge Computing Environments Using iFogSim Toolkit.” iFogSim simulator components are discussed and installation details are provided, along with detailed guidelines to model the fog environment.

Acknowledgments

First and foremost, we are grateful to all the contributing authors for their time, effort, and understanding during the preparation of the book.

We thank Albert Zomaya, editor of Wiley book series on parallel and distributed computing, for his enthusiastic support, enabling us to easily navigate through Wiley's publication process.

Raj would like to thank his family members, especially Smrithi, Soumya, and Radha Buyya, for their love, understanding, and support during the preparation of the book. Satish would like to thank his wife, Gayatri, and parents (S. Lakshminarayana and Lolakshi) for their love and support and his new born daughter, Meghana, for the pleasantness she brought into the family.

Finally, we would like to thank the staff at Wiley, particularly Brett Kurzman (senior editor) and Victoria Bradshaw (editorial assistant). They were wonderful to work with!

Rajkumar Buyya

The University of Melbourne and Manjrasoft Pty Ltd, Australia

Satish Narayana Srirama

The University of Tartu, Estonia

Part I
Foundations