The future of serverless is WASM with David Flanagan
Jul 25, 2024
auto_awesome
David Flanagan, founder of Rockout Academy, discusses the potential of WebAssembly (WASM) in serverless technology. They explore WASM's advantages over traditional containers, SPIN application development, invocation patterns, deploying Spin applications with Fermion Cloud, and integrating WebAssembly with cloud providers like AWS.
WebAssembly System Interface expands server-side application usability with elevated functionality like file access and networking.
WebAssembly offers superior performance over traditional container deployment with nanosecond-level invocation times leading to faster performance.
Deep dives
WebAssembly in the Browser and Server
WebAssembly originated as a way to enhance browser performance for critical code. Applications like Figma already leverage WebAssembly for tasks requiring high performance. The introduction of WebAssembly System Interface (WAZI) aimed to expand its usability to server-side applications. By providing elevated functionality like file access and networking, WebAssembly now offers a portable runtime for both browsers and servers.
Performance Benefits Over Containers
WebAssembly offers superior performance over traditional container deployment methods. The CodeStart problem in containers leads to slow startup times, ranging from milliseconds to seconds, affecting user experience. In contrast, WebAssembly boasts nanosecond-level invocation times, resulting in significantly faster performance. The efficiency of WebAssembly not only enhances performance but also improves energy efficiency and financial implications.
WebAssembly's Portability and Development Experience
WebAssembly's portability stands out compared to traditional container deployment. Running on various machines and chip architectures, including low-resource devices, WebAssembly allows a single binary to run universally. Unlike containers, WebAssembly offers a smoother developer experience by eliminating the need for virtual machines on platforms like Mac, ensuring a seamless coding environment.
Enhancing Developer Experience and Future Adoption
WebAssembly aims to simplify the developer experience by focusing on intuitive decisions rather than informed ones. Platforms like SPIN enable developers to create server-side applications effortlessly using WebAssembly. As the ecosystem matures, future integrations with cloud providers may streamline interactions with services, enhancing the adoption of WebAssembly in server-side applications.
David Flanagan, founder of Rawdoke Academy, discusses why WebAssembly (WASM) could be the future of serverless technology and explores the evolution, benefits, and potential of WASM in transforming server-side applications across various environments.
Follow us on Apple Podcasts, fill out this form, and we’ll send you free PodRocket stickers!
What does LogRocket do?
LogRocket provides AI-first session replay and analytics that surfaces the UX and technical issues impacting user experiences. Start understand where your users are struggling by trying it for free at [LogRocket.com]. Try LogRocket for free today.(https://logrocket.com/signup/?pdr)
Special Guest: David Flanagan.
Get the Snipd podcast app
Unlock the knowledge in podcasts with the podcast player of the future.
AI-powered podcast player
Listen to all your favourite podcasts with AI-powered features
Discover highlights
Listen to the best highlights from the podcasts you love and dive into the full episode
Save any moment
Hear something you like? Tap your headphones to save it with AI-generated key takeaways
Share & Export
Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more
AI-powered podcast player
Listen to all your favourite podcasts with AI-powered features
Discover highlights
Listen to the best highlights from the podcasts you love and dive into the full episode