I've been fascinated with the ability to create a database per-tenant since I first discovered Turso, even before I joined the team.
Soon after I joined I wanted to see if it was possible to push the boundaries of that to "per user". Turso introduced earlier this year a product called "Multi-DB Schemas" which lets you create a database using another databases schema.
With this feature, the idea of creating a database per-user isn't so difficult. Almost all of my demos using Turso use this feature, so I decided to put together a repo containing the code to get started!
"Multi-DB Schemas" are still in beta, so let us know what you think, and what we can do to improve.
This looks great, @notrab I love how much you and the Turso team are constantly innovating. I mean the isolation this provides alone is amazing. I can't wait to check it out!
Amazing work, @notrab! The concept of having a database per user with the help of Tursoβs Multi-DB Schemas is quite innovative. The Next.js boilerplate looks super useful for developers. Are there any specific security considerations we should keep in mind while implementing this?
Awesome work, @notrab! The concept of a database per user is truly innovative, and leveraging Multi-DB Schemas makes it even better. I can already see how this will simplify many developers' workflows. Looking forward to exploring the repo and testing it out, especially the demos you've put together. Any plans for a following AMA to discuss best practices? Keep it up!
Congrats on the launch of the Turso Per User Starter, @notrab! This is a game-changer for multi-tenant applications, especially with the per-user database capability. I'm excited to see how this will enhance scalability and UX. Looking forward to exploring your repo and trying it out! Keep pushing the boundaries!
Hey Jamie,
The Per User Database Starter sounds like a powerful tool for building multi-tenant applications. How does it handle scaling as the number of users increases?
Congrats on the launch!
So you're saying we should test this "per-user" database thing? Seems cool but honestly the "Multi-DB Schemas" being in beta makes me cautious, any plans on stabilizing that soon or adding more features to it?
This looks like a super useful tool for anyone creating multi-tenant apps, love how you pushed the multi-db concept from per-tenant to per-user, definitely helpful in making database management easier, curious where you see this going in the future, like maybe integrating with other types of databases or adding more customization options, have you looked at similar tools like Supabase or Firebase to see what features they offer?
Found this through a friend's recommendation, saw the potential in creating a database per-user but honestly the whole "Multi-DB Schemas" thing is still pretty confusing, and it's kind of frustrating that it's still in beta, any plans to make this more user-friendly anytime soon?
Announcing new database tools is great, but let's be real, what devs really need is more support for scaling with actual user data, not just another starter kit, would love to see more focus on real-world challenges and practical integrations, not just another shiny tool, thoughts?
I stumbled upon this from a friend and while it's an interesting concept, I'm not sure if creating a database per user is the best way to go, isn't it a bit overkill for smaller apps, also curious, has there been any major security concerns around this method also maybe look into better integration options?
Found this new Next.js boilerplate because a friend mentioned it, gotta say I'm not sold yet, having a database per user might be overkill and could get messy, is it scalable enough for larger projects? And what about security?
Congrats on the launch, love the vision behind creating databases per user, it sounds super useful for multi-tenant apps, curious though how does the beta feature handle large volumes of data, any plans to further optimize it or add new capabilities in the future? Keep up the great work!
Per User Database Starter is a game changer for developers needing to manage user-specific data! πποΈ Its efficient and scalable approach simplifies handling individual user data, making it perfect for building personalized applications. Excited to see how this tool will streamline development and improve user experience! ππ
Headless Dropshipping Starter