Millions of agent branches. One database. Join us at TiDB SCaiLE Europe - June 4, 2026.Register Now

Time Synchronization in Distributed Systems: TiDB’s Timestamp Oracle

This post describes TiDB’s timestamp oracle (TSO), how it delivers time services, and its pros and cons.

TiDB Operator Source Code Reading (V): Backup and Restore

Author: Elon Li (Software Engineer at PingCAP) Transcreator: Ran Huang; Editor: Tom Dewan Previous articles in this series: In our last article, we learned how to implement a component control loop in TiDB Operator. This time, I’ll move on to a new but important topic: backup and restore. Backup and restore are two of the most important and frequently used operations when […]

Implementing Chaos Engineering in K8s: Chaos Mesh Principle Analysis and Control Plane Development

This post describes the practice of Chaos Engineering in K8s clusters, discusses important Chaos Mesh features through analysis of its source code, and explains how to develop Chaos Mesh's control plane with code examples.

TiDB Operator Source Code Reading (IV): Implementing a Component Control Loop

This post explains how TiDB Operator implements a component control loop by taking PD as an example. You'll learn PD and other component's lifecycle management.

How WebAssembly Powers Databases: Build a UDF Engine with WASM

WebAssembly is a binary instruction format designed for secure and near-native execution in the sandboxed environment. This post shares how we use WebAssembly to build a user-defined function engine for TiDB.

TiDB Operator Source Code Reading (III): The Component Control Loop

Learn about TiDB Operator's component control loop and how it manages TiDB's component lifecycle.

How We Trace a KV Database with Less than 5% Performance Impact

As a key-value database, TiKV has much higher performance requirements than a regular application, so tracing tools must have minimal impact. Learn how we trace TiKV requests while impacting performance less than 5%.

TiDB Operator Source Code Reading (II): Operator Pattern

Learn about Kubernetes's Operator pattern and TiDB Operator's major reconcile loop.

TiFS, a TiKV-Based Partition Tolerant, Strictly Consistent File System

TiFS is a distributed file system built upon TiKV. It is partition tolerant, strictly consistent, and most efficient for reading and writing small files or other complicated file system operations.

Linux Kernel vs. Memory Fragmentation (Part II)

This post introduces the principle of memory compaction, how to view the fragmentation index, and how to quantify the latency overheads caused by memory compaction.

Using a GPU Boosts TiDB Analytics Performance by 10 to 150 Times

At TiDB Hackathon 2020, a team used GPU acceleration techniques to improve the performance of CPU-intensive analytical query processing and achieved 10x~150x performance improvement.

TiDB Operator Source Code Reading (I): Overview

TiDB Operator is an operator for running TiDB in Kubernetes. This article will introduce its architecture and what value it brings to you.
13457