An interesting memory leak bug.

bug review Bug fix timeline At 10:00 p.m. on x month x, the memory of X service began to rise rapidly. At 10:18 on X, users reported that x service memory rose rapidly. mongodb was restarted due to insufficient memory at 10:20 on x Restart x service at 10:22 on X At 11:00 p.m. on x month x, the memory of X service rose rapidly again. At 14:45, ...

Posted by carlos1234 on Sun, 20 Oct 2019 17:02:52 +0200

Brief Talk about Builder Builder Model

I. Preface Builder builder pattern and template pattern are very similar, but there are differences. In template pattern, the parent class operates on the implementation of the child class and handles one thing in the parent class. But in Builder pattern, the parent class and the child class do not care about how to handle it, but use another ...

Posted by SundayDriver on Wed, 18 Sep 2019 10:59:35 +0200

Builder Model of Creative Design Patterns

1 Builder schema concept 1.1 Introduction Builder pattern is a step-by-step creation pattern for complex objects, which allows users to control the object's construction process more finely without knowing the details of the internal construction. The purpose of this model is to decouple the process of building complex objects from its com ...

Posted by gortron on Fri, 05 Jul 2019 02:36:35 +0200

Node Server Zero Foundation-Automatic Overloading of Development Environment Files

Include for use, modification and reprint have been obtained Tencent Cloud To grant authorization Preface In web front-end development, we will use the Watch module of Grunt, Gulp and Webpack tools to monitor file changes. What should the server do? In fact, file changes can still be monitored with the help of build tools, but we also need to ...

Posted by Daguse on Tue, 02 Jul 2019 00:04:00 +0200

MyFlag Step 10: Background Code Decoupling and Client Specific Function Design

Introduction This week happens to be the mid-term of the development cycle. We are developing in an orderly manner according to the original plan. At this stage, our main tasks are as follows: Code Rewriting and Decoupling in DAO Layer Comment + My News DAO Layer Code Rewriting and Decoupling In the last stage of this week, we successfull ...

Posted by Ryyo on Tue, 25 Jun 2019 21:05:37 +0200

Event distribution mechanism

discuss Android Before the event delivery mechanism, it is important to identify the two basic control types of android: View and ViewGroup. View is a common control, no sub-layout, such as Button, TextView. ViewGroup inherits from View; ViewGroup control, with child controls, such as Linearlayout, Listview, etc. There are three most ...

Posted by daloss on Wed, 29 May 2019 22:05:58 +0200