Edge computing

On this page 7

Edge computing is a distributed computing model that places processing and storage close to the devices and users that produce or consume data, instead of sending everything to a distant centralized data center. Within cloud fundamentals, it extends the cloud outward: compute runs in factories, retail stores, cell towers, regional points of presence or on the devices themselves, while the central cloud keeps coordination, long-term storage and heavy analytics.

The main motivations are lower latency, reduced bandwidth costs, continued operation when connectivity fails and data locality for privacy or regulatory reasons. Edge computing is therefore not a replacement for cloud computing but a complementary tier in a larger architecture.

How edge computing distributes processing

Edge computing works by filtering, analyzing and acting on data at the nearest capable location, then sending only results, summaries or exceptions upstream. A camera that detects defects on a production line, for example, transmits a short alert rather than a continuous high-resolution video stream.

Most architectures describe a hierarchy of tiers, each with different latency, capacity and management characteristics. The table below outlines the common tiers.

TierLocationTypical latency to userTypical role
Device edgeSensors, phones, vehiclesUnder 1 msImmediate control, inference on chip
On-premises edgeFactory or store server rack1-5 msLocal aggregation, real-time analytics
Network edgeTelecom sites, 5G base stations5-20 msMulti-access edge computing services
Regional edgeCDN and provider points of presence10-40 msEdge functions, caching, API gateways
Central cloudHyperscale cloud region30-150 ms or moreTraining, archives, global coordination
Typical tiers in an edge architecture

These latency figures are indicative ranges; real values depend on distance, network quality and how much processing the request needs. The physical limit is the speed of light in fiber, roughly 1 ms of round trip per 100 km, which no amount of central computing power can overcome.

Edge computing compared with cloud and fog computing

Edge computing differs from centralized cloud computing in where work happens and who operates the hardware. Fog computing, a term promoted for the Internet of Things, describes the intermediate layer between devices and the cloud and is often treated as a subset or synonym of edge computing.

AspectEdge computingFog computingCentralized cloud
LocationAt or near the data sourceLocal network layerRemote data centers
LatencyLowestLowHighest
CapacityLimited per siteModerateEffectively elastic
ManagementMany dispersed sitesGateways and local nodesFew large regions
Typical workloadReal-time control, inferenceAggregation, protocol translationTraining, storage, batch analytics
Edge, fog and centralized cloud compared

The central cloud keeps the advantage of cloud elasticity: capacity can grow almost without limit. At the edge, capacity is fixed by the hardware installed on site, so workloads must be sized carefully and prioritized when resources run short.

Platforms and deployment models

Edge computing is delivered through several deployment models, from managed services run by cloud providers to fully self-operated hardware. Major providers extend their public cloud into customer sites and telecom networks, for example with Amazon Web Services Outposts and Wavelength, Microsoft Azure Stack Edge and Google Distributed Cloud.

  • Cloud-extended edge: provider hardware on premises, managed through the same console and APIs as the public cloud, which suits hybrid cloud strategies.
  • CDN edge platforms: lightweight functions or WebAssembly modules run at hundreds of points of presence for web personalization and request routing.
  • Telecom multi-access edge computing (MEC): compute inside the mobile network, standardized by ETSI, for low-latency mobile and 5G services.
  • Self-managed edge clusters: lightweight Kubernetes distributions such as K3s on small servers, giving full control at the cost of operational effort.

Orchestration across hundreds or thousands of sites is the hardest operational problem. Teams rely on GitOps-style declarative configuration, remote device management and staged rollouts so that a faulty update does not disable every location at once.

Choosing workloads for the edge

A workload belongs at the edge when latency, bandwidth, autonomy or data residency outweigh the simplicity of central processing. When none of these pressures applies, the central cloud is usually cheaper and easier to operate.

SituationPlacementReason
Robot or machine control loopDevice or on-premises edgeMillisecond response required
Video analytics from many camerasOn-premises edgeRaw video too costly to upload
Retail store with unreliable linkOn-premises edgeSales must continue offline
Website personalizationRegional CDN edgeFast responses near global users
Machine learning model trainingCentral cloudNeeds large elastic GPU capacity
Monthly financial reportingCentral cloudNo latency sensitivity
Decision guide for edge placement

A common pattern is train in the cloud, infer at the edge: models are trained centrally on aggregated data and then deployed to edge nodes, which return performance metrics and selected samples for the next training cycle.

Risks and limitations of edge deployments

Edge computing trades centralized simplicity for distributed complexity. Each site is a small data center with its own power, cooling, hardware failures and security exposure, often without trained staff nearby.

  • Larger attack surface: physically accessible devices need secure boot, disk encryption and hardware-backed identity.
  • Patch and version drift: sites that miss updates fall out of compliance and become hard to support.
  • Data consistency: offline sites must reconcile changes with the central system, which requires conflict-resolution rules.
  • Underused hardware: capacity sized for peak load sits idle most of the time, raising the total cost of ownership.
  • Observability gaps: logs and metrics from thousands of nodes must be collected without saturating constrained links.

A frequent misconception is that edge computing automatically improves privacy. Keeping data local helps, but only when access control, encryption and retention policies are enforced on every node as strictly as in the central cloud.

The idea in brief

Edge computing means doing the thinking close to where things happen instead of sending every piece of information to a faraway computer center. It is like a local branch office that handles everyday decisions on its own and only reports important matters to headquarters.

This makes responses faster, saves on internet traffic and keeps things running when the connection drops. The price is that many small sites must be looked after instead of one large one.

A practical scenario

A food packaging plant runs 24 high-speed cameras that inspect seals on a line producing several hundred packages per minute. Streaming all video to a cloud region would require hundreds of megabits per second and would add too much delay to reject faulty packages before they leave the conveyor.

The plant installs two GPU-equipped edge servers in its server room. A defect-detection model, trained in the central cloud, runs locally and signals a rejection gate within about 20 milliseconds. Only defect images and hourly statistics are uploaded to the cloud, where engineers retrain the model each month and push new versions through a staged rollout.

The result is upload traffic reduced by more than 95 percent, inspection that continues during internet outages and a measurable drop in faulty packages reaching customers.