Continuous Profiling of Amazon EKS Container Service to Diagnose Application Performance with Pyroscope

The current status of Continuous Profiling In the observable field, Trace, Log, and Metrics serve as the “three pillars” to help engineers more easily gain insight into the internal problems of applications. However, it is often necessary for developers to drill down into the application to find the root cause of the bottleneck. In the […]

std::chrono gets the current second/millisecond/microsecond/nanosecond timestamp

How to get the current timestamp First use std::chrono to get the current system time, then convert the current system time to the epoch time std::time_t type, and then use std::localtimeConvert the std::time_t type to the local time structure std::tm type, and finally use strftime to format the time output. The std::tm structure contains a […]

Diagnose and repair the Linux kernel problems encountered by TiDB Operator in the K8s test

Kubernetes (K8s) is an open source container orchestration system that automates application deployment, scaling, and management. It is the operating system of the cloud-native world. Any flaws in K8s or the operating system can put user processes at risk. As the PingCAP EE (Efficiency Engineering) team, we found two Linux kernel bugs while testing TiDB […]