from Hacker News

RedisRaft

by anhldbk on 5/7/23, 2:17 AM with 50 comments

  • by jwr on 5/7/23, 7:50 AM

    A gentle reminder that FoundationDB exists and has this nailed down really well. They are just bad at marketing, so it's not in fashion. But do check it out if you want a distributed database with strict serializable semantics, that works.
  • by ruuda on 5/7/23, 7:24 AM

    I would love to see a Jepsen test of this when it's ready. The Redis Cluster evaluation [1] was a great read.

    [1]: https://aphyr.com/posts/283-jepsen-redis

  • by TheDong on 5/7/23, 3:40 AM

    Linking to the introduction bypasses the prominent note in the readme:

    > RedisRaft is still being developed and is not yet ready for any real production use. Please do not use it for any mission critical purpose at this time.

  • by solatic on 5/7/23, 5:00 AM

    Why choose this over etcd? Especially if it's a limitation / non-goal to support all Redis commands, or to respond with Redis-like quick performance? Why not go with the battle-hardened (it's the backing datastore in Kubernetes), proven option?
  • by 361994752 on 5/7/23, 4:20 AM

    I've been watching this project for a long time. It was supposed to be released with Redis 7[1]. But I guess this is not true anymore. And there is no public roadmap saying when it will be production ready.

    [1] https://www.zdnet.com/article/redis-labs-unveils-redis-datab...

  • by bullen on 5/7/23, 7:06 AM

    I made my own distributed JSON over HTTP database back in 2016.

    It has been running in a intercontinental production environment with 100% read uptime since 2017.

    It's 2000 lines of code: http://root.rupy.se (this test env. has 3 nodes: fem, six and sju)

  • by remram on 5/7/23, 7:16 PM

    > A cluster may lose up to (N/2)-1 nodes

    What a weird notation. When N=3, a cluster may lose up to 1 node, I don't know how that matches this formula.

  • by decide1000 on 5/7/23, 7:18 AM

    I am looking at KeyDB and consider to use it as replacement of Redis. Besides some speed improvements it has good looking replication and cluster solutions. https://docs.keydb.dev/docs/cluster-spec
  • by Cardinal7167 on 5/7/23, 6:39 AM

    But raft isn’t strongly consistent, it has known liveness issues.

    https://decentralizedthoughts.github.io/2020-12-12-raft-live...

  • by mperham on 5/7/23, 3:40 AM

    AWS’ new MemoryDB also seems to be a strongly consistent Redis cluster service. Anyone know how they compare?

    https://aws.amazon.com/memorydb/features/

  • by geenat on 5/7/23, 7:36 AM

    Game changer if you can turn raft checks on/off on a per-query basis, like scylladb / cassandra.
  • by slondr on 5/7/23, 5:47 PM

    Does this have any benefit over Mnesia?