I am trying to determine the needed number of connections for a Heroku setup.
Ruby on Rails 6SidekiqPostgresRedis
I used primary numbers to avoid confusion in the calculations. I am wondering if my calculations are correct.
I plan on using 1X or 2X heroku dynos. Assuming my calculations above are correct.
I plan on starting out on Setup A...
Note:For Setup A and B, Sidekiq will determine the server connection pool. Ignore those entries.
Setup A
When the app grows moving to setup B.
Any flaws in the setups? For example, should Sidekiq Concurrency equal my Max thread count or any other value? Any ratios of these parameters I should keep in mind?
Setup B
Is there anything wrong with this configuration?