My girlfriend learned this set of performance optimization methodology, and the leadership year-end bonus was given to her for 6 months
catalogue
summary
Preparatory knowledge
Simulation environment preparation
CPU full
Memory leak
deadlock
Frequent thread switching
summary
summary
Performance optimization has always been the focus of back-end service optimization, but online performance failure problems do not often occur, or due to business products, there is n ...
Posted by tblade on Thu, 10 Mar 2022 01:45:37 +0100
[advanced features of Java] java learning journey 38 XML parsing method
Definition: Extensible Markup Language
characteristic:
XML has nothing to do with programming languagesIt can realize the data conversion between systems realized by different programming languages
Purpose:
Data exchangeImplementation project profile
Comparison with json:
json is more lightweight than xmlxml is more readabl ...
Posted by Rakim on Wed, 09 Mar 2022 17:23:15 +0100
Basic data types and variables of java series
Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it
Basic data types and variables of java series
preface
In ancient times, great events must be established not only by extraordinary talents, but also by perseverance!
1. Literal consta ...
Posted by Daisy Cutter on Wed, 09 Mar 2022 16:55:59 +0100
Implementation of io stream serialization in express e stack
Express e stack (Io serialization)
MVC mode (three-tier architecture mode)
Concept:
MVC (model view controller) is a framework mode. In the classic MVC mode, M refers to the business model, V refers to the user interface, and C refers to the controller.
M: Namely model A model is a model that represents business rules.
V: Namely View Vi ...
Posted by CantonWeb on Wed, 09 Mar 2022 16:25:17 +0100
Android talk about Bitmap
preface
After a year, I found myself slack and didn't blog much. I also wanted to write the problems encountered in the project, but I didn't put them into action. Recently, I reconstructed some bad code of the project. When I'm free, it's also time to share the problems encountered in the project with you.Well, after nagging, today we wi ...
Posted by jack_wetson on Wed, 09 Mar 2022 15:48:04 +0100
When SpringCloud Gateway integrates the interface of a service after Springfox(SwaggerUI3), the request path will not add the corresponding service name problem.
Write in front
When you see this article, it has been integrated by default Springcloud/gateway/springfox(swaggerui3), It's just a problem when testing the service.
Problem description
When accessing through the swagger UI page, we will ignore the service name and directly access the interface mapped by swagger, but we forward it throug ...
Posted by kaos057 on Wed, 09 Mar 2022 15:05:37 +0100
Introduction to Mybatis - adding, deleting, modifying and querying a single table based on xml configuration
Introduction to Mybatis - add, delete, modify and query a single table based on configuration
Introduction to Mybatis
Configuration steps
Use steps (all xml configurations have been configured)
Basic data
Entity class
Interface of DAO layer
Master profile
Sub profile
Test class
summary
Introduction to Mybatis
Official ...
Posted by alexrait1 on Wed, 09 Mar 2022 14:14:25 +0100
JavaSE_04 [ process control statement ]
JavaSE_04 [ process control statement ]
Today's content
for loop statementwhile loop statementdo... while loop statementbreakcontinue
Learning objectives
Understand the format and execution process of for statement Understand the format and execution flow of while statement Understand the format and execution flow of do... while statement ...
Posted by dinno2 on Wed, 09 Mar 2022 14:11:54 +0100
ThreadPoolExecutor task submission and stop process and underlying implementation
ThreadPoolExecutor task submission
executor task submission process
It can be seen from the source code that the Excutor interface under JUC only provides an executable method executor
public interface Executor {
/**
* Executes the given command at some time in the future. The command
* may execute in a new thread, in a poole ...
Posted by jmaker on Wed, 09 Mar 2022 13:50:35 +0100
Transaction learning notes
Transaction
What is a transaction?
A smallest non separable work unit;
Usually, a transaction corresponds to a complete business (for example, bank account transfer business, which is the smallest work unit) A complete business requires batch DML(insert, update, delete) statements to be jointly completed
Transactions are only related ...
Posted by MarineX69 on Wed, 09 Mar 2022 13:00:20 +0100