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 […]
Tag: nose
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 […]
How POSTGRESQL uses system functions to diagnose permission problems
Let me introduce the group at the beginning. If you are interested in polardb, mongodb, mysql, postgresql, redis, etc. and have problems, you can join the group if you have any needs. There are big names and CTOs in the major database industry in the group, who can solve your problems. To join a group, […]
How to monitor and diagnose JVM in-heap and off-heap memory usage?
Typical Answer There are many ways to understand JVM memory, and the specific scope of capabilities is also different. A brief summary is as follows: You can use comprehensive graphical tools, such as JConsole, VisualVM (note that starting from Oracle JDK 9, VisualVM is no longer included in the JDK installation package), etc. These tools […]
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 […]
How to monitor and diagnose JVM in-heap and off-heap memory usage?
Lecture 26 | How to monitor and diagnose JVM in-heap and off-heap memory usage? In the last lecture, I introduced the division of JVM memory areas and summarized some related concepts. Today I will further analyze the JVM memory structure, including the part outside the heap with relatively few external data, in combination with JVM […]