taoensso / carmine

Redis client + message queue for Clojure
https://www.taoensso.com/carmine
Eclipse Public License 1.0
1.15k stars 130 forks source link

auto fail over support #253

Closed tolitius closed 1 year ago

tolitius commented 2 years ago

first off, thank you for creating and maintaining this library!

I see #134 and #76 and also that spec takes a single host

Looking to make sure a client can auto fail over when redis promotes a new host to master: image

MasterReplica connector from lettuce takes a sequence of URIs that it internally iterates over to make sure "the next" available node is used:

image

I don't think carmine is there yet: i.e. would not support an auto fail over. But instead of assuming it, I'd like to confirm to make sure I did not miss anything.

ptaoussanis commented 1 year ago

@tolitius Hi Anatoly, apologies for the long delay.

You are correct: Carmine does not currently support any auto fail-over mechanism. Please 👍 https://github.com/ptaoussanis/carmine/issues/272 if you're still interested in this capability.

tolitius commented 1 year ago

all good thanks for getting back! "👍 "ed the #272