Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[leshan-dev] Shared Redis instance

Hi,

I have a question concerning the use of Redis. I have multiple Leshan servers with few clients registered on each and I'd like to use only one Redis instance for all of them.

Now I was wondering, how I could achieve that. For example, is it possible to add a prefix to the Redis keys? E.g. FIRST_APP:REG:EP, OTHER_APP:REG:EP.

The only other thing I've found so far is the database int value that can be specified when creating the JedisPool. This would be my fallback solution but I'd definitely prefer not having to keep track of the database IDs.

I've also thought about overriding/modifying the Redis key prefixes in the RedisRegistrationStore but since they are private I'm not really considering going toward that direction.


Any help will be very much appreciated.

Thanks in advance.

Best regards
Eva


Back to the top