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 :(
@TouitTouit What do you mean?
@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 especially when system threads for Puma are shared with 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