How We Reduced Multi-region Read Latency and Network Traffic by 50%
High read latency and network traffic are common issues for a multi-region architecture. At TiDB Hackathon 2019, a team won 2nd place by reducing multi-region read latency and network traffic by 50%. Read this post to learn how they did it.
The Rust Compilation Model Calamity
In this first episode of the Rust Compile time series, Brian Anderson, one of Rust's original authors, shares with you his researches and experiences with Rust compile times, using the TiKV project as a case study.
How TiKV Reads and Writes
This post details how TiKV, as a distributed database, stores the data contained in a write request and how it retrieves the corresponding data with consistency guaranteed.
AutoTiKV: TiKV Tuning Made Easy by Machine Learning
AutoTiKV is a machine-learning-based tuning tool that helps decrease tuning costs and make life easier for DBAs. This post shows AutoTiKV's design, its machine learning model, and the automatic tuning workflow.
Squashed Bugs, Served Hot and Fresh with Failure Rate Heatmaps
At TiDB Hackathon 2019, a team won the third prize by building a bot that helps quickly locate bugs in the code. Read this post to get more details.
10x Performance Improvement for Expression Evaluation Made Possible by Vectorized Execution and the Community
We vectorized 360+ built-in functions along with the TiDB community. Vectorized execution has greatly improved the expression evaluation performance. Some functions even achieved 10x performance. Here is our vectorization story.
Building a Large-scale Distributed Storage System Based on Raft
This post introduces the PingCAP team's firsthand experience in designing a large-scale distributed storage system based on the Raft consensus algorithm.
How We Compiled a Golang Database in the Browser Using WebAssembly
We compiled a Golang database (TiDB) into an in-browser database using WebAssembly (Wasm). This post introduces why and how we built an in-browser database.
TiDB in the Browser: Running a Golang Database on WebAssembly
This post introduces how you can run TiDB directly in a web browser, how it is possible, and what the limitations are.
Safety First! Common Safety Pitfalls in Distributed Databases Found by Jepsen Tests
This post introduces why Jepsen is important to the distributed database industry, how it works, common issues found, how we use Jepsen with TiDB, and a short summary of all problems Jepsen has found.
How TSQ Becomes a Performance Bottleneck for TiKV in AWS ARM Environment
Explore into Linux kernel to find out how TSQ becomes a performance bottleneck for TiKV in an AWS ARM environment.
Porting TiDB to Arm64 for Greater Flexibility
This article describes how PingCAP compiled and benchmarked TiDB on the Amazon Web Services (AWS) Arm64 platform.