Scaling

Various parameters in Puma, Streaming and Sidekiq can be fine-tuned for concurrency. To change the parameters, edit /app/data/config.sh using the File manager and…

Deploy Mastodon as a fully managed service starting at €9/month. Get automated backups, SSL, updates, monitoring, and human support, all included.

DANIAN runs Mastodon as a fully managed service: installation, updates, backups, monitoring and security are handled for you.

See the mastodon hosting page for plans, pricing and a free trial.

 

Various parameters in Puma, Streaming and Sidekiq can be fine-tuned for concurrency. To change the parameters, edit /app/data/config.sh using the File manager and restart the app. See scaling docs for more information.

 

Sample configuration for /app/data/config.sh (from here):

 

# Puma
export WEB_CONCURRENCY=4 # number of worker processes
export MAX_THREADS=5 # the number of threads per process

 

# Streaming 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

 

Explore the platform

Find more information about our company, platform, and services on our website.

Visit danian.co