Understanding Hot Deployment and Hot Reloading in Spring Boot | by Dwen | Aug, 2022

Sprint Boot hot deployment and hot reloading Photo by Milk-Tea on Unsplash In Spring Boot development and debugging, if we need to restart and debug each line of code modification, it may be time-consuming. The Spring Boot team provides the sprint-boot-devtools (Short name: Devtools) plugin for this problem, which tries to improve the efficiency of … Read more

A Guide to Monitor Docker Containers | by Dwen | Aug, 2022

Commands to help you monitor your containers better Photo by Arthur Lambillotte on Unsplash In an enterprise, business is usually not allowed to stop at will. Otherwise, it will bring huge economic losses to the enterprise. To ensure the normal operation of the business, operation and maintenance engineers must use tools to monitor the running … Read more

Understand the MySQL Index Optimization Artifact | by Dwen | Jun, 2022

MySQL index optimization tutorial Photo by Dose Media on Unsplash With the increasing number of users and data volume, the slow query is an unavoidable problem. In general, if a slow query occurs, it means that the interface responds slowly, the interface times out, and other problems. If it is a high concurrency scenario, the … Read more

What Should I Do If the Database Table is Locked? | by Dwen | May, 2022

Troubleshooting and resolution process to solve this use case Photo by Domenico Loia on Unsplash In the programmer’s career, there will always be a situation where the database table is locked, and I ran into it again a few days ago. Due to the sudden demand of the business, all departments are operating and exporting … Read more

Understanding 3 Common Cache Problems in Redis | by Dwen | May, 2022

With the convenience, Redis can also cause many problems — largely due to improper use Photo by Lukas Blazek on Unsplash Redis is a cache solution that we use a lot in our daily work. Using cache can improve the performance of our application and greatly reduce the pressure on the database. But if used … Read more

An Online MySQL Paging Incident That Talk All Night to Fix | by Dwen | May, 2022

MySQL Paging Accidents, experience sharing Photo by Leone Venter on Unsplash Today I will share with you a production accident, an online accident caused by MySQL paging. At 10:30 one night, I was happily sitting on the subway going home after getting off work, thinking about how to arrange my weekend life. Suddenly the phone … Read more

Handling Large Arrays in Golang: Should You Use For Range or For Loop? | by Dwen | May, 2022

Golang loop control method analysis Photo by Nathan Dumlao on Unsplash Go is all about “one way to do one thing”! For example, Go keeps only one type of loop control statement, which is the classic version of for loop. And loop control statements such as while, do…whilesupported by C language are excluded from Go’s … Read more