3 ms·
Start by reading Redis code, slowly take notes on paper, try to make your version changing small bits at a time. https://github.com/redis/redis/tree/unstable/s
by belter 4y ago
Start by reading Redis code, slowly take notes on paper, try to make your version changing small bits at a time.
https://github.com/redis/redis/tree/unstable/src https://github.com/redis/redis/tree/unstable/src
Entry point here at line 6816: https://github.com/redis/redis/blob/unstable/src/server.c https://github.com/redis/redis/blob/unstable/src/server.c
Also "Code Reading" will be useful. - https://www.amazon.com/Code-Reading-Open-Source-Perspective/dp/0201799405 https://www.amazon.com/Code-Reading-Open-Source-Perspective/...
"Code Reading" tends to be criticized, but I think mostly unfairly.
- _osorin_ 4y agoThanks a lot for the recommendation.