• Cogent DataHub
  • Industrial
    • Industrial AI
    • Industrial IoT
      • Edge Computing
      • DHTP – The DataHub Transfer Protocol
      • IIoT Protocol Comparison
      • Demo
    • Cogent DataHub
    • Security
    • DataHub™ Service
    • ETK – Embedded Toolkit
      • IoT Gateways
      • Tested Devices
  • Case Studies
    • Blog
    • White Papers
    • News
  • Partners
    • Microsoft
    • Siemens
    • AVEVA
    • Join Now!
  • Investors
    • Financials
  • About Us
    • Management
    • Customers
    • Careers
    • Legal Notices
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

Cloud, Edge, and Fog Processing

by Andrew Thomas
Part 13 of Data Communication for Industrial IoT

With the huge number of devices comprising the IoT, we can imagine a looming problem with processing power.  If a user wants to perform some logic specific to a device, he usually has two choices: perform that logic in a cloud application, or perform that processing directly on the device (edge processing).  There are clearly advantages to both strategies.

Cloud

Moving complex logic to the cloud means that the device can be made with lower power requirements and less expensive parts.  The device just needs to be able to read raw values from transducers or A/D converters and transmit them using a low-level protocol like Modbus.  The cloud application can decode the raw data, apply scaling, deadbands, alerts and closed-loop control.  Since you should have no direct access to the device (see Access the Data, not the Device), you may not be able to change the logic at the device.  Placing processing in the cloud lets you modify your system logic without endangering device security.  In addition, cloud applications let you write logic that uses information from multiple devices, since all of the device information is available at the cloud server.

On the other hand, placing logic in the cloud means that the device is dumb.  If the network connection is lost, the device can do nothing but collect data.  If the logic in the cloud is important to the operation of the device or the system in which it is running then the system is effectively crippled until the connection is re-established (see The Cloud is Good, Except when it Isn’t—coming next).  In many instances, particularly in industrial systems, this is simply not acceptable.

In addition, placing logic in the cloud presents a scaling issue.  If the cloud server must handle a few data change events for a handful of data items, no problem.  If it must handle millions of data changes for hundreds of thousands of data items, which is more in line with industrial processes, then the simple availability of CPU, memory and network bandwidth become an issue.  The devices already have a certain amount of processing capability on them, so why not use it reduce the load at the server?

Edge

It is easy to see how the device can perform computations like engineering unit conversion, simple alarm generation, and even some closed-loop control before ever transmitting its information to the cloud.  With a little more power on the device it could, for example, read an image from a camera, analyze it for a production error and then send only an indication of whether the image contains an error to the cloud.  Instead of transmitting 100 KB of image, it can send a few bytes of result.

In addition to reducing network bandwidth, this approach also improves response time for closed-loop control.  The latency of data arriving at the device from the physical system can be a few milliseconds.  The device can process the data and determine a response within microseconds, resulting in an event-to-response time of just a few milliseconds.  Compare this to the latencies typical of Internet round-trip times, and it’s clear that edge processing for device control can save two orders of magnitude in response time.  The difference between 2 milliseconds and 200 may not always matter, but in industrial applications it is commonly a consideration.

Fog

There is, commonly, a third option between the edge and cloud—fog.  In industrial applications it is rare, and usually undesirable, to have plant-floor equipment connect directly to the cloud.  It is far more likely that devices and equipment connect first to a local aggregator or gateway.  Even in home automation applications the devices usually talk to a gateway rather than directly to a cloud server.  Processing at the gateway or concentrator is called fog processing.

The purpose of the gateway is to collect information from multiple devices using their native protocols and to convert that information to a form suitable for transmission to a cloud service.  In industrial applications these protocols are typically standards like Modbus, Profibus, Ethernet/IP, or OPC.  In home automation you might see something like ECHONET Lite.  The communication from the gateway to the cloud is determined by the cloud service, and may bear no resemblance to the device protocol.  In essence, the gateway acts as a collection point between the devices and the cloud service.

There is no reason why the gateway cannot perform fog processing on the device data before sending it to the cloud.  In fact, since the gateway is likely to have far more computing power than the edge devices, it often makes sense to perform complex tasks there instead of at the device itself.  Latencies are low, since the device and gateway share a local connection, whether it is Ethernet, WiFi, Zigbee or some other short-range network.  Response times for fog processing are higher than for edge processing, but the difference is now a few milliseconds, not tens or hundreds of milliseconds as it would be with cloud processing.

For larger systems, there is even a fourth option—a hybrid cloud—which I will touch on later.

Continue reading, or go back to Table of Contents

Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share by Mail
https://skkynet.com/media/2017/08/TechTalks-IIoTDataComms-13.jpg 430 1000 Andrew Thomas https://skkynet.com/media/skkynet-logo.svg Andrew Thomas2017-08-14 12:11:042020-11-11 15:46:19Cloud, Edge, and Fog Processing

Data Communication for Industrial IoT

How the IoT can be used for industrial data communication without compromising mission-critical standards for security and robust performance.
– See all topics

Real-time IIoT demo
  • Wood processing plant case study - banner
    Case Study: Wood Processing Plant in North America
  • case-study-heritage-petroleum
    Case Study: Heritage Petroleum, Trinidad and Tobago
  • wind-turbine-control-usa
    Case Study: Wind Turbine Control, USA
X Logo X Logo Followon X RSS Feed Logo RSS Feed Logo Subscribeto RSS Feed
About Us Icon white

About Us

Skkynet has been helping organizations securely share real-time data for more than 25 years. We offer privately-hosted or fully managed solutions for moving data in industrial, embedded and financial systems, from anywhere to anywhere.

News

June 18, 2026

Skkynet Reports Q2 FY2026 Financial Results

January 28, 2026

Skkynet Reports Fiscal 2025 Financial Results: Subscription Revenue Surges 268% Amidst Strategic Pivot to AI and SaaS

December 18, 2025

Skkynet Announces C$2.6 Million Industrial AI Product Development Initiative

December 16, 2025

Skkynet Appoints M&A and Software Executive Shaunna Balady to Advisory Board

Contact us icon white

Contact Us

Skkynet
2233 Argentia Road, Suite 302
Mississauga, ON L5N 2X7

International: 1-905-702-7851

US/CA Toll Free: 1-888-702-7851

[email protected]

Skkynet logo white

Cogent DataHub | Industrial | Case Studies | Partners | Investors | About us

Back to Top

linkedIn logotwitter logoyoutube logo

© 2026 Skkynet | All rights reserved | Legal notices
Link to: What is Edge Processing anyway? Link to: What is Edge Processing anyway? What is Edge Processing anyway? Link to: The cloud is good, except when it’s not. Link to: The cloud is good, except when it’s not. The cloud is good, except when it’s not.
Scroll to top Scroll to top Scroll to top

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Skkynet logo
Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

3rd Party Cookies

This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

Cookie Policy

More information about our Cookie Policy