Design pattern [3.3] - Interpretation of CGLIB dynamic agent source code

cglib dynamic proxy Introduction to cglib CGLIB is an open source project, a powerful high-performance and high-quality code generation library, which can expand Java classes and implement Java interfaces at run time. The bottom layer is to use a small and fast bytecode processing framework ASM to convert bytecode and generate new classes. The ...

Posted by vfwood on Mon, 08 Nov 2021 11:25:49 -0800

Day79_ Flink (V) FlinkSQL and CEP

Syllabus Course content learning effect Master the goal FlinkSQL FlinkTable master FlinkSQL master FlinkCEP FlinkCEP master Task performance optimization operator chain master slot sharing master Flink asynchronous IO master Checkpoint optimization master 1, Table & SQL (1) Overview Table API is a ...

Posted by stereo on Mon, 08 Nov 2021 11:18:42 -0800

Data Acquisition Third Job

Job 1 Requirements: Specify a website to crawl all the pictures in this website, such as China Meteorological Network (China Meteorological Network). http://www.weather.com.cn ). Crawl using single-threaded and multithreaded methods, respectively. (Limit the number of crawled pictures to the last 3 digits of the school number) Output inform ...

Posted by Stunt on Mon, 08 Nov 2021 11:15:22 -0800

Spring Cloud - Hystrix: Services

Hystrix: Service fuse Problems faced by distributed systems There are dozens of dependencies for applications in complex distributed architecture, and each dependency will inevitably fail at some time! 1. Service avalanche When calling between multiple microservices, suppose microservice A calls microservice B and microservice C, and mi ...

Posted by Josepheuan on Mon, 08 Nov 2021 11:11:20 -0800

From scratch, use VuePress to build a personal static blog website

1, Why VuePress There are many tools commonly used to build Blog websites, such as WordPress,Jekyll,Hexo,Docsify Each tool has its own advantages. You can choose according to your preferences, but it is not recommended that you spend energy on studying the use of each tool. After all, building a blog is only the first step. Writing and sharing ...

Posted by leeperryar on Mon, 08 Nov 2021 11:01:55 -0800

Explain several ways for Linux to view real-time network card traffic

If kept has 10 VIPs, how to check the traffic of each VIP? Here you can use the sar command to view the network card traffic. The premise is that when you keep listening to the network card. Set the subinterface when setting up the network card. That is, your network card is bound to the sub interface. In this way, eth0:0 and eth0:1 can see t ...

Posted by XenoPhage on Mon, 08 Nov 2021 11:01:58 -0800

Spring's way to God chapter 53: Spring integration MyBatis

1. Content of this article [submission at the end of the document] This article mainly introduces the integration of mybatis and spring. For those unfamiliar with mybatis, it is recommended to take a look first MyBatis Master Series At present, we use more annotation methods, so we mainly introduce annotation methods, and xml methods are not in ...

Posted by horsetags on Mon, 08 Nov 2021 10:38:47 -0800

In depth analysis of concurrent.futures

Simulate a story, randomly find a few beautiful pictures from Baidu pictures, download them, save them locally, and download them in order first 1 sequential synchronous Download import random import time import requests urls = [ "https://t7.baidu.com/it/u=3676218341,3686214618&fm=193&f=GIF", "https://t7.baidu.com/it/u=3 ...

Posted by esfisher on Mon, 08 Nov 2021 10:08:04 -0800

Common modules of saltstack

Common modules of saltstack 1. Introduction to saltstack module Module is one of the components that SaltStack contacts most in daily use. It is used to manage object operations. It is also the entrance for SaltStack to manage by pushing. For example, our daily simple tasks such as executing commands, viewing package installation and serv ...

Posted by dfarrell on Mon, 08 Nov 2021 10:06:28 -0800

springboot quick reference

springboot notes Reference from http://c.biancheng.net/spring_boot/ Parent project dependency management <!--SpringBoot Parent project dependency management,spring-boot-starter-parent Is all Spring Boot The parent dependency of the project, which is called Spring Boot The version arbitration center can uniformly manage some commo ...

Posted by xluminex on Mon, 08 Nov 2021 10:01:48 -0800