← Back to context

Comment by trick-or-treat

10 hours ago

For read only it can be a great option. But even then I would choose D1 which has an amazing free tier and is sqlite under da hood.

But then you don't get the benefits of having the DB locally, with in-process access.

  • It's local to the worker? I don't understand what you mean.

    • Unless your Cloudflare worker and the DB are scheduled onto the same physical server, they are not local to one another. I don’t know much about D1, but the overwhelming majority of cloud infra makes no such guarantees, nor are they likely to want to architect it in that manner.

      2 replies →