playframework / play-plugins

CachePlugin
444 stars 161 forks source link

Different redis instances for different purposes? #138

Open ricardclau opened 10 years ago

ricardclau commented 10 years ago

Hi

I am trying to configure different Redis instances for different purposes, similar to what you would do with the database configuration but either I am missing something or this is not supported. Apparently, the Redis plugin supports adding a map of URIs in the same "cluster" but not something like what I am trying to achieve.

So, I would like to do something like

redis.default.uri: "mycache.redis"
redis.leaderboards.uri: "leaderboards.redis"

and have different pools or something similar

Is this for some design reason, perhaps something to be considered in future versions?

Best

mgosk commented 8 years ago

+1

abhinavrungta commented 8 years ago

+1