Sidekiq : Redis : Namespace

You need to add the gem ‘redis-namespace’ to namespace the redis keys via sidekiq

From the command line:

$ gem install redis-namespace

Or in your Gemfile:

gem 'redis-namespace'

When you might need this?

If you have multiple server environment or multiple applications hosted using the same redis server then you must namespace your data. Otherwise sidekiq will try to execute tasks from one application with another application’s codebase.

Continue reading