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.
Report
@notrab Congrats on the launch! The concept of building per-user databases sounds really intriguing, especially with the flexibility Turso’s multi-DB schemas offer. I’m curious about the performance implications—how does it handle scaling when there are a large number of users? Would love to see how it performs in a high-traffic environment.
Report
Great product! Been using it for well over a year now, rock solid! Congratulations on the launch @notrab
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?
Report
What are the main advantages of having a database per user, over traditional multi-tenant databases would you say?
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!
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!
Replies
Headless Dropshipping Starter
Headless Dropshipping Starter
Epsilla (YC S23)
Outerbase
Headless Dropshipping Starter
Epsilla (YC S23)
Telebugs