Summary of basic knowledge of microservice
1. Micro service module
The project is divided into these modules: public module, external API module, management and monitoring module, business module, etc.
For example, common modules, such as Filter, user-defined verifier, exception interceptor, paging tool class, query parameters and other commonly used modules to prevent XSS attacks in ...
Added by Nexus10 on Fri, 18 Feb 2022 13:00:40 +0200
Simple construction of springboot
advantage
The configuration becomes simple. In most cases, you can use the default configuration; For example, maven dependency, using starter to simplify maven configurationThe construction of the project is simple, with a built-in framework for integrating the third party and no configuration integration;The deployment of the project is ...
Added by Chrysanthus on Fri, 18 Feb 2022 12:36:38 +0200
java Concurrent Programming Practice
java Concurrent Programming Practice
Programmer interview
2020-04-05 11:08:16
77
Category column:
java concurrency
Article label:
ThreadLocal
...
Added by smoothrider on Fri, 18 Feb 2022 12:33:42 +0200
[Python series column] Part 15 functional programming in Python
Functional programming
Function is a kind of encapsulation supported by Python built-in. We can decompose complex tasks into simple tasks by disassembling large pieces of code into functions and calling functions layer by layer. This decomposition can be called process oriented programming. Function is the basic unit of process oriented pr ...
Added by jpraj on Fri, 18 Feb 2022 11:35:13 +0200
LinkedList source code interpretation (the most detailed)
LinkedList source code interpretation
Inheritance structure of LinkedList
Properties of LinkedList
LinkedList constructor
The core method of LinkedList
FailFast mechanism
Inheritance structure of LinkedList
public class LinkedList<E>
extends AbstractSequentialList<E>
implements List<E>, Deque<E>, ...
Added by roustabout on Fri, 18 Feb 2022 10:42:03 +0200
JAVA static proxy and JDK dynamic proxy
preface
This article will briefly introduce the static proxy of java and the dynamic proxy of JDK. Recently, I was studying JAVA related knowledge and found that the relevant explanations of agents on the Internet are too messy, so I sort them out here for reference. I have little engineering experience, so I don't know why to use the agen ...
Added by rsmarsha on Fri, 18 Feb 2022 10:18:03 +0200
Interview Raider 23: talk about the thread life cycle and the conversion process?
The life cycle of a thread refers to the whole process from creation to destruction. Generally, there are five kinds of thread life cycles:Initial stateOperational statusrunning state Dormant stateTermination statusTheir state transitions are shown in the following figure:Java thread lifecycleThe life cycle of Java thread is different from that ...
Added by dagon on Fri, 18 Feb 2022 08:46:43 +0200
Detailed explanation of binary tree exercises
catalogue
1. Check whether the two trees are the same
2. Judge whether a tree is a subtree of another tree
3. Judge whether a tree is a balanced binary tree
4. Symmetric binary tree
5.1 sequence traversal
5.2 sequence traversal returns the nodes of each layer
6.1 nearest common ancestor of binary tree
6.2 find the nearest common ...
Added by Kudose on Fri, 18 Feb 2022 08:03:07 +0200
Some common patterns in design patterns
Design Mode
The role of design patterns
Reuse design and codeIncrease scalabilityIncrease flexibilityImproving development efficiency
Classification of design patterns
Creative mode Patterns for object instantiation, Creative Patterns for decoupling instantiated objects of objects Structural pattern Combining classes or objects together t ...
Added by DSGameMaker on Fri, 18 Feb 2022 06:47:07 +0200
Java Basics - multithreading
Thread concept
Concept of program, process and thread (1) is a set of instructions written in a certain language to complete a specific task. Refers to one Static code, static object. (2) it is an execution process of a program or a running program. Is a dynamic The process of: it has its own process of emergence, existence and extinction&mdas ...
Added by lookee on Fri, 18 Feb 2022 06:37:58 +0200