liveBook · Manning

Edge computing

As explained in Server-Side WebAssembly

Edge computing performs computation near the sources or consumers of data rather than exclusively in centralized cloud infrastructure.

Edge computing brings computation closer to data sources and consumers—such as mobile devices, vehicles, and sensors—instead of relying exclusively on centralized cloud infrastructure. This reduces latency and bandwidth usage, but requires software to operate across many devices with limited resources. section 1.2.3

Edge deployments make several architectural demands:

  • Place execution near the network edge to respond closer to where data originates. section 1.2.3
  • Support heterogeneous hardware, including x86_64 and arm64 systems, without maintaining separate application builds. section 1.2.3
  • Minimize memory and runtime overhead because edge devices cannot assume the effectively unlimited resources associated with cloud environments. section 1.2.3
  • Balance portability and isolation against practical limitations such as limited multithreading, immature package compatibility, and developing debugging tools. section 1.3

Portable execution in vehicles and smart cities

A program compiled on an x86_64 machine can run on an arm64 device without changes when the runtime supplies the platform-specific gaps. This portability and small footprint make edge execution suitable for applications such as self-driving cars and smart cities, where many constrained devices must run maintainable software. section 1.2.3

Table 1.1 Comparing Wasm to traditional technologies across key dimensions

Capability

Wasm

Traditional technologies

Sandboxed execution

Built-in, lightweight isolation

Containers (not as secure), VMs (heavy/slow), or language-specific (Java, .NET)

Cold start

Microseconds

Containers: seconds; VMs: minutes

Artifact size

KBs to low MBs

Containers: 100s of MBs; traditional: varies widely

Portability

Compile once, run anywhere

Docker (platform-specific builds); interpreted languages (performance penalty)

Memory footprint

Minimal overhead

Containers/VMs: significant overhead

Multithreading

Limited (proposals in progress)

Well supported

Ecosystem maturity

Growing (many packages incompatible)

Mature

Debugging tools

Improving but limited

Well established

Runtime performance

Near-native

Varies (native to interpreted)

Compare WebAssembly with containers, virtual machines, and other traditional technologies across isolation, startup time, artifact size, portability, memory footprint, threading, ecosystem maturity, debugging, and runtime performance. section 1.3

How Server-Side WebAssembly covers it

How deep it goes
Explains edge requirements through device heterogeneity, resource limits, hardware agnosticism, and deployment trade-offs.
Examples
Uses mobile devices, vehicles, sensors, self-driving cars, smart cities, and microcontrollers as deployment contexts.
What you can do after
Evaluate whether portable, low-memory execution suits applications distributed across constrained edge devices.
How it connects
Connects edge computing with cloud infrastructure, serverless computing, WebAssembly, microcontrollers, and embedded software.

Also explained in

Compare how 5 books explain edge computing →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Server-Side WebAssembly. The section links point to the parts of the book it draws on.