Here is a comprehensive collection of past TiFlash source code analysis materials, available for download.
Issue 1: Design Ideas of TiFlash Storage Engine
Author: Huang Junshen
Summary: This issue introduces the overall form of TiDB HTAP and provides a detailed analysis of the design ideas for optimizing the storage layer DeltaTree engine and its submodules.
Meeting Materials: TiFlash Storage Layer Overview.pdf (877.2 KB)
Video Replay: Design Ideas of TiFlash Storage Engine_Bilibili
Full Review: Column - TiFlash Source Code Reading (1) TiFlash Storage Layer Overview | TiDB Community
Issue 2: Overview of TiFlash Computing Layer
Author: Xu Fei
Summary: This issue provides an overview of the design principles and code implementation of the TiFlash computing layer.
Meeting Materials: TiFlash Computing Layer Overview - Xu Fei.pdf (1.1 MB)
Video Replay: Source Code Analysis - TiFlash Computing Layer Overview_Bilibili
Full Review: Column - TiFlash Source Code Reading (2) Computing Layer Overview | TiDB Community
Issue 3: Analysis of TiFlash DeltaTree Engine Design and Implementation Part 1
Author: Shi Wenxuan
Summary: This issue provides an in-depth understanding of the principles and workflows related to the write path of the TiFlash storage layer DeltaTree engine.
Meeting Materials: TiFlash DeltaTree Storage Engine (Part 1).pdf (2.2 MB)
Video Replay: Analysis of TiFlash DeltaTree Engine Design and Implementation_Bilibili
Full Review: Column - TiFlash Source Code Reading (3) DeltaTree Storage Engine Design and Implementation Analysis - Part 1 | TiDB Community
Issue 4: Analysis of TiFlash DeltaTree Engine Design and Implementation Part 2
Author: Shi Wenxuan
Summary: This issue provides an in-depth understanding of the read and write workflows and code implementation of the TiFlash storage layer DeltaTree engine.
Meeting Materials: TiFlash DeltaTree Storage Engine (Part 2).pdf (1.2 MB)
Video Replay: Source Code Analysis | TiFlash Storage Layer DeltaTree Engine (Read Path)_Bilibili
Full Review: Column - TiFlash Source Code Reading (5) DeltaTree Storage Engine Design and Implementation Analysis - Part 2 | TiDB Community
Issue 5: Analysis of TiFlash DDL Module Design and Implementation
Author: Hong Yunyan
Summary: This issue provides an understanding of the design ideas and code implementation of the TiFlash DDL module.
Meeting Materials: TiFlash Source Code Analysis - DDL Module(2).pdf (1.5 MB)
Video Replay: Source Code Analysis | TiFlash DDL Module Design and Implementation Analysis_Bilibili
Full Review: Column - TiFlash Source Code Analysis (4) | TiFlash DDL Module Design and Implementation Analysis | TiDB Community
Issue 6: Design and Implementation of Common Operators in TiFlash
Author: Qi Zhi
Summary: This issue provides an understanding of the various stages of TiFlash operators, explaining the design logic of the operator code, enabling further independent code reading or simple issue handling.
Meeting Materials: Design and Implementation of Common Operators in TiFlash.pdf (2.9 MB)
Video Replay: Source Code Analysis | Design and Implementation of Common Operators in TiFlash_Bilibili
Issue 7: Design and Implementation of TiFlash DeltaTree Index
Author: Li Dezhong
Summary: This issue provides an understanding of the role and implementation principles of the core data structure DeltaTree Index in the TiFlash storage layer.
Meeting Materials: Design and Implementation Analysis of TiFlash DeltaTree Index.pdf (1.2 MB)
Video Replay: TiFlash DeltaTree Index_Bilibili
Full Review: Column - Design and Implementation Analysis of TiFlash DeltaTree Index | TiDB Community
Issue 8: Introduction to TiFlash Proxy Module
Author: Luo Rongzhen
Summary: This issue helps understand the principles of the TiFlash Proxy module, how it helps TiFlash obtain data, how it interacts with TiFlash, and the adjustments and optimizations made for TiFlash’s write mode compared to TiKV.
Meeting Materials: TiFlash Source Code Analysis - Proxy Module.pdf (1.6 MB)
Video Replay: Introduction to TiFlash Proxy Module_Bilibili
Full Review: Column - Introduction to TiFlash Proxy Module | TiDB Community
Issue 9: Design and Implementation of TiFlash Expressions
Author: Huang Haisheng
Summary: This issue provides an understanding of the design and source code implementation of TiFlash expressions, aiding in future contributions to TiFlash.
Meeting Materials: Design and Implementation of TiFlash Expressions.pdf (1.8 MB)
Video Replay: Design and Implementation of TiFlash Expressions_Bilibili
Full Review: Column - Design and Implementation of TiFlash Expressions | TiDB Community