Several Redis databases on the host

Asked by frankie

Is it possible to host several separate Redis databases on the same host?

At least in php drivers there is no possibility to set a specific database. The use of pseudonyms (somewhere on the Internet was such an option) does not roll - overly weak protection.

Answers

melanie guthrie
you can run several radishes - each hang on a separate port - each has its own base
tristan
you can keep several bases in the radish, by default the client connects to base №0
in the config you can set the maximum possible number of databases

Select a database with the select command (http://code.google.com/p/redis/wiki/SelectCommand)
Replies:
The author of radish considers it to be a support for several bases, will not develop and says that the right way is to run several radishes on the same system.

In addition, several databases do not solve problems with authorization. A few radishes with different configs decide - kristin mcduffie
phil melikyan
As an option to intercept the call and add a prefix to the key.
Replies:
At what level to intercept? I understand from the database server. Then you need to add another authorization layer over the existing one, so that someone cannot take the prefix without permission.
Although yes, the option is interesting, it will be necessary to try. - madeleine
Help me choose a router for home :: Sharding MongoDB under load? :: Advise a computer mouse :: Creating vlan :: Maybe someone met a service & quot; guest book & quot; or & quot; feedback & quot; that allow you to put the form in a javascript form on your website
Leave Repply for Several Redis databases on the host
Useful Links