Hey, need (any) opinion on my appraoch on developing an application on D1. I'm thinking to implement

Hey, need (any) opinion on my appraoch on developing an application on D1. I'm thinking to implement a microservices based architecture, so each logical business unit (e.g users, signups, blogs) will have their own database. This works well in my mind.

I still can't wrap my mind around the 10gb limitation on each database. Even with a microservice architecture, if I have to scale at some point, I will hit this limit with a single db. Of course cloudflare says that you can have many DBs, but how can I even make it work?

In my application, most of the data will be shared (you can think of it as a info website). So each user will almost always see the same data. So I can't do a "multi tenant" approach here.

Another option is sharding: but I'm new to DB design and still wrapping my head around it. So far, sharding doesn't fill the usercase.

This sounds more of an architecture question than a d1 question, but I'm happy to learn any advice, or any case studies that I can be pointed towards. Thanks : )
Was this page helpful?