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.
Trace Linux System Calls with Least Impact on Performance in Production
To trace system calls in Linux effectively, you can use perf to analyze system calls that have latency in general scenarios. For containers or Kubernetes that use cgroup v2, traceloop is more convenient.
Transparent Huge Pages: Why We Disable It for Databases
This post dives deep into how transparent huge pages (THP) slow down the system. You'll learn why you should disable THP to improve your database performance and how to disable it in Linux.
chaos-mesh-action: Integrate Chaos Engineering into Your CI
Chaos Mesh is a cloud-native chaos testing platform that orchestrates chaos in Kubernetes environments. This article shares how to use chaos-mesh-action, a GitHub action to integrate Chaos Mesh into the CI process.