I
I
IDMan2010-09-04 13:51:48
PHP
IDMan, 2010-09-04 13:51:48

Multiple Redis databases per host

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

At least, in php drivers there is no way to set a specific database. The use of pseudonyms (there was such an option somewhere on the Internet) does not work - it sounds like weak protection.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Max Gulturyan, 2010-09-07
@IDMan

you can run several radishes - each hang on a separate port - each has its own base

F
FCron, 2010-09-04
@FCron

you can keep several databases in radish, by default the client connects to database number 0
in the config, you can set the maximum possible number of databases database
selection with the select command (http://code.google.com/p/redis/wiki/SelectCommand)

M
miolini, 2010-09-04
@miolini

As an option, intercept the call and add a prefix to the key.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question