How to start reading fdb source code?

I have downloaded the foundation db source code . After compiling the code ,I succeed to launch the fdb server, and write a simple test code using python client API.

I want to read the source code to learn the inner implementation of fdb, but I don’t know how to start and where to start. Could anyone give me some suggestions?

2 Likes

Hi,

It may be a good idea to start from something simple. The GitHub repo has a label for “good first issue” at here.

As to where the code starts, the fdbserver code is in fdbserver.actor.cpp. The starting point is the main() function in that file.

BTW, it is also useful to review the videos from last year’s FoundationDB summit. It covers the high-level design ideas of Foundations. For example, Evan’s talk gives a nice overview of the architecture.

2 Likes