Implementation of spring boot custom annotation (used with AOP, reflection mechanism and interceptor)

1. Annotation type Java annotation is used to provide metadata for Java code. You can obtain the specified annotation object through reflection, and then obtain the metadata information in the annotation. Java annotations have four standard meta annotations: @ Target, @ Retention, @ Documented, @ Inherited. 1.1 @Target @Target describes ...

Posted by Harbinger on Mon, 21 Feb 2022 04:50:05 +0100

Design mode - builder mode

1, Builder mode 1. Basic introduction Builder moms, also known as generator pattern, is an object construction pattern. It can abstract the construction process of complex objects, so that different implementation methods of this abstract process can construct objects with different expressions.Builder mode is to create a complex object s ...

Posted by jrdiller on Mon, 21 Feb 2022 04:48:40 +0100

Microservices have everything from code to k8s deployment (XI. Log collection)

We will use a series to explain the complete practice of microservices from requirements to online, from code to k8s deployment, from logging to monitoring. The whole project uses the micro services developed by go zero, which basically includes go zero and some middleware developed by relevant go zero authors. The technology stack used is bas ...

Posted by AmbroseChapel on Mon, 21 Feb 2022 04:46:50 +0100

How to introduce SDK into self owned application teaching

In the last article, FinClip Our engineers and we mainly compared FinClip with mPaaS and Unisdk. In this article, we will talk about how to introduce FinClip SDK into our own apps.iOS terminalIt is very simple to introduce FinClip SDK into iOS project. Please refer to the following stepsStep 1: get SDK KEY and SDK SECRETTo use the SDK, you need ...

Posted by waterssaz on Mon, 21 Feb 2022 04:41:43 +0100

Docker&Kubernetes ❀ Kubernetes cluster Pod controller - Deployment (Deploy)

1. Resource allocation list In order to better solve the problem of service arrangement, Kubernetes introduced the Deployment controller in v1.2. This controller does not directly manage the Pod, but indirectly manages the Pod by managing the ReplicaSet. Therefore, the function of Deployment is more powerful than that of the ReplicaSet; ...

Posted by ragy on Mon, 21 Feb 2022 04:32:04 +0100

Record a WebFlux application memory leak troubleshooting

backgroundThere is a service in the company project, which is similar to a crawler. It needs to parse the given URL and extract the page title, cover image, summary, icon and other information from the returned HTML. Because this is a pure memory service without DB access, and the downstream service (URL address to be resolved) is not an intern ...

Posted by shocker-z on Mon, 21 Feb 2022 04:29:50 +0100

Shang Silicon Valley super brother ----- Vue notes

note Scaffold file structure ├── node_modules ├── public │ ├── favicon.ico: Tab Icon │ └── index.html: Main page ├── src │ ├── assets: Storing static resources │ │ └── logo.png │ │── component: Store components │ │ └── HelloWorld.vue │ │── App.vue: Summarize all components │ │── main.js: Entry file ├── .gitignore: git Con ...

Posted by Lee W on Mon, 21 Feb 2022 04:18:55 +0100

[Go] Channel of concurrent programming

1, What is channel for? For communication between goroutine s Simply executing functions concurrently is meaningless. Functions need to exchange data between functions to reflect the significance of concurrent execution of functions. Although shared memory can be used for data exchange, shared memory is prone to race problems in differe ...

Posted by gordonmc on Mon, 21 Feb 2022 04:19:00 +0100

Hello C -- pointers and functions

Pointers make a great contribution to the function of the function. Pointers can pass data to the function and allow the function to modify the data. The function of pointer to function mainly has two aspects: passing pointer to function and declaring function pointer. 1, Stack and heap of programs The stack and heap of programs are the run ...

Posted by MrPotatoes on Mon, 21 Feb 2022 04:12:10 +0100

Hello C -- use of bit operation

ARM is the unified addressing of memory and IO. There are many control registers in SoC. These control registers are set by bit operation of these registers to control peripheral functions. During the process of modifying some bits of the register, other bits cannot be modified. 1, Basis of bit operation The basic bitwise operators of C lan ...

Posted by hillbilly928 on Mon, 21 Feb 2022 04:11:22 +0100