From Cloud to Edge Computing - Unleashing the Power of Webassembly at the Edge

This ad is not shown to multipass and full ticket holders
React Summit
React Summit 2025
June 13 - 17, 2025
Amsterdam & Online
The biggest React conference worldwide
Learn More
In partnership with Focus Reactive
Upcoming event
React Summit 2025
React Summit 2025
June 13 - 17, 2025. Amsterdam & Online
Learn more
Bookmark
Rate this content

Discover how WASM at the edge pushes beyond cloud limits, enabling low-latency, secure, and distributed computing. In this talk, we’ll explore Wasm patterns for edge deployments, covering performance, security, and real-world use cases that blend cloud and edge seamlessly.

This talk has been presented at Node Congress 2025, check out the latest edition of this JavaScript Conference.

FAQ

Edge computing refers to the practice of distributing computational processes closer to data sources rather than relying on a centralized data center. This involves using networks of distributed nodes, such as content delivery networks (CDNs), to perform computation globally.

WebAssembly, due to its portability and performance, complements edge computing by providing efficient and secure execution of code across distributed edge locations. It allows for the deployment of lightweight, high-performance applications at the edge.

WebAssembly offers cross-platform portability, near-native performance, secure sandboxing, fast initialization, and multi-language support, making it ideal for running applications efficiently and securely at edge locations.

Cloud computing has evolved from virtualization to virtual machines, then to containers, and more recently to serverless functions. CDNs have also expanded their capabilities to include compute functionalities, becoming akin to cloud providers.

WASI, or WebAssembly System Interface, provides WebAssembly applications with access to system resources such as file systems, networking, and environment variables. It enhances the capability of WebAssembly modules to run server-side applications.

WebAssembly's cross-platform portability allows compiled binaries to run on any operating system and architecture without needing modification, enabling developers to deploy applications widely and efficiently.

Edge computing differs from traditional cloud computing by distributing processing and data storage closer to the source of data, rather than centralizing it. This reduces latency and improves efficiency for global applications.

Innovations include transforming client-side SDKs into WebAssembly components for zero-latency data processing at the edge, and developing distributed networks of WebAssembly components for enhanced application services.

CDNs play a crucial role in edge computing by providing a network of distributed nodes that perform computations, reducing latency and improving global service delivery. They are evolving to incorporate compute capabilities similar to cloud services.

Alex Casalboni
Alex Casalboni
21 min
17 Apr, 2025

Comments

Sign in or register to post your comment.
Video Summary and Transcription
In this Talk, the speaker covers the fundamentals of edge computing, cloud computing, and web assembly. They explore the synergy between WebAssembly (Wasm) and Edge computing and provide a use case demonstrating how Edge utilizes Wasm and edge computing. The evolution of cloud computing to edge computing is discussed, with a focus on adding computing to the CDN layer. The recent developments in compute capabilities on CDN networks, such as edge workers and serverless functions, are highlighted. The potential of WebAssembly for backend development and distributing portable binaries is showcased, along with its support in Node.js. WebAssembly runtimes and their role in enabling quick execution and secure sandboxing at the Edge are discussed. The talk also mentions the ability to perform secure data collection and the announcement of a component registry for WebAssembly components.

1. Introduction to Edge Computing and Wasm

Short description:

In this presentation, we'll cover the fundamentals of edge computing, cloud computing, and web assembly. We'll explore the synergy between Wasm and Edge and how they can be used together. We'll also examine a use case of how Edge utilizes Wasm and edge computing to achieve its goals.

Hey, everybody. Welcome to this presentation. We're going to talk about cloud computing, edge computing, and web assembly at the edge. What is the agenda for this talk? We'll try and cover the fundamentals about what we're talking about when we say edge computing or cloud or web assembly. You know, some of these terms are a bit overloaded sometimes. We want to make sure everybody's on the same page. And then we'll look into the Wasm plus Edge kind of match made in heaven and how these two technologies can work together really well. And then we'll look into a use case or whether how Edge itself is using Wasm and edge computing to achieve our goals, technically.

