Weekly Technical Report for the fourth week of November 2022

This week, I’ve been mostly optimizing a service. This service is written in Java. When there is not much traffic in the production environment, there is also a call batch timeout. And when the timeout is sent, the CPU usage is very low. After observing this, the CPU usage never went up. At this point, it was speculated that the threads were all blocking on some operation, causing the problem. Most of the services I’ve worked with, including this one, are IO-intensive. These types of services involve a lot of RPC calls, and when RPC calls are made, the worker threads block, making it impossible to process other requests. So the number of worker threads for these types of services are set to be very large to ensure … Read more

Technical Review for the third week of November 2022

This is the first of my periodic reviews that has a technical problem I’ve encountered at work, so this installment is mostly a summary of experiences over time, to get a head start on future technical reviews. I’ve been working at the company for almost six months now, and I recently switched from client-side development to backend development. This is what I wish, but actually not what I asked for. Because I personally feel that in the current career plan of China’s tech industry, backend developers can explore slightly more things, and the scale of exposure to problems will be much larger. In fact, the client side is also promising, my first more mature open source project GpgFrontend is a client-side project. I invested a lot of time … Read more

Summarize for yourself some practical lessons for developing habits

Many people want to develop a good habit, because a good habit can still do a good thing for a long time. This good thing, every time you do it will bring a certain amount of good influence. And a good impact of time and again stacked, after a relatively long period of time, can make a person’s some aspects of a huge positive change. And many people try to develop habits but have trouble sticking to them. Instead, they resort to a lot of external forces to “supervise” themselves, which in turn makes them more painful. I think the root cause of this is a lack of strong intrinsic motivation. Let’s say you want to learn a foreign language. You know that learning a foreign language can … Read more