News for hackers. Stuff that matters.
Re:How TiKV reads and writes by yori on Sunday December 08, 2019 @11:56PM (#21740488)
Can someone familiar with this topic explain how the Raft consensus protocol is different from the other popular consensus protocols?
Re:How TiKV reads and writes by winkyao on Monday December 09, 2019 @01:05AM (#21740712)
Re:How TiKV reads and writes by G8WyaX on Monday December 09, 2019 @01:09AM (#21740731)
Re:How TiKV reads and writes by rapsey on Monday December 09, 2019 @01:51AM (#21740867)
Raft achieves consensus with a log as opposed to a single value. This makes it ideal for databases as they are already working with a write log.
Re:How TiKV reads and writes by mping on Monday December 09, 2019 @06:19AM (#21741768)
Also, it seems that Raft is easier to understand and implement, according to some papers and blog posts I skimmed.
Re:How TiKV reads and writes by londons_explore on Monday December 09, 2019 @02:00AM (#21740890)
Every single concept here smells "Google". Is this a project of an ex-googler?
Re:How TiKV reads and writes by c4pt0r on Monday December 09, 2019 @03:20AM (#21741131)
TiDB/TiKV's CTO here. I don't think so, the co-founding team is not ex-Googlers, but we're all big fans of the papers published by Google, especially, the Spanner/F1/BigTable...So it's no surprise that this project has a little bit `Google flavor`

Ref: https://tikv.org/docs/3.0/concepts/overview/

Re:How TiKV reads and writes by londons_explore on Monday December 09, 2019 @04:27AM (#21741372)
The barrier you will find is that while you have built awesome tech, the vast majority of commercial users with "big data" in fact have small data and small consistency and availability requirements, and a mongodb instance works just fine for them, and that's what they'll choose because they don't want the complexity of managing consensus groups or other theoretical compsci stuff.

Make this stuff so it "just works" with a one liner command to get started, and you'll have a commercial success.

Re:How TiKV reads and writes by baq on Monday December 09, 2019 @07:09AM (#21741953)
this, and i don't even do data science. look at k8s vs all it's smaller siblings: minikube, k3s, etc. i know what i'd rather use in production if i'm a small team. bonus points for ansible scripts in the standard package that i can customize.
Re:How TiKV reads and writes by giovannibonetti on Monday December 09, 2019 @10:24AM (#21743369)
If it were it would probably be implemented in Go instead of Rust.
Re:How TiKV reads and writes by Retr0spectrum on Sunday December 08, 2019 @10:11PM (#21740111)
For a moment I thought the diagrams in this article could have been created using TikZ.
Re:How TiKV reads and writes by shenli3514 on Monday December 09, 2019 @01:29AM (#21740798)
I think they are created using google slides.