2. Understanding Edge Computing and its Evolution

Short description:

I am Alex Gazelboni, a software engineer from Italy, currently working at edgy as a developer advocate. Edge computing is the term used to describe moving computation away from central locations and distributing it across multiple nodes, such as content delivery networks or client devices. Today, we'll focus on adding computing to the CDN layer and explore the history of cloud computing and its evolution to edge computing. From virtualization to virtual machines, containers, and serverless functions, the computing platforms have continuously evolved. Content delivery networks have also played a significant role in providing content delivery and data protection. Companies like Akamai have been in the industry for decades.

Who am I? I am Alex Gazelboni. I'm a software engineer from Italy. I've done a few things in the past from e-learning to cloud computing at AWS. And today I'm working at edgy as a developer advocate. So let's get right into it.

What do we mean exactly when we say edge computing? This is quite a wide umbrella term, if you want. There are a lot of different ways to define it. The core idea is that instead of computing in a central location, like in a data center, you move computation somewhere else and distribute it across many different nodes. For example, you can use content delivery networks to distribute computation across hundreds of points of presence globally. In some cases, you distribute computing directly into the client devices. And that's interesting as well. For example, if you're doing IoT or smart factories or smart cities, smart retail, all those things that do edge computing in IoT devices, for example.

So today's focus is not so much about the IoT kind of things. We're trying to focus on web. We're trying to focus on how to add computing to the CDN layer, content-driven networks, where you typically have compute capabilities. I am not going to go through all the cloud computing histories of the last 60 years. If you're curious, pause the video, maybe go through some of the milestones that happened, and I'll leave that to you as homework if you're interested. But we do want to focus a little bit about the history of the more recent years. What happened in the last 15 or 20 years or so since cloud computing was born? And that's really useful to understand where edge computing is today because for some people, it's even the same thing. Cloud and edge is just an extension of the global cloud computing networks that have hundreds of edge locations and POPs around the world.

