valeriansaliou / bloom

:cherry_blossom: HTTP REST API caching middleware, to be used between load balancers and REST API workers.
https://crates.io/crates/bloom-server
Mozilla Public License 2.0
712 stars 48 forks source link

Support Redis cluster mode with fallback on Master failures #11

Open aaronleesmith opened 5 years ago

aaronleesmith commented 5 years ago

Currently, Bloom supports a single Redis host / port. When Redis is run in a clustered mode with multiple masters, Bloom is unable to consider another Redis node to talk to for continued use upon the failure of a master node.

Libraries like ioredis support this kind of functionality (https://github.com/luin/ioredis/blob/master/API.md#Cluster).