Summary of all aspects of getting started with SpringCloud Alibaba components (Part 1): registration center-nacos, load balancing-ribbon, remote calling-feign

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 […]

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 […]

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 […]

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 […]