Doing Server Side WebAssembly the Hard Way - Liam Crilly, NGINX

  Рет қаралды 616

The Linux Foundation

The Linux Foundation

Күн бұрын

Doing Server Side WebAssembly the Hard Way - Liam Crilly, NGINX
The linear byte-streams in and out of the WebAssembly sandbox are a neat fit for the synchronous request/response pattern of HTTP. So when the NGINX Unit team decided to implement a server-side module for WebAssembly, we thought it would be easy. Just hook up our HTTP server implementation to Wasmtime and let the bytes flow… But instead, what we found was a world of pain, performing direct memory access using low-level languages. The reality is that carrying HTTP metadata in and out of the Wasm runtime is hard. The promise of high-level language productivity and memory safety eluded us. Join this talk to hear how we eventually succeeded in connecting all the dots, and the things we learned about server-side WebAssembly along the way. Finally, we'll explore how the WASI HTTP project sets out to solve the same problems so that the scalability of HTTP can be allied to the performance and portability of WebAssembly.

Пікірлер
Piercing the Veil of WebAssembly in Production - Benjamin Eckel, Dylibso
34:33
State of WebAssembly outside the browser by ABDEL SGHIOUAR
37:51
The NGINX Crash Course
50:53
Laith Academy
Рет қаралды 497 М.
WebAssembly (WASM) vs. Docker - Our Expert Analysis
19:53
KodeKloud
Рет қаралды 93 М.
"What can't WebAssembly do?" - Katie Bell (PyCon AU 2023)
29:03
Wasm on Docker Desktop with Spin (DockerCon 2023)
44:48
Server-Side WASM: Today and Tomorrow
18:32
InfoQ
Рет қаралды 6 М.
ScapyCon 24 - JTAG Enumeration Using RP2040 - Falk Mayer
24:09
Let's Talk About WebAssembly and WASI
2:09:33
Tsoding Daily
Рет қаралды 29 М.