Hacker attack and defense of station B [network security] - record
cc attack: for applications, such as malicious swipe verification code
DDoS attack: for servers, such as a large number of http requests, malicious access with large traffic
Note source station B video (Knowledge Area > wild Technology Association)Hacker attack and defense: from entry to access to y ...
Added by FoxhoundX on Sun, 21 Jun 2020 12:11:09 +0300
04GORM source code interpretation
brief introduction
query
Query process
Build query SQL statement
Conditional statement
Summary
search structure
Definition of search
search method
Summary
summary
brief introduction
GORM source code interpretation, based on v1.9.11 edition.
query
In the previous section, we explored how models are defined and how data tables are creat ...
Added by champoi on Sun, 21 Jun 2020 12:01:47 +0300
RocketMQ for reliable message final consistency
RocketMQ for reliable message final consistency
Business description
In this case, RocketMQ middleware is used to realize the final consistent distributed transaction of reliable messages and simulate the transfer transaction process of two accounts.
Two accounts are in different banks (Zhang San is ...
Added by legomez2000 on Sun, 21 Jun 2020 09:31:11 +0300
If BigDecimal is not used properly, the boss's loss will still be deducted from your salary
Yunqi information:[ Click to see more industry information]Here you can find the first-hand cloud information of different industries. What are you waiting for? Come on!
We have basically formed a common sense that we need to use BigDecimal instead of others where money is needed, and we all know that floating-point variables will lose precisio ...
Added by keiran420 on Thu, 18 Jun 2020 11:53:31 +0300
Spring boot + durid + mybatis + docker for mysql read-write separation-2
Spring boot + durid + mybatis + docker for mysql read-write separation-2
preface
Project structure
Code interpretation
Data source configuration
DataSourceType
DBContextHolder
RouteDataSource
DataSourceConfig
SqlSessionFactoryConfig
ReadOnly
ReadOnlyAop
mapper related classes
Business
test
New use ...
Added by prakash on Wed, 17 Jun 2020 08:59:58 +0300
Stored procedure cursor
example:
At present, there are three tables A, B and C. among them, A and B are one to many relationships, and B and C are one to many relationships. Now it is necessary to save the primary key of table A in B into C;
The general idea is to query out B and update table C with an update statement, bu ...
Added by bobicles2 on Tue, 16 Jun 2020 10:41:40 +0300
Spring Boot Task Scheduling
2.1.12 Timing Tasks
The Spring framework comes with task scheduling capabilities that are like a lightweight Quartz and are easy to use without relying on other JAR packages.
Simply add @EnableScheduling to the project master startup class to turn on task scheduling
@SpringBootApplication
@EnableScheduling
public class LearnApplication {
p ...
Added by Desbrina on Mon, 15 Jun 2020 21:10:56 +0300
jdbc advanced custom connection pool and custom jdbc framework
JDBC advanced
Use of JDBC connection pool
The concept of database connection pool
Database connection is a key and limited resource. When java program and database get the connection, it consumes resources especially. Therefore, a database connection pool is created to manage the connection betwe ...
Added by shane0714 on Mon, 15 Jun 2020 11:47:18 +0300
Getting started with SkyWalking
Article catalog
Getting started with SkyWalking
background
Install Elasticsearch and start
Install SkyWalking and start
Agent for configuring spring cloud microservices
View the link call of spring cloud
Single microservice call monitoring
Call link monitoring between microservices
All microservice ...
Added by gaz_hayes on Sun, 14 Jun 2020 10:17:06 +0300
Notes on the use of Spring IOC, AOP
Configuration of xml
Create xml file in src directory, named custom
Add code to xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http:/ ...
Added by jonorr1 on Fri, 12 Jun 2020 04:59:06 +0300