Jef Mathiot is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Yo yo yo! Remember I promised to write about scaling mastodon.social to 43k users? I did it! medium.com/@Gargron/scaling-ma

@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 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?

Jef Mathiot @TouitTouit

@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