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 Do you have any tips for running on a low-core-count server? I'm not having any performance issues, but I'd prefer to avoid wasting resources on my dual-core VPS.
@hazel Since you're probably running all the services on one machine, start small. Use puma with WEB_CONCURRENCY = 0 and threads = 16. You'll have to watch the load and adjust it from there. As usage grows, you'll want to start with WEB_CONCURRENCY = 2, and then tweak the thread counts.