🥫🍞

Spring 循环依赖

Spring Framework
Spring 循环依赖三级缓存singletonObjectsearlySingletonObjectssingletonFactories 对于 earlySingletonObjects 的使用场景存在于多循环依赖,比如 beanA 依赖于 beanB 和 beanC,beanB 和 b ...
Read more

加密解密笔记

crpto
加密解密笔记密码技术 原文:或者叫明文,就是被隐藏的文字。 加密法:指隐藏原文的法则。 密文:或者叫伪文,指对原文按照加密法处理过后生成的可公开传递的文字。 密钥:在加密法中起决定性的因素,可能是数字、词汇,也可能是一些字母,或者这些东西的组合。 1. 对称加密算法对称加密是指加密和解密使 ...
Read more

Shiro BasicHttpAuthenticationFilter 认证流程

Shiro Security
Shiro BasicHttpAuthenticationFilter 认证流程分析以 Shiro 1.8.0 为例子,其中新增了一些新的组件,譬如 HttpAuthenticationFilter之前使用的 1.4.1 并不存在 HttpAuthenticationFilter 组件 1. ...
Read more

Spring Boot Features

Spring Boot
Spring Boot Features1. SpringApplicationSpringApplication 类提供了一种简单的方式来引导 Spring 应用程序从 main 方法中启动。在许多情况下,你可以委托给静态的 SpringApplication.run 方法,就像下面的例子 ...
Read more

Python 爬虫学习笔记

Python 爬虫1. urllib1.1. 参考文档https://docs.python.org/3/howto/urllib2.html 1.2. 抓取 url123import urllib.requestwith urllib.request.urlopen('http: ...
Read more

各类场景请求参数

身份证号码 存在 X 这种非数字的符号,需要注意用户可能会小写
Read more

Spring Framework Web Servlet

Spring Framework
Web on Servlet Stack1. Spring Web MVCSpring Web MVC 是基于 Servlet API 的原始 Web 框架,从很早的时候就包含在 Spring Framework 之中。正式名称 —— Spring Web MVC,来源于它的源模块名称(sp ...
Read more

Spring Framework Core

Spring Framework
Core1. The IoC Container这一章主要讲述 Spring 的 IoC 容器,也就是 Inversion of Control container。 1.1. Introduction to the Spring IoC Container and Beans本章涵盖了控制 ...
Read more

undo 分配

分配临时回滚段和持久回滚段的函数名不同只在于末尾的单词不同: trx_assign_rseg_temp trx_assign_rseg_durable 当一个事务被判定为读写模式时,会为其分配 trx_id 以及持久回滚段。 分配临时回滚段是当调用 trx_undo_report_row_o ...
Read more

undo 清理

purge_queuepurge_queue中记录了所有等待Purge的Rollback Segment和其History中trx_no最小的事务 预处理storage/innobase/trx/trx0undo.cc 事务结束的时候,对于需要Purge的Upd ...
Read more
Prev Next