~/talk

Implementing a Wasm Native Database API with Couchbase

Talkat WasmCon 2024 · on Monday, 2024-11-11· at 10:45· Salt Palace | Level 3 | 355 E-F· [databases, webassembly]
links:none on file
links:none on file
slides:none on file

Shows a concrete WIT-driven integration: three interfaces (WASI-Keyvalue, Couchbase Subdoc, Couchbase Query) implemented and exposed via a wasmCloud provider, with generated Go bindings used by a newbase component. Workshop uses Gitpod + wash + tinygo to build and run a local Couchbase cluster (admin/password on port 8091) and exercises document CRUD, JSON Patch application, CAS optimistic locking and replace operations. Repo contains runnable dev flow and an unfinished batch upsert handler left for attendees; overall demo runs but required creating a newbase bucket to succeed.

AI-written summary · about

  1. 0:00Workshop setup
  2. 1:03Talk introduction
  3. 2:05Couchbase architecture
  4. 5:11WebAssembly fundamentals and benefits
  5. 8:28Wasm language support
  6. 10:57Wasm Interface Types
  7. 13:50Setting up the development environment
  8. 18:28Project structure overview
  9. 23:00Verify Couchbase setup
  10. 25:52Newbase Go codebase
  11. 35:09Document operations in Go
  12. 41:30Wasm bindings and code
  13. 54:15CAS and optimistic locking
  14. 57:46Live coding session
  15. 1:01:35Batch upsert implementation
  16. 1:12:45Summary and next steps
~/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.