Back

update docker -multiple databases?

  • 0
  • Self Hosted
Lightshineshere
15 Mar, 2024, 12:40

Iam newbie.I am thinking to use appwrite for my saas app. I am trying to build content locker site. I willhave 1000 clients and these clients will have 1000s of users. Something like wordpress membership site. Iam thinking to use appwrite selfhost version and have seperate databse for every client. So,when user registers,I create seperate database for him. Is this correct way ? Secondly,I am thinking ifi update the schema (lets say include new field ) .How willlIupdate 1000s of databases via docker? Thanks

TL;DR
Developers want to know if each client will have their own data, and if the data is single or multiple records. They also want to know if users can interact with the database or just you. You are using Appwrite for a Saas app for a content locker site with 1000 clients and thousands of users for each client. Your plan is to use Appwrite's self-hosted version with a separate database for every client when they register. If you want to update the schema across thousands of databases via Docker, you can manage this by scripting the schema updates and applying them to each database individually.
Faye
15 Mar, 2024, 12:46

Hey!

Sounds like a plan!

Let me ask some questions to understand correctly. So, each client will have their own data, however what kind of data? Is it just a single document (record) with attributes? is it multiple?

Before I say anything about your "updating databases" question, I would like to know the first.

Are users also able to interact with the database? Or are you the only one who can access them?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more