Yo yo yo! Remember I promised to write about scaling mastodon.social to 43k users? I did it! https://medium.com/@Gargron/scaling-mastodon-1becde463090
@Gargron 8 workers with 2 threads ? Wow, seems like a serious problem :(
@Gargron I mean Ruby is poor with multithreading (understand system threading). Puma was designed to combine multiple processes and multiple threads (Ruby threads). If you have more processes than (Ruby) threads, you're obviously do it wrong.
@Gargron sure. You and I know that.
@Gargron especially when system threads for Puma are shared with Sidekiq
@TouitTouit Threads are not shared between Puma and Sidekiq in any way, what do you mean?
@Gargron system threads, sure they are ! How many admins understand what's the difference between Puma and Sidekiq ?
@Gargron system threads. Puma needs CPU to answer requests, while Sidekiq wants some. Processes are racing
@Gargron I have to sleep, I'll be glad to chat and explain why (in my opinion) your paper is misleading
@TouitTouit MRI is not the only Ruby out there. There's Rubinius and JRuby. Puma's threads might work better there.