Doing Server Side WebAssembly - The Hard Way (DockerCon 2023)

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2023
  • We initially believed that the linear byte streams flowing into and out of the WebAssembly sandbox would seamlessly align with the synchronous request/response pattern of HTTP. Thus, when our NGINX Unit team embarked on implementing a server-side module for WebAssembly, we anticipated a straightforward process. Our plan was to connect our HTTP server implementation to Wasmtime and let the bytes traverse effortlessly. However, what ensued was a journey filled with challenges, primarily due to the necessity of performing direct memory access using low-level languages. The truth became evident: Carrying HTTP metadata in and out of the Wasm runtime proved to be a formidable task. The allure of enhanced productivity and memory safety offered by high-level languages seemed to evade us. In this presentation, we will delve into our eventual triumph in bridging the gaps and share the invaluable insights we gained regarding server-side WebAssembly along the way. Moreover, we will explore the WASI HTTP project, which aims to address the same difficulties, thereby combining the scalability of HTTP with the performance and portability of WebAssembly. Learn how we overcame these obstacles and the exciting prospects that lie ahead.
    Presentation: Doing Server Side WebAssembly - The Hard Way
    Speaker: Timo Stark, Software Engineer, Docker Captain
    Resources:
    Wasm workloads (Beta) - docs.docker.com/desktop/wasm/
    Docker+Wasm Technical Preview 2 - www.docker.com/blog/announcin...
    Get started with Docker - www.docker.com/get-started/
    What are containers? www.docker.com/resources/what...
    Try Docker Desktop www.docker.com/products/docke...
    Docker 101 Tutorial www.docker.com/101-tutorial/
    Join the conversation!
    LinkedIn → dockr.ly/LinkedIn
    Twitter → dockr.ly/Twitter
    Facebook → dockr.ly/Facebook
    Instagram → dockr.ly/Instagram
    ABOUT DOCKER: Docker provides a suite of development tools, services, trusted content, and automations, used individually or together, to accelerate the delivery of secure applications.
    #docker #webassembley #containers
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1

  • @MarcellodeSales
    @MarcellodeSales 7 หลายเดือนก่อน +1

    Awesome to see wasm now in docker support! Go Rust yourselves :D