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

Advertisements

Engineyard : Amazon EC2 Maintenance – Maintenance

What to do when such email you receive from Engineyard. Normally what is going on and what to do is clearly explained by Engineyard email. However, we might not gather enough courage to mess with production server instances. Continue reading