~/talk

Build Database Driven Applications in Wasm

Talkat Wasm I/O 2023 · 2023-03-23..03-24· [webassembly, databases]
slides:none on file

Three concrete approaches decide whether this is useful: host functions via frameworks like Spin framework that keep DB connections outside the VM, WASI‑like socket APIs that let existing clients run in Wasm, or embedding a VM as a UDF for in‑db logic. Examples show MySQL, TiDB, and Redis connectivity, Rust + Tokio/Mio tweaks for nonblocking WASI-like socket APIs, Docker Compose demos that run a Wasm microservice with MariaDB, and tiny artifacts (3 MB app server, 700–800 KB Redis/Postgres demos) that actually work.

AI-written summary · about

  1. 0:00Introduction
  2. 0:25Database Application
  3. 1:06Database for Microservices
  4. 2:14Database to WebAssembly
  5. 5:56Sample Application
  6. 8:19Architecture Diagram
  7. 9:40Demo
  8. 16:03Size comparison
  9. 16:55How it works
  10. 19:52Nodejs
  11. 20:59Socket Support
  12. 21:13Frameworks
  13. 21:38Dapper API
  14. 25:23Questions
  15. 26:51Examples
  16. 28:07Flows Network
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.