Login
You're viewing the ruby.social public feed.
  • Nov 18, 2022, 10:58 PM

    @pieceofthepie If puma is the only software running on the system, 1.5 * vCPU for WEB_CONCURRENCY is an easy place to start. If you're running sidekiq / nginx / postgres on the machine too, go for 0.8 * vCPU.

    Set MAX_THREADS to 16 and then see how it feels. You'll see a top end for the thread count, and then you'll know you need more WEB_CONCURRENCY or more raw cores.

    💬 0🔄 0⭐ 0