Is Now the Time to Apply Fog Computing to the Internet of Things?

By Special Guest
Dr. Vladimir Krylov, Big Data and Machine Learning Technologies Consultant for Artezio
September 13, 2016

Fog computing, a term originally introduced by Cisco, at first seemed like the exotic idea of a company that was in constant search of new product applications. But the term has become the basis for network solutions, including in IoT. The main idea of fog computing architecture is to distribute data processing and operation procedures over various devices that are connected via the Internet to the cloud (i.e. a virtualized computing environment), as well as to many other devices located in the network. 

One of the key features of fog computing is a vertical distribution of functions by layers that extend from sensors, then in the fog, and, finally, in the cloud depending on the processing latency. This architecture implements high-latency (days to months) enterprise operations in the cloud, whereas technical operations with low latency (milliseconds to hours), starting from high speed to transactional analytics, are realized in fog nodes. Patterns and rules for machine learning algorithms are formed in the cloud, then they move to the fog for quick implementation.

The proposed architecture has not been fully realized yet. Looking at the most known IoT platforms (MS Azure IoT Suite, IBM Watson IoT Platform, and ThingWorx IoT Platform), we can see that their architecture maintains the structure connected to the high-performance platform of dataflow processing via gateways. And probably only Cisco offers a tool, known as Fog Director, that is capable of managing large production deployments based on their unique platform – IOx-enabled fog applications.

In this article, we will analyze several key factors of fog architecture and its benefits for end users.

Factor #1 - the calculating capacity of a fully distributed system.
The possibility of implementing each function in the IoT system determines the minimum amount of capacity required. The generic architecture distributes the general latency in a way that devices generate data with the required capacity and transmit it to gateways of the processing system. Thus, the required calculating capacity is ensured in this system. Such systems are usually based on scalable Big Data technologies, such as Hadoop distributed file system, Apache Kafka, a message broker, and focus on complex and effective dataflow processing of the Apache Storm and Apache Spark platforms. Users are normally offered this kind of solution in IoT cloud services.  

With fog computing, latency is minimized if one uses fog nodes for data analysis without sending it to the cloud. All event aggregation in this case has to be performed in the distributed architecture deployed in the network where devices (sensors) and fog nodes are located. Thus, fog architecture moves the capacity question from the cloud to the network implementation.

If decision-making requires co-operative processing of data from all sensors, we need to build a cluster that has the same productivity as the centralized solution. However, it should be based on the available computing resources of the network, including a sensor network. If the bandwidth remains the same, the capacity of each node is low, and it is required to use more nodes, then the general latency of the distributed system will be defined by Amdahl's law. We have an important result – fog computing can improve a performance indicator of an IoT system only if processing can be distributed to a large number of slow computers in a low-speed network. 

Factor #2 - cost.
The advantage of the fog architecture can be evaluated by comparing deployment costs of a high-performance centralized processing platform with the costs of fog nodes implementation. The total cost will include the cost of a software platform of the distributed computation implementation in such a cluster. The use of virtualization assumes that hypervisors will enable an effective use of calculator resources in all fog nodes. It is worth noting that the deployment cost of such distributed heterogeneous systems interconnected via the Internet can be high and, thus, make the use of the fog architecture ineffective.

Factor #3 - system safety.

When building an IoT classic architecture, an IoT gateway is critical for malicious data injection. Gateways can be protected in the same way as classic websites. These protection methods help manage vulnerability including fast hopping of IP addresses – IP Fast Hopping Protocol. It allows interaction between legitimate participants of this exchange only. In the fog architecture, the processing unit is open in the network by all node interfaces. If data processing involves thousands of devices, all of them should have safe connections in terms of malicious data use, i.e. fog nodes have to be integrated by a safe overlay network, not by TCP/IP links. Given the requirement to provide guaranteed low latency, a solution to this issue has not been found yet. Thus, until this solution is found, the safety of systems with the fog architecture will remain doubtful.

About the Author: Dr. Vladimir Krylov is the Big Data and Machine Learning Technologies Consultant for Artezio, and the former Head of Big Data Technologies Lab of Nizhny Novgorod State Technical University. Krylov is a member of the the Russian Academy of Engineering, IEEE, ACM and Communication Society, Study Group SG17 ITU-T. 

Edited by Ken Briodagh

Related Articles

ZEDEDA Brings Edge Orchestration Solutions to the PTC Partner Network as part of the ThingWorx Ready Program

By: Matthew Vulpis    11/9/2021

ZEDEDA, a leader in orchestration for the distributed edge, announced it joined the PTC Partner Network as part of the ThingWorx Ready program.

Read More

Defining the Edge and Optimizing Ecosystem Growth with Open Edge Orchestration

By: Matthew Vulpis    11/8/2021

While the quarantine highlighted new ways edge computing provides value, the recent introduction of various devices and applications, such as 5G, IoT,…

Read More

As Microsoft Azure Continues To Push Further Into the Edge, Certified Devices Become Increasingly Important

By: Arti Loftus    10/26/2021

Veea Inc., an innovation leader in integrated smart edge connectivity and computing, today announced it is partnering with Codit France, an innovative…

Read More

IoT Evolution World Announces Winners of the 2021 IoT Edge Computing Excellence Awards

By: TMCnet News    10/15/2021

IoT Evolution World magazine announced today the recipients of their 2021 IoT Edge Computing Excellence Awards. This award recognizes the companies em…

Read More

Open To New Opportunities, Linux Foundation's LF Edge Expands Open Source Edge Project

By: Arti Loftus    10/12/2021

In a few short years, LF Edge, which is an umbrella organization within the constantly expanding Linux Foundation, has made significant strides in add…

Read More