Details

WebAssembly for Cloud


WebAssembly for Cloud

A Basic Guide for Wasm-Based Cloud Apps

von: Shashank Mohan Jain

56,99 €

Verlag: Apress
Format: PDF
Veröffentl.: 13.11.2021
ISBN/EAN: 9781484274965
Sprache: englisch
Anzahl Seiten: 163

Dieses eBook enthält ein Wasserzeichen.

Beschreibungen

<p>Journey into the amazing world of WebAssembly (Wasm) and learn about how it can be applied on the cloud. This book is an introduction to Wasm aimed at professionals accustomed to working with cloud-related technologies such as Kubernetes and Istio service mesh.</p>

Author <b>Shashank Jain</b> begins with an introduction to Wasm and its related tooling such as wasm-bindgen and wapc. He then walks you through code examples using Rust, Golang, and JavaScript to demonstrate how they can be compiled to Wasm and consumed from Wasm runtimes deployed standalone, as well as on the cloud. You will see how a wasm module can be run through an http interface, and how Wasm fits into CNCF projects such as Kubernetes and Istio service mesh. After that, you’ll learn how the polyglot nature of WebAssembly can be leveraged through examples written in languages like Rust and consumed via Golang and JavaScript, with a focus on how WebAssembly allows interoperability between them. You’ll gain an understanding of how Wasm-based modules can be deployed inside Linux containers and orchestrated via Kubernetes, and how Wasm can be used within the Istio proxy to apply rules and filters.<p></p>

<p>After reading this book, you’ll have the knowledge necessary to apply WebAssembly to create multi tenanted workloads which can be polyglot in nature and can be deployed on cloud environments like Kubernetes.</p>

<p><b>What You Will Learn</b></p>

<p></p><ul><li>Understand how Wasm can be used for server-side applications</li><li>Learn about Wasm memory model and Wasm module layout</li><li>How communication between host and Wasm module is facilitated</li><li>The basics of Wasm sandboxing and security</li><li>The fundamentals of tooling around Wasm, such as WAT and Wasm-pack</li><li>Create a Wasm module in Rust and consume it from JavaScript, Rust and Golang.</li><li>Grasp how Kubernetes can be used to orchestrate Wasm-based workloads</li><li>How Wasm fits into service mesh</li></ul><p></p>















<p><b>Who Is This Book For</b></p>

<p>Software developers/architects who are looking to hone their skills in virtualization and explore alternatives to Docker and container-based technologies for their workload deployments. Readers should have a basic programming background in languages such as Rust and Golang to get the most out of this book.</p>
Chapter 1: Introduction to WebAssembly (Wasm).- Chapter 2: WebAssembly Memory Model and Runtimes.- Chapter 3: WebAssembly Text Toolkit.- Chapter 4: Rust and WebAssembly.- Chapter 5: Golang and WebAssembly.- Chapter 6: Writing a Simple Web Application in WebAssembly.- Chapter 7: Deploying Wasm Workloads to Kubernetes and Service Mesh.- Chapter 8: Summary.
Shashank Mohan Jain&nbsp;has been working in the IT industry for around 20 years mainly in the areas of cloud computing and distributed systems. He has keen interests in virtualization techniques, security, and complex systems. Shashank has 32 software patents (many yet to be published) to his name in the area of cloud computing, IoT, and machine learning. He is a speaker at multiple reputed cloud conferences. Shashank holds Sun, Microsoft, and Linux kernel certifications.
<p>Journey into the amazing world of WebAssembly (Wasm) and learn about how it can be applied on the cloud. This book is an introduction to Wasm aimed at professionals accustomed to working with cloud-related technologies such as Kubernetes and Istio service mesh.</p>

Author <b>Shashank Jain</b> begins with an introduction to Wasm and its related tooling such as wasm-bindgen and wapc. He then walks you through code examples using Rust, Golang, and JavaScript to demonstrate how they can be compiled to Wasm and consumed from Wasm runtimes deployed standalone, as well as on the cloud. You will see how a wasm module can be run through an http interface, and how Wasm fits into CNCF projects such as Kubernetes and Istio service mesh. After that, you’ll learn how the polyglot nature of WebAssembly can be leveraged through examples written in languages like Rust and consumed via Golang and JavaScript, with a focus on how WebAssembly allows interoperability between them. You’ll gain an understanding of how Wasm-based modules can be deployed inside Linux containers and orchestrated via Kubernetes, and how Wasm can be used within the Istio proxy to apply rules and filters.<p></p>

<p>After reading this book, you’ll have the knowledge necessary to apply WebAssembly to create multi tenanted workloads which can be polyglot in nature and can be deployed on cloud environments like Kubernetes.</p>

<p>You will:&nbsp;</p>

<p></p><ul><li>Understand how Wasm can be used for server-side applications</li><li>Learn about Wasm memory model and Wasm module layout</li><li>Learn how communication between host and Wasm module is facilitated</li><li>Understand the basics of Wasm sandboxing and security</li><li>Learn the fundamentals of tooling around Wasm, such as WAT and Wasm-pack</li><li>Create a Wasm module in Rust and consume it from JavaScript, Rust and Golang.</li><li>Grasp how Kubernetes can be used to orchestrate Wasm-based workloads</li><li>See how Wasm fits into service mesh</li></ul><p></p>
Explains security and sandboxing with Wasm specifically for cloud Covers the use of Rust, Golang, and JavaScript for Wasm in one book Includes easy to understand code examples for web-based application using Wasm

Diese Produkte könnten Sie auch interessieren:

Tuning the Snowflake Data Cloud
Tuning the Snowflake Data Cloud
von: Andrew Carruthers
PDF ebook
56,99 €
MLOps with Ray
MLOps with Ray
von: Hien Luu, Max Pumperla, Zhe Zhang
PDF ebook
62,99 €