BuildBot

Compute at the Edge

State at the edge

Lesson 4 of 5

D1 gives you SQLite with prepared statements; Durable Objects give you a single coordinated instance with in-memory state and storage. Different problems, different tool.

What you'll learn

  • Query D1 — SQLite at the edge — with prepared statements via a binding
  • Understand Durable Objects: one live instance per name, in-memory state plus storage
  • Choose D1 for relational data and Durable Objects for coordination
Members only

A free account unlocks this lesson and every other one.

Runnable challenges, knowledge checks, and progress that syncs across your devices. No card needed.

Not sure yet? Try the free lesson first: The Workers runtime