Edge computing and fog computing defined
Edge computing means processing data as close as possible to where it is created: inside a smart camera, on a computer bolted to a machine, or in a gateway in the same cabinet as the sensors. Fog computing describes a layer above that, made of local servers, gateways and network nodes that sit between many edge devices and the cloud, usually on the same site or local network.
The term fog computing was introduced by Cisco researchers in 2012 to describe a cloud brought down close to the ground. The OpenFog Consortium, founded in 2015, produced a reference architecture that was adopted as IEEE 1934 in 2018, and NIST published a fog computing conceptual model, SP 500-325, the same year. Edge computing is the older and wider term, and the one most vendors now use for both layers.
So the difference is mainly one of position and scope. Edge works on one device’s data. Fog works across many devices and coordinates what goes to the cloud.
How data moves through edge, fog and cloud
A three-layer system splits the work by how quickly a decision is needed and how much data each layer can afford to handle.
-
//
Edge layer. Sensors, cameras and controllers with an embedded computer beside them. It reacts in milliseconds, for example rejecting a faulty part or stopping a conveyor.
-
//
Fog layer. One or more servers or gateways on the site network. It gathers data from many edge nodes, stores recent history, runs site-wide analytics and dashboards, and keeps the site working if the internet link drops.
-
//
Cloud layer. Remote data centres that hold long-term data, compare sites, train AI models and serve business applications.
Fog vs edge vs cloud compared
In real deployments the layers overlap, but the typical differences are clear.
| Aspect | Edge computing | Fog computing | Cloud computing |
|---|---|---|---|
| Where it runs | On or beside the device | On the site or local network, between edge and cloud | Remote data centres |
| Data it sees | One device or machine | Many edge devices across a site or area | Many sites and the whole business |
| Typical latency | Milliseconds | Milliseconds to seconds | Tens of milliseconds to seconds, depending on the link |
| Main jobs | Real-time control, inference, filtering | Aggregation, site analytics, buffering, orchestration | Storage, fleet analytics, model training |
| Without internet | Keeps working | Keeps the site working | Unavailable to the site |
| Typical hardware | Fanless embedded PCs, gateways, edge AI computers | Edge servers, rack servers, larger gateways | Data centre servers |
A fog layer earns its place when a site has many edge devices producing more data than the internet link can carry, when decisions need data from several machines at once, or when the site must keep running through an outage. Its costs are more hardware on site, another layer to patch and secure, and the skills to manage it. Small deployments often skip it and send edge results straight to the cloud.
Fog and edge computing examples
A factory shows how the layers fit together. Each production line has an edge computer running vision inspection and reading its PLC, deciding pass or fail in milliseconds. A fog server in the plant room collects results and machine data from every line, runs the site’s dashboards and maintenance alerts, and holds a week of history. Once an hour it sends summaries to the cloud, where the company compares plants and retrains its inspection models.
Smart city systems, among the most common fog computing applications, follow the same shape. Cameras at junctions count vehicles and detect incidents at the edge, a roadside or district server coordinates signal timing across a corridor, and the cloud plans the network. Oil and gas fields, wind farms and rail depots use the fog layer to keep working through slow or intermittent links.
The edge layer is where edge AI usually runs, because inference needs the raw images or signals before they are reduced.
Is fog computing still used?
The architecture is widely used; the name less so. Most vendors and standards groups now describe the same layers as the device edge, the on-premises edge and the cloud, and the OpenFog Consortium merged into the Industrial Internet Consortium in 2019. When someone specifies an on-premises edge server that aggregates many devices, they are describing a fog node. In the USA and the US alike, buyers more often search for edge computing, while fog still appears in research, telecoms and smart city work.
The hardware follows the layer. At the device edge, embedded PCs and industrial IoT gateways sit in cabinets and on machines. At the fog layer, edge AI servers and short-depth rack servers sit in plant rooms and comms rooms. Our guide to AMD EPYC Embedded for edge servers covers the processor options at that layer.
Quick answers on fog and edge computing
Fog computing vs edge computing: common questions
What is fog computing?
A computing layer between edge devices and the cloud. Local servers and gateways collect, filter and analyze data from many edge devices on a site before sending the useful part to the cloud.
Is fog computing the same as edge computing?
No, but they overlap. Edge computing happens on or beside one device. Fog computing coordinates many edge devices from a site-level layer. Many people now call both edge computing.
What is the difference between fog computing and cloud computing?
Location and response time. Fog runs on the local network, so it answers quickly and keeps working without internet. Cloud runs in remote data centres, which suit long-term storage and large-scale analysis.
Can the same hardware be used for edge and fog?
Often, yes. A capable industrial computer can act as an edge node on a machine or as a small fog node for a line. Larger sites usually move the fog role to servers with more storage, memory and redundancy.
Who coined the term fog computing?
Cisco researchers, in 2012. The idea was a cloud brought close to the ground, near the devices it serves.
We supply and integrate edge computers and edge servers as standard, with the storage, networking and operating system each layer needs prepared before the systems ship.