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.
Linux Kernel vs. Memory Fragmentation (Part I)
This post introduces common methods to prevent Linux memory fragmentation, the principle of memory compaction, how to view the fragmentation index, etc.
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.
TiDB Cloud: Managed SQL at Scale on AWS and GCP
This post introduces in detail the features of TiDB Cloud - the fully managed, horizontally scaling, cloud-native, distributed SQL database in the cloud.
How TiDB’s HTAP Makes Truly Hybrid Workloads Possible
This post introduces the design details of the HTAP architecture of TiDB, including the real-time updatable columnar engine, the multi-Raft replication strategy, and smart selection.
A Few More Reasons Rust Compiles Slowly
This is the fourth episode of the Rust Compile Time series. It discusses some factors that cause Rust to build slow, including LLVM, compiler architecture, and linking.
Rust’s Huge Compilation Units
The third episode of the Rust Compile Time series discusses why Rust's compilation units are so big and how that affects compile times.