lni / dragonboat

A feature complete and high performance multi-group Raft library in Go.
Apache License 2.0
4.98k stars 533 forks source link

where is the doc on how the mechanics of "tan" log work? #306

Closed kolinfluence closed 1 year ago

kolinfluence commented 1 year ago

where is the doc on how the mechanics of "tan" log work?

lni commented 1 year ago

There is no concrete docs for that, the implementation itself is pretty straight forward.

Please feel free to read the code and ask questions whenever you want.

kolinfluence commented 1 year ago

@lni can you pls write a simple 2 paragraphs with a "table" in text how the data definition is stored?

something like this? just something simple for people to digest https://blog.csdn.net/ByteDanceTech/article/details/129964969?ydreferer=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS8%3D

it's definitely simple to you but high performance stuff is never simple.

lni commented 1 year ago

sorry, but such duplicated info (everything already in the code) is expensive to maintain and quite often it becomes inconsistent soon after it is written.