Druid Redis Cache
Below are guidance and configuration options known to this module.
Use tool shipped with Druid to install this extension on broker, historical and middle manager nodes.
- include this extension
- to enable cache on historical nodes, follow to set related properties
- to enable cache on middle manager nodes, follow peon caching docs to set related properties
- set
druid.cache.type
toredis
- add the following properties
To utilize a redis cluster, following properties must be set.
Note: some redis cloud service providers provide redis cluster service via a redis proxy, for these clusters, please follow the configuration below.
Example
Note: if both druid.cache.cluster.nodes
and druid.cache.host
are provided, cluster mode is preferred.
Except for the properties above, there are some extra properties which can be customized to meet different needs.
In addition to the normal cache metrics, the redis cache implementation also reports the following in both total
and delta