If you look at the pattern, we went from virtualization to virtual machines that are available in minutes, thanks to cloud computing since 2006 or so. Then we went from virtual machines like Amazon EC2 to containers, the Kubernetes world, if you want. And then more recently, well, pretty much already 10 years ago, we went from containers to serverless functions, things like AWS Lambda, Google Cloud Functions, Azure Functions, and so on. So all these cloud vendors today are just trying to sell you AI. But until a few years ago, they were pushing a lot, all these different computing platforms, whether it's containers, virtual machines, serverless functions, and so on. And there was another pattern that was a bit hidden, in my opinion, which is how the content delivery networks have also evolved as well. These were born decades ago to provide content delivery and to provide data protection, for example, for security. Some of these companies are as old as Google from the 1990s. For example, Akamai founded on the same year as Google, I think 1998. They were already back almost 20 years ago.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Serverless in Production, Lessons from the Trenches
Node Congress 2022Node Congress 2022
34 min
Serverless in Production, Lessons from the Trenches
This Talk provides valuable insights for those considering serverless in 2022, with a focus on troubleshooting and observability using Lumigo. It emphasizes the use of multiple AWS accounts and Org Formation for better control and scalability. Security considerations include securely loading secrets at runtime and implementing zero-trust networking. Optimizing Lambda performance is discussed, along with updates on serverless frameworks and the role of Terraform. The Talk also compares Honeycomb and Lumigo for observability in serverless applications.
Building full-stack applications on the Edge
React Advanced 2022React Advanced 2022
9 min
Building full-stack applications on the Edge
This Talk explores building full stack applications on the edge and the blurring line between front end and back end development. It discusses the benefits of using the JAMstack and APIs for scalable web development. The Talk also highlights the improvements in edge technology, such as serverless functions and efficient data storage, and the deployment of functions and durable objects on the edge network. Overall, the Talk emphasizes the importance of delivering high-quality experiences with low latency through edge computing.
Applying React Principles to a Cloud Database
React Summit 2024React Summit 2024
7 min
Applying React Principles to a Cloud Database
React principles can break down for full-stack apps, but Convex has built a backend and database to address this. The five React principles discussed include reactivity, consistency, overlapping writes, and caching. Convex's database ensures consistency, handles overlapping writes with transactions, and automatically invalidates caches based on relevant writes. Convex combines the best of SQL and NoSQL databases and applies React principles to simplify app development and improve the user experience.
Turning the Cloud Inside Out
React Summit Remote Edition 2021React Summit Remote Edition 2021
36 min
Turning the Cloud Inside Out
Today's Talk discusses turning the cloud inside out using GraphQL, highlighting its benefits such as type validation, real-time capabilities, and query efficiency. It explores the use of GraphQL as an API gateway, particularly in the context of microservices, third-party APIs, and blockchain. The talk also covers the efficient indexing and cloud integration offered by GraphQL, as well as building cloud APIs with AWS using API Gateway and AWS AppSync. It concludes with insights on deploying GraphQL APIs with tools like Amplify and CDK, and creating GraphQL APIs backed by Lambda and DynamoDB.
Running TypeScript in WebAssembly on the Cloud
TypeScript Congress 2023TypeScript Congress 2023
10 min
Running TypeScript in WebAssembly on the Cloud
Today's Talk discusses running TypeScript in WebAssembly on the cloud using Fermion's WebAssembly runtime. Fermion provides a serverless environment called Spin that allows for easy serverless application development in multiple languages. The process of creating a TypeScript serverless app with Spin involves installing Spin, creating a new app using the HTTP TS template, and testing it on localhost. To deploy the app, the 'spin deploy' command is used, and Fermi on cloud handles routing and makes the app accessible through a public URL.
Game Changer! Building Search Into Your Applications
Node Congress 2023Node Congress 2023
8 min
Game Changer! Building Search Into Your Applications
Implementing the right strategies and tools, such as Apache Lucene, can improve search performance and user experience. The choice of analyzer affects search results, and query operators provide various search options. Relevant scoring is crucial for ranking documents based on relevance. Custom scoring can prioritize specific criteria. Consider analyzers, query operators, and scoring methods to optimize the search experience.

Workshops on related topic

