Complexity of scaling D1 in production with current limits? (10GB/db)
I see that D1 has a maximum size of 10GB per database? That seems like it would get pretty complicated to use in production. Sure, you could use one database per table of data you might need, assuming you're only ever going to have 10GB of posts for example. But what if you need more?
I guess if you could see in advance that each user might need up to 10 GB you could create one database per user. The current limit is 50,000 databases on paid plan, but what about if you have more than 50,000 users? I guess you can request a limit increase, but they can't guarantee that increase...
Just seems quite complicated. I'd like to use Cloudflare if there was a clear solution, but this uncertainty worries me.
https://developers.cloudflare.com/d1/platform/limits/
Thanks all
I guess if you could see in advance that each user might need up to 10 GB you could create one database per user. The current limit is 50,000 databases on paid plan, but what about if you have more than 50,000 users? I guess you can request a limit increase, but they can't guarantee that increase...
Just seems quite complicated. I'd like to use Cloudflare if there was a clear solution, but this uncertainty worries me.
https://developers.cloudflare.com/d1/platform/limits/
Thanks all
