Go's Runtime Related Problems in TiDB Production Environment

Ed Huang at Go Systems Conf SF 2020

TiDB is a distributed NewSQL database written in Go from the ground up. As the system becomes more complicated, some problems related to Go’s runtime have emerged when applied in production environments. These problems are typical and profound, covering important areas such as memory management, garbage collection, and goroutine scheduling. In this talk, Ed introduces specific cases in real production environments and share how they reproduced, located, and analyzed these problems.