Build and Deploy a Backend With Fastify & Platformatic
JSNation 2023JSNation 2023
104 min
Build and Deploy a Backend With Fastify & Platformatic
Top Content
WorkshopFree
Matteo Collina
Matteo Collina
Platformatic allows you to rapidly develop GraphQL and REST APIs with minimal effort. The best part is that it also allows you to unleash the full potential of Node.js and Fastify whenever you need to. You can fully customise a Platformatic application by writing your own additional features and plugins. In the workshop, we’ll cover both our Open Source modules and our Cloud offering:- Platformatic OSS (open-source software) — Tools and libraries for rapidly building robust applications with Node.js (https://oss.platformatic.dev/).- Platformatic Cloud (currently in beta) — Our hosting platform that includes features such as preview apps, built-in metrics and integration with your Git flow (https://platformatic.dev/). 
In this workshop you'll learn how to develop APIs with Fastify and deploy them to the Platformatic Cloud.
Deploying React Native Apps in the Cloud
React Summit 2023React Summit 2023
88 min
Deploying React Native Apps in the Cloud
WorkshopFree
Cecelia Martinez
Cecelia Martinez
Deploying React Native apps manually on a local machine can be complex. The differences between Android and iOS require developers to use specific tools and processes for each platform, including hardware requirements for iOS. Manual deployments also make it difficult to manage signing credentials, environment configurations, track releases, and to collaborate as a team.
Appflow is the cloud mobile DevOps platform built by Ionic. Using a service like Appflow to build React Native apps not only provides access to powerful computing resources, it can simplify the deployment process by providing a centralized environment for managing and distributing your app to multiple platforms. This can save time and resources, enable collaboration, as well as improve the overall reliability and scalability of an app.
In this workshop, you’ll deploy a React Native application for delivery to Android and iOS test devices using Appflow. You’ll also learn the steps for publishing to Google Play and Apple App Stores. No previous experience with deploying native applications is required, and you’ll come away with a deeper understanding of the mobile deployment process and best practices for how to use a cloud mobile DevOps platform to ship quickly at scale.
Full Stack GraphQL In The Cloud With Neo4j Aura, Next.js, & Vercel
GraphQL Galaxy 2021GraphQL Galaxy 2021
161 min
Full Stack GraphQL In The Cloud With Neo4j Aura, Next.js, & Vercel
Workshop
William Lyon
William Lyon
In this workshop we will build and deploy a full stack GraphQL application using Next.js, Neo4j, and Vercel. Using a knowledge graph of news articles we will first build a GraphQL API using Next.js API routes and the Neo4j GraphQL Library. Next, we focus on the front-end, exploring how to use GraphQL for data fetching with a Next.js application. Lastly, we explore how to add personalization and content recommendation in our GraphQL API to serve relevant articles to our users, then deploy our application to the cloud using Vercel and Neo4j Aura.

Table of contents:
- Next.js overview and getting started with Next.js
- API Routes with Next.js & building a GraphQL API
- Using the Neo4j GraphQL Library
- Working with Apollo Client and GraphQL data fetching in Next.js
- Deploying with Vercel and Neo4j Aura
Declarative Infrastructure: Rethinking Cloud Native for JS
DevOps.js Conf 2024DevOps.js Conf 2024
29 min
Declarative Infrastructure: Rethinking Cloud Native for JS
Workshop
André Eriksson
André Eriksson
In this talk we uncover what Declarative Infrastructure means, and how it can work in TypeScript to naturally express higher-level distributed systems concepts (such as backend services, API calls, database queries, Pub/Sub messaging, caching and more), through the power of static analysis and code generation.The outcome is a fully reimagined DevOps process, with automatic infrastructure provisioning and built-in observability, that deploys straight to your own cloud.
Table of contents:- Introduction- Evolution of backend development, from servers to today's cloud-native world powered by DevOps and GitOps- What is Cloud Native, and how do we build modern backend applications? (Showing a microservices architecture powered by Express.js and Terraform)- What is Declarative Infrastructure? What does the space look like?- What problems does it solve compared to traditional DevOps practices?- How does it relate to Terraform/AWS CDK for infrastructure provisioning?- What are the downsides?- Building a Cloud Native backend with Declarative Infrastructure
How to Troubleshoot API Errors and Reduce MTTD/R
Node Congress 2021Node Congress 2021
149 min
How to Troubleshoot API Errors and Reduce MTTD/R
Workshop
Gal Bashan
Gal Bashan
The benefits of Node.js to develop real-time applications at scale are very well known. As Node.js architectures get more and more complex, visualization of your microservices-based architecture is crucial. However, the visualization of microservices is incredibly complex given the scale and the transactions across them. In this workshop, you will learn how to leverage service maps to instantly understand your architecture and troubleshoot any API error.

We will write a simple Express application and explore best practices when using Express. Then, we’ll deploy the application on AWS, integrate the environment with Epsagon, and deep-dive into various features of the platform to enable immediate detection and fast troubleshooting of application errors. Goals: Visualizing your architecture, monitoring your applications, reducing your mean time to detection and recovery (MTTD and MTTR).
Who should attend?
DevOps, Engineers, Cloud Architects, IT, Software Developers, Solution Architects and Engineers, SREs, and anyone who is running microservice-based applications (Kubernetes, containers, serverless functions, and more) in the cloud.

PrerequisitesWe prefer to use VSCode for a better experience (other IDEs are fine)Preinstall npm and node        Pre-existing AWS Account - You can create a free tier here        Attendees are free to create an Epsagon account in advance here, not mandatory