Trying to organize our Redis keyspaces in a simple and (somewhat) extensible way, we've found an interesting mechanism: databases. The idea would be to a name (say person
, for example) to a database number, like 0
. Then, all operations on the namespace person
would go on the database 0
.
What are the drawbacks and advantages of doing this? Is there a better way?
P.S.: We are using Python 2.7
.
Thanks very much!