3 ms·
Redis can be distributed FWIW, it has two clustering modes. It's just that sharded distribution comes with a bunch of caveats.
by junon 5y ago
Redis can be distributed FWIW, it has two clustering modes. It's just that sharded distribution comes with a bunch of caveats.
- tonyg 5y agoYes, absolutely! The caveats are relevant to distributed locking, though: sharding would help scale out a locking system horizontally, but each subset of keyspace would still be a non-distributed locking service. Primary-secondary replication doesn't (as far as I can tell!) offer the necessary invariants to act as a locking service - at least, not when employing the straightforward technique GP mentions.
- junon 5y agoYes, definitely. :)