Mastodon scaling
-
I’m wondering how’s everyone’s Mastodon server. How many users can a Mastodon running with Cloudron can take.
I currently have 30 users, about 12 active. The app is eating about 2.5gigs of ram. -
@alwynispat said in Mastodon scaling:
How many users can a Mastodon running with Cloudron can take.
I'd imagine that'll depend on how much RAM you can throw at it and the settings you've got in your config file, see other posts about scaling Mastodon like e.g.
-
You'll also want to consider how many runners you have going and if you are attached to an active relay (like mine!)
As long as you can keep your queue near zero, you're in good shape!
-
@doodlemania2 what’s your current setup? If you don’t mind providing.
-
@alwynispat sure of course:
Puma
export WEB_CONCURRENCY=4 # number of worker processes
export MAX_THREADS=5 # the number of threads per processStreaming API
export STREAMING_CLUSTER_NUM=2 # number of worker processes
Sidekiq
export SIDEKIQ_THREADS=4
export DB_POOL=25 # must be at least the same as the number of threads