Article directory Nacos Ribbon Feign FeignExpansion Nacos Concept: Nacos is a new open source project launched by Alibaba. It is a dynamic service discovery, configuration management and service management platform that makes it easier to build cloud native applications. Nacos is committed to helping users discover, configure and manage microservices. It provides a simple and […]
Tag: aspect
In order to retaliate confidently, I wrote a log aspect output interface input and output parameters.
1.Background In the process of daily troubleshooting, we know that incorrect input parameters are one of the common reasons for interface call failure. Especially the callback interface and openAPI interface provided for third-party calls. Since the level of third-party developers cannot be guaranteed, problems often arise. I repeatedly come to you to ask why it […]
39 | HTTP performance optimization aspects (Part 1)
Since we want to optimize performance, we need to know: What is performance? What indicators does it have, how should it be measured, and what measures should be taken to optimize it? “Performance” is actually a complex concept. Different people and different application scenarios will have different definitions of it. For HTTP, it is a […]
40 | HTTP performance optimization aspects (Part 2)
As mentioned in the previous lecture, there are three links that can be optimized in the entire HTTP system, namely server, client and transmission link (“first mile” and “The middle kilometer”). But because we cannot fully control the client, the actual optimization work is usually done on the server side. This can be subdivided into […]
What aspects should be considered when implementing a front-end monitoring system?
1. Why do we need front-end monitoring Find problems faster Basis for making product decisions Improve the technical depth and breadth of front-end development Provide more possibilities for business expansion 2. Front-end data classification There is actually a lot of front-end data, ranging from PV, UV, and ad clicks that are generally concerned by the […]
In what aspects is the performance improvement of Vue3.0 mainly reflected?
1. Compilation stage Looking back at Vue2, we know that each component instance corresponds to a watcher instance, which will use the data property during component rendering. Recorded as a dependency. When the dependency changes and setter is triggered, watcher will be notified, causing the associated component to re-render. Just imagine, a component structure is […]
Understand all aspects of TypeScript type declarations
.d.ts Type declaration/definition file is an important part of TypeScript. I hope this article can help you understand the following issues: How are type declarations recognized by TypeScript? How to use the type declaration file of a third-party package? How does TypeScript code compile and generate a type declaration file? How to write a type […]
Aspect Android buried statistics activity page usage duration onResume onPause, and save the duration
Aspect Android buried statistics activity page usage duration onResume onPause, and save the duration mark: 1.build.gradle under the project dependencies { classpath ‘com.android.tools.build:gradle:3.5.4’ classpath ‘com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.10’ } 2. build.gradle in the app folder apply plugin: ‘com.hujiang.android-aspectjx’ // Configure AspectJX aspectjx { exclude ‘androidx.core’,’androidx.appcompat’ } dependencies { ……. //Introduce AspectJX dependency implementation ‘org.aspectj:aspectjrt: 1.9.8’ … } import […]
All aspects of user mode process management
5. System load average, use stress, mpstat, pidstat tools to find out the root cause of the increase in average load, 3 points, 1 point will be deducted for one missing screenshot, and 1 point will be deducted for one missing piece of advice (1) System load average The Load indicator indicates how many running […]
AOP custom aspects to realize automatic filling processing of public fields
1.1 Problem Analysis Each table has fields such as creation time, creator, modification time, and modification person. Serial number Field name Meaning Data type 1 create_time Creation time datetime 2 create_user Creator id bigint 3 update_time Modification time datetime 4 update_user Modify person id bigint Manual assignment of values during operation is relatively redundant and […]