
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
- Unable to create push providers - FCM or...
Currently unable to create a push provider for FCM or APNS.... https://github.com/appwrite/console/issues/2045 When uploading a file... FCM = Valid file retu...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
