3 ms·
I took a look at the etcdv3 raft.go code, it is indeed pretty nicely written! Definitely better than any other one i've seen. (though i'm pretty excited about
by carterschonwald 10y ago
I took a look at the etcdv3 raft.go code, it is indeed pretty nicely written! Definitely better than any other one i've seen.
(though i'm pretty excited about the raft impl my summer intern and I are hacking on currently :) )
- cstrahan 10y agoIn Haskell, I presume? Will it be open sourced? :)
- carterschonwald 10y agoActually doing in Agda first. Coinductive programming is a delight with Agda 2.5. But yes that's the plan.
- sagichmal 10y agoConsul's Raft implementation is leagues better than etcd's, unfortunately.
- eis 10y agoIs that still the case with Etcd v3? I remember reading somewhere that they were rewriting the Raft implementation in Etcd a good while ago.
- justinsb 10y agoI'd be very interesting in hearing more about this. I tried using both the Consul and etcd Raft implementations as libraries. I found the Consul library much easier to interface with. But it was my impression that the etcd library was much more tested in the real-world, with big projects like Kubernetes and with the library being embedded into projects like CockroachDB. I also wasn't sure if the details that the Consul implementation was hiding were actually important.
- deleted 10y ago[deleted]