New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sidekiq docker #443
Add sidekiq docker #443
Conversation
@@ -4,7 +4,7 @@ | |||
# pick it up automatically. | |||
--- | |||
:verbose: false | |||
:concurrency: 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any specific reasons why we are making this change ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, because sidekiq in docker- compose wasnt running as the rails app used up most of the redis connection pool, so i needed to adjust the concurrency so that both rails ans sidekiq runs fine. I also faces the concurrency issue with heroku with a free redis tier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we increase the connection pool on the Redis used in docker-compose? In Heroku free tier for Redis, the connection limit is 20 as mentioned here https://elements.heroku.com/addons/heroku-redis.
@@ -4,7 +4,7 @@ | |||
# pick it up automatically. | |||
--- | |||
:verbose: false | |||
:concurrency: 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we increase the connection pool on the Redis used in docker-compose? In Heroku free tier for Redis, the connection limit is 20 as mentioned here https://elements.heroku.com/addons/heroku-redis.
# Conflicts: # config/initializers/sidekiq.rb
* passed the env file in base image rather than separately in rails, web packer and sidekiq in docker-compose * removed un-necessary changes in schema * changed concurrency to finer values * removed default size set in sidekiq redis config * Added the sidekiq config option in Procfile.dev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Pull Request Template
Description
Type of change
Checklist: