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.
FWIW - looks like using Redis namespaces is discouraged in favor of using multiple databases:
mikeperham.com/2017/04/10/migratin...
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?
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.
Thanks for following-up!
That's actually what I ended doing!