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
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems