0

I have a server with four CPU cores and two rails applications served with the Puma in multithreaded mode. Both applications use the same number of resources and are expected to have an equal load. How should I set the number of workers in Puma configuration on each application? Should each application have four workers or should I divide the CPU core and use two workers for each application?

I hope someone can help me with what is the right number of workers and explain the reason behind it.

0 Answers0