To all mastodon admins:

Hi! I’m Evan Phoenix, the primary author of puma, the ruby webserver that powers mastodon!

Please reply or DM me if you need tuning help! I’ve got no officiation with the mastodon, just want to see you succeed!

(Quick Tip: set WEB_CONCURRENCY to core count * 1.5 and then tune MAX_THREADS. High thread values will see diminishing returns!)

@evanphx
Could you perhaps point to any instructions on how to place some puma processes on a separate machine?

@JohanEmpa I can't find one off hand atm. The quick answer is that you'll configure config/database.yml on the separate machine to point to the correct database, then when with new puma's started, you'll edit the nginx config to include the new machine's ip as a valid backend.

Look for "rails cluster setup" guides, they should apply fine.

@KuJoe
Here's a starting point for setting up separate machines