DEV Community

Discussion on: redis-namespace: when one sidekiq process is not enough

Collapse
 
tradesmanhelix profile image
Alex Smith

FWIW - looks like using Redis namespaces is discouraged in favor of using multiple databases:

mikeperham.com/2017/04/10/migratin...

Collapse
 
agiboire profile image
Adrien

I agree with mperham but I would argue that when it comes to working in a development environment, namespacing comes in handy.

How would you proceed differently?

Collapse
 
tradesmanhelix profile image
Alex Smith

I'd say it's best to have your dev and prod envs mirror each other as much as possible. So in dev, have Redis use multiple databases, configuring as per this link. This should be pretty trivial to accomplish in a dev env if you use Docker or some such.

Thread Thread
 
agiboire profile image
Adrien

Thanks for following-up!

That's actually what I ended doing!