~/talk

Database Access on the Edge with Cloudflare Workers & Prisma

Talkat Node Congress 2022 · 2022-02-17..02-18· [nodejs, databases]

Demonstrates that Cloudflare Workers can query a central Postgres/MySQL database over HTTP using Prisma Data Proxy, not raw TCP, by migrating ~500 quotes from a JSON file into a database, seeding them, and deploying a 97 KB app to the edge in about 10 minutes. Uses Prisma Client, the data proxy, and wrangler publish; queries, get-by-id and create operations all succeed in live requests, and connection pooling is handled by the proxy.

AI-written summary · about

  1. 0:00Database access on edge
  2. 1:25What is edge and Workers
  3. 3:12Edge database challenges
  4. 4:57Prisma benefits
  5. 6:23Prisma Data Proxy
  6. 7:27Demo quotes migration
  7. 10:20Prisma schema modeling
  8. 11:46JSON to database migration
  9. 14:04Prisma Data Platform setup
  10. 17:48Refactoring with Prisma Client
  11. 19:34Testing and deploying
  12. 21:51Recap and resources
~/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.