looks like it to me - here is my puma.rb using 2 workers. Not tested under load just yet - and make sure you have you don't hit your db and redis connection limits.
environment ENV['RACK_ENV']
workers 2
threads 2,5 # 4-6
preload_app!
on_worker_boot do
@sidekiq_pid ||= spawn("bundle exec sidekiq -c 2")
end
looks like it to me - here is my puma.rb using 2 workers. Not tested under load just yet - and make sure you have you don't hit your db and redis connection limits.