
How can i set up user limit at 100,000 in my project

You tagged "Self Hosted" and "Cloud". Are you using both or just one?

well, both i'm asking for, planned to use self hosted, with cloud currently.

The settings are in the Console at Auth > Security > Users Limit.
Is there any problem with updating that?

Oh right...the max is 10k...what's your use case that you need 100K and not 10k?

I wanted to limit it to 100k or more in self hosted version, needed to know how can we do that, any other ways apart from limiting through the auth console?

Why 100k? What's your use case that you need 100k and not 10k?

Not a use case, 10k would be fine for beta but if we get beyond in case, for further scaling, maybe limiting to 50k or 100k till we get a robust infrastructure resilent enough to scale further. Anyways, I needed to know how can we decouple services so that we can autoscale the stateless services while maintaining the data separate, like user data, session data, and application data.

It is more of a how can we deal when certain scenarios are there, not a use case actually. Thanks for responding btw.

The problem is counting can be slow with large amounts of date. It's usually best to maintain a running count so you don't have to run through and count everything any time the count is needed.
So, you should set something up to maintain the count. Then, expose a function to create an account. The function can check the count and only create the account if the count is below 100K

seems like a good idea, thanks.

I had one more query, in case of scaling, i want to decouple the db, like i want application data to be stored in lets say mysql, and user data and user session data in mongodb or dynamodb, so how can i approach decoupling with differerent dbs offering different functionalities so that i can scale the stateless structure horizontally.

Appwrite only supports mariadb at the moment

So is there a way to configure multiple db instances separately for different use cases while scaling the containers horizontally. Basically how can we handle scaling with a user base of let's say 1 million.
Recommended threads
- Error while updating documents from Appw...
while trying to update the document in a collection getting Invalid document structure: Unknown attribute: "ids" which is not in the collection. Appreciate the...
- DATABASE ERROR
When I select NULL as the value and click update, it shows that the update is successful, but when I refresh it changes back to add-avatar. It seems that all fi...
- Email Rate Limiting Issues with Magic Li...
Hi team, I'm experiencing rate limiting issues with email sending during user sign-up and need some guidance. **Setup**: - SvelteKit SPA with Appwrite Cloud (P...
