I Build a simple microservice project
I Build a simple microservice project
1. Evolution from monomer architecture to microservice architecture
The single architecture we first came into contact with has only one project for the whole system. The packaging is often made into a war package and then deployed to a single tomcat. This is the single architecture, as shown in the figur ...
Posted by NathanLedet on Sun, 13 Feb 2022 14:16:56 +0100
[jsp] [multi word and multi picture] [learning notes] Java Web Learning Trip in winter vacation 1.4
Today, all the train tickets have been bought. I feel closer and closer to Xiagong ๐ค๏ผ Yada ๐ญ๐ญ๐ญ๐ญ๐ญ
1. jsp first entry
1.1. What is jsp
1. The full replacement of jsp is java server pages, which is the server page of Java 2. The main function of jsp is to return the data of html page instead of Servlet program 3. Because it is very com ...
Posted by tomtomdotcom on Sun, 13 Feb 2022 13:34:47 +0100
Python function learning II
python custom function learning II 1, Change of parameters 1. Location parameters Position parameter means that when transferring parameter value, it must correspond to the parameters defined by the function one by one, and the position cannot be disturbed. For example, a user-defined function call with two fixed parameters
def test(name,age): ...
Posted by crash58 on Sun, 13 Feb 2022 13:31:46 +0100
webpack system learning Tree Shaking concept explanation
When the project reaches a certain volume, dividing the code into modules can be easier for us to manage. However, when doing so, we may introduce unnecessary code, and Tree Shaking is a method to optimize the volume by eliminating the code used in the file. Note: Tree Shaking only supports volume optimization for statically introduced modules. ...
Posted by seularts on Sun, 13 Feb 2022 13:23:49 +0100
CGLIB dynamic agent -- example / principle
Original website:
brief introduction
explain
This article introduces the usage of CGLIB dynamic agent with examples.
principle
CGLIB implements proxies for classes.
The principle is to generate a subclass of the specified target class and override its methods to achieve enhancement. However, because inheritance is adopted, the class mod ...
Posted by FrankA on Sun, 13 Feb 2022 13:06:01 +0100
Basic usage of Ant Design Vue: importing components and customizing themes on demand
introductionAs a latecomer, ant design vue is not as famous as element, the pioneer of vue component library. However, with more elements, I still see it in front of me when I start to use antv. Antv is really very different from element in interaction design and api design. I think this difference is better than element.This note is based on v ...
Posted by dbradbury on Sun, 13 Feb 2022 12:44:43 +0100
[STL source code analysis] summary note (12): Functors and adapters
00 in front
Functions and adapter s come to the last part of the whole STL. Although these two parts are not many, they can be said together.
But as the two major components of the six major components of STL, they still have many design essences, which deserve our learning.
This is also the last summary note of [STL source code analysis]. ...
Posted by jvalarta on Sun, 13 Feb 2022 12:10:01 +0100
Minimum spanning tree algorithm and bipartite graph algorithm
There are two minimum spanning tree algorithms. One is prim algorithm and the other is Kruskal algorithm. The time complexity of the two algorithms are o (n^2) and O (mlogn) [n is the number of points and m is the number of edges]. The two algorithms behave differently in different graphs.
Let's start with prim algorithm.
The core idea of thi ...
Posted by FaT3oYCG on Sun, 13 Feb 2022 11:57:46 +0100
[rk356x] [firefly Linux] take you through each partition of Ubuntu firmware during a break
In order to facilitate development and product customization, Ruixin micro has defined a set of firmware partitions, and these partition information is stored in parameter Txt file, Firefly defines its own Ubuntu partition with reference to this file, and the file is parameter Ubuntu Txt, stored in Linux_ Under the device/rockchip/rk356x d ...
Posted by Serpent7 on Sun, 13 Feb 2022 11:56:09 +0100
Understanding closure
closure
Rhinoceros book: if a function variable can be saved in the scope of a function, it can be called a closure
Advanced Programming: closure refers to a function that has access to variables in the scope of another function (the function is not exported);
javascript you don't know: when a function can remember and access its lexical sco ...
Posted by newb on Sun, 13 Feb 2022 11:52:51 +0100