The fork Redis source

Find and fork the Redis source on GitHub github.com/redis/redis, and clone the source locally. This is more convenient for us in the process of learning the source code, add notes, debugging, etc.

IDE

I am a heavy user of Java and JetBrains technology stack, so I also use CLion of JetBrains for IDE. The official website is www.jetbrains.com/clion/.

A preliminary study

Use the Statistic plug-in to view the project as a whole.

See that the C files have 296 files in total and 12.4W lines of valid code. The overall code is not much, grasp the main process framework to learn.

compile

Get the source code first switch to 6.2 branch, compile the whole. First make clean, then make, successful ~

Redis source code concise analysis series

The most concise Redis source code analysis series of articles

Java programming ideas – the most complete mind map -GitHub download link, need partners can take ~

Original is not easy, I hope you reprint when please contact me, and mark the original link.