All guides
Home Glossary Edge computing
Term

Edge computing

A distributed computing paradigm that brings computation and data storage closer to the sources of data to improve response times and save bandwidth.

Edge computing is a distributed computing paradigm that brings computation and data storage closer to the sources of data to improve response times and save bandwidth. By processing client data at the network periphery rather than routing every request to a distant centralized data center, it minimizes long-distance network round trips. This architecture is essential for workloads that require immediate local decisions or generate continuous streams of raw telemetry.

How it works

An edge deployment typically spans three tiers: end devices (such as sensors, cameras, or user browsers), local edge nodes or gateways, and a central cloud core. Instead of streaming raw data across the internet, end devices transmit data over a local network to a nearby edge server or CDN point of presence (PoP).

The edge node ingests, filters, and normalizes this data locally, running inference or business logic on-site. Only aggregated summaries, anomalies, or long-term state changes are forwarded upstream to the central cloud. This design prevents upstream network congestion, protects sensitive data by keeping it within local jurisdiction, and allows time-critical applications to keep operating during internet connectivity drops.

  • Predictive maintenance: Analyzing industrial vibration or temperature sensor streams on-site to shut down equipment before mechanical failure occurs.
  • Smart cities: Processing local intersection camera feeds directly at roadside gateways to adjust traffic signal timing in real time.
  • Retail analytics: Running computer vision models on local store servers to track foot traffic and shelf inventory without uploading raw video feeds.

Example

In web hosting, edge functions intercept HTTP requests at a global CDN node to rewrite headers, validate tokens, or route traffic before hitting an origin server. A lightweight edge worker script handling geo-routing looks like this:

export default {
  async fetch(request) {
    const country = request.headers.get("CF-IPCountry") || "US";
    if (country === "DE" || country === "FR") {
      return Response.redirect("https://eu.example.com", 302);
    }
    return fetch(request);
  }
};

For on-premises infrastructure, DevOps teams commonly deploy lightweight Kubernetes distributions like K3s or runtimes such as Azure IoT Edge on ruggedized gateways to orchestrate containerized workloads at remote sites.

What matters when choosing a server or hosting

  • Point of presence (PoP) density: For user-facing web applications, choose a provider with edge locations geographically close to your actual user base rather than relying solely on total global location counts.
  • Runtime limits and cold starts: Serverless edge platforms enforce strict CPU execution time, memory ceilings, and bundle size caps; verify that your dependencies fit within V8 isolate or WebAssembly constraints.
  • State and data locality: Compute at the edge still suffers high latency if every request must query a single centralized database. Pair edge compute with distributed key-value stores or read replicas.
  • Hardware resilience and remote management: For physical on-site edge servers, prioritize fanless thermal designs, local storage redundancy, and automated over-the-air (OTA) fleet updates.

Common mistakes

  • Chatty origin round trips: Moving API routing to the edge while leaving database queries in a single cloud region often increases total latency due to multiple cross-region hops per request.
  • Deploying heavy monoliths to edge isolates: Attempting to run full Node.js frameworks or large ORM libraries inside constrained edge runtimes leads to out-of-memory errors and deployment failures.
  • Neglecting offline fallback behavior: Assuming an on-premises gateway always has upstream connectivity causes local queues to overflow when the WAN link drops.

FAQ

How is edge computing different from a traditional CDN?

A traditional Content Delivery Network (CDN) caches static files like images, CSS, and video closer to users. Edge computing extends those same distributed locations with programmable compute, allowing servers to execute custom code, authenticate users, and transform data dynamically.

Does edge computing replace cloud computing?

No, it complements the cloud. Edge nodes handle time-sensitive filtering and local execution, while centralized cloud data centers remain responsible for heavy batch analytics, machine learning model training, and durable long-term storage.

What latency improvements can edge computing achieve?

By eliminating cross-country or transoceanic transit, local edge nodes can bring network latency down to single-digit milliseconds—a requirement for use cases like autonomous vehicles, industrial robotics, and real-time multiplayer synchronization.

All glossary terms

Glossary

Related terms

Full glossary

New guides every week.

A digest of the best pieces on servers, VPN and self-hosted software. No ads, no spam.

1 email a weekOne-click unsubscribeRU · EN
Only slipjar.app articles, nothing else.