written by
Sudesh Girdhari

# Open Source WASM on a Hyper-Distributed Cloud: A Game Changer for Developers

Learn Digital Transformation 5 min read

Join the WASM Revolution | Meet us @KubeCon

Want to learn more about how open-source WASM and the hyper-distributed cloud can revolutionize your development workflow? Don't miss the "Unleash the Power of Open Source WASM on a Hyper-Distributed Cloud" presentation on Monday, November 11th! Visit the Akamai booth to meet the experts, explore real-world use cases, and discuss how WASM can help you build the next generation of applications.

Meet me at KubeCon

Envision a world where applications effortlessly run on any device, anywhere, delivering unmatched speed and unwavering security. This is the groundbreaking potential of WebAssembly (WASM) on a hyper-distributed cloud, and it’s changing the game for how developers create and deploy software. This innovation is paving the way for what many are calling the third wave of cloud computing.

What is WASM?

WASM is a developer-friendly technology that is transforming the world of web development. In simple terms, it is a new type of code that can be executed in web browsers and other environments. Think of it as a universal language for the web, enabling developers to write code in languages like C++, Rust, or Go and run it efficiently across various platforms.

WASM: A Portable Powerhouse One of the biggest advantages of WASM is its portability. WASM code can run on anything from your web browser to servers and even IoT devices. This means developers can write code once and deploy it everywhere, saving time and effort. No more juggling different codebases for different platforms!
WASM: Security at its Core Security is another major strength of WASM. It's designed with a security-first approach, running code in a sandboxed environment. This isolation prevents malicious code from wreaking havoc on your system, giving developers and users peace of mind. This is a key reason why WASM is considered more secure than traditional containers – the kernel itself isn't an attack surface.

The Hyper-Distributed Cloud: A New Frontier

Now, let's talk about the hyper-distributed cloud. It's a new approach to cloud computing where resources are distributed across a vast network of servers, bringing computation closer to the users. This means faster response times, reduced latency, and improved performance for applications.

Edge Computing and WASM: A Perfect Match

Edge computing, a key component of the hyper-distributed cloud, is all about bringing computation to the edge of the network, closer to where the data is generated. And guess what? WASM is a perfect fit for edge computing! Its small size and portability make it ideal for running on edge devices, enabling developers to build lightning-fast and responsive applications.

The Evolution of Cloud Computing

To understand the impact of WASM, let's look at how cloud computing has evolved:

  1. Heavyweight Class (Virtual Machines): Think full operating systems, slow startup times, and large image sizes. Powerful, but resource-intensive.
  2. Middleweight Class (Containers): A slice of an operating system, faster than VMs, and great for long-running processes. Docker is a prime example.
  3. Lightweight Class (Web Assembly): Minimal runtime, near-instant startup, cross-architecture compatibility, and optimal resource utilization. This is where WASM shines.
Understanding Serverless Computing

Serverless computing is a significant shift in how we build applications. Instead of managing servers, we focus on event-driven execution:

  • No server management is needed.
  • Code runs only when triggered by an event.
  • Improved performance and reduced costs.
  • Developers can focus purely on business logic.

WASM and Serverless: A Match Made in the Cloud

WASM's small size, portability, and security make it an ideal runtime for serverless functions. It enables developers to build and deploy serverless applications with improved performance, efficiency, and scalability.

The Resurgence of Serverless

Serverless computing has seen a resurgence in recent years, and WASM is a key driver of this renewed interest. Think about it: you get the benefits of serverless with the performance and security of WASM. It's a winning combination!

A remarkable example of Web Assembly's versatility is Excel Online, which uses C++ code from 1985 compiled to Web Assembly for Lambda function calculations.
Real-World Examples: WASM in Action Adobe: Pushing Creative Boundaries with WASM The Challenge: Bringing Creative Tools to the Cloud

Adobe, the creative software giant, faced a challenge: bringing its powerful creative tools, like Photoshop and Lightroom, to the cloud while maintaining the performance and user experience that creatives demand.

WASM Benefits

Akamai's Distributed Cloud Platform

Akamai's distributed cloud platform provides the infrastructure and tools developers need to build and deploy WASM applications at the edge. With Akamai, developers can reach users globally with low latency and high performance.

  1. Tools and Resources for WASM Developers Akamai also offers a range of tools and resources to support WASM developers, including SDKs, documentation, and a vibrant community.
  2. WebAssembly Projects: Spin, Bindle, and Bartholomew Beyond Akamai, the WASM ecosystem is thriving with exciting open-source projects pushing the boundaries of what's possible.
Distributed Cloud

KubeCon 2024 North America: WASM Takes Center Stage

Speaking of WASM and serverless, I'm excited to see two sessions at KubeCon 2024 North America that delve into these topics:

Kubernetes: Reflecting on a Decade of Innovation

This session brings together panelists to discuss Kubernetes' 10-year journey, exploring its achievements and challenges. It's a chance to reflect on the evolution of cloud-native technologies and look ahead to the future.

Serverless is Trending Again: A Deep Dive with WASM

This session focuses on the resurgence of serverless computing and how WASM is playing a crucial role in its evolution. Matt Butcher, CEO of Fermyon, will discuss how WASM enables serverless functions within Kubernetes to outperform competitors like Amazon Lambda.

Performance and Scaling

The combination of Web Assembly and serverless provides impressive performance characteristics:

  • Instant scaling capabilities.
  • Minimal resource overhead.
  • Cross-architecture deployment.
  • High-density workload support.

In practical demonstrations, a simple Raspberry Pi cluster successfully ran 200 instances of a Web Assembly application, showcasing the technology's efficiency and scalability.

Outcomes for WASM

Join the WASM Revolution!

Want to learn more about how open-source WASM and the hyper-distributed cloud can revolutionize your development workflow? Don't miss the "Unleash the Power of Open Source WASM on a Hyper-Distributed Cloud" presentation on Monday, November 11th! Visit the Akamai booth to meet the experts, explore real-world use cases, and discuss how WASM can help you build the next generation of applications.

Bonus: After reading this post, the first ten people to schedule a meeting at the Akamai booth will receive a Starbucks gift card! Don't miss out on this opportunity to fuel your WASM journey with caffeine and conversation. (In-Person KubeCon attendees)

WASM Kubernetes Akamai