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.
@TouitTouit Threads are not shared between Puma and Sidekiq in any way, what do you mean?
@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
@Gargron system threads, sure they are ! How many admins understand what's the difference between Puma and Sidekiq ?