
hi, i love Appwrite idea,
i have a question, so, i will be definitely self-hosting the app, but i have a question.
i will be building very heavy traffic web apps that would contain like millions of documents.
so, is it better to have a different instance of Appwrite for each heavy app or have them all in one application.
i am just looking for maintainability and continuity.
if i went to one single instance approach, is there a way to limit or increase resources for a specific project ?
and all those projects will be hosted in just a single mariadb instance and not multiple ones?
thanks!

Appwrite was designed to be 1 instance w/ multiple projects. Up to you on scaling, though.
No, you can't limit resources for a particular project.
1 instance of Appwrite = 1 database instance. When scaling, though, it is best to have a dedicated cluster for your database.

If you really would like to use Appwrite to the backend for several heavily used platforms then at this stage I think it's more optimal to run multiple instances, one for each platform. Some part of Appwrite isn't scalable efficiently

Thank you both for answering the question.
I will go with the second approach (appwrite instance for each platform) as high availability for each platform is required for me.
But for developing purposes i will only use one instance that holds all projects

[SOLVED] Multi Appwrite instances or one?
Recommended threads
- API Access Screenshot
For the sites api you have a screenshot light and screenshot dark which represent v1/storage/buckets/screenshots/files/687273897c6df66a9241/view I can access t...
- Documents deleted in bulk API don't trig...
I have a function that is triggered when a document is deleted databases.x.collections.x.documents.*.delete. When I delete documents using the deleteDocuments ...
- Issue that has been there for months
I have done a PR in appwrite/console the issue was old and it was published on Apr 2024. The bug was still there and I just saw that and cleared the issue. Can...
