简体   繁体   中英

Rails run sidekiq on a single worker with puma

Hi I m new to Rails and was wondering how to configure Heroku in Rails 4 with Puma and sidekiq to run on a single dyno?

Currently my sidekiq jobs are queued but not executed..

Each dyno is a separate process. So you can run only sidekiq or puma on one dyno. If you want to use free plan, then it is not possible.

However, there was a workaround, when you can create another one app, and run sidekiq there. So your puma and sidekiq will share same redis db to syncronize.

Check this link: https://coderwall.com/p/fprnhg/free-background-jobs-on-heroku

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM