Hacker News new | ask | show | jobs
by ambigious7777 438 days ago
I'm pretty sure D1 and DO build upon each other. I'm not sure exactly how, but I do remember reading about them using shared infra.
1 comments

D1 is built using Durable Objects - so in theory DO could be faster.

AFAIK when you call D1 it's Worker > D1 (Durable Object) > local storage.

So using DO directly would just be DO > local storage.

I believe the connection between worker and D1 is the painful part, requiring multiple round trips.