<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Me_xuan的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Me_xuan</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Me_xuan]]></copyright><item><title><![CDATA[Redis实现分布式锁]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/124418176</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/124418176</guid><author>Me_xuan</author><pubDate>Tue, 26 Apr 2022 00:52:42 +0800</pubDate><description><![CDATA[基于Redis实现分布式锁，原理介绍，与zookeeper进行简单对比]]></description><category></category></item><item><title><![CDATA[Redis集群（二）]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/124395303</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/124395303</guid><author>Me_xuan</author><pubDate>Mon, 25 Apr 2022 00:32:13 +0800</pubDate><description><![CDATA[Redis Cluster集群模式图文详解]]></description><category></category></item><item><title><![CDATA[Redis集群（一）]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/124309822</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/124309822</guid><author>Me_xuan</author><pubDate>Wed, 20 Apr 2022 23:16:34 +0800</pubDate><description><![CDATA[Redis 的主从、哨兵集群模式图文介绍。]]></description><category></category></item><item><title><![CDATA[Redis 持久化]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/124285425</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/124285425</guid><author>Me_xuan</author><pubDate>Tue, 19 Apr 2022 22:30:46 +0800</pubDate><description><![CDATA[Redis的持久化详解]]></description><category></category></item><item><title><![CDATA[Redis底层数据结构（图文详解）]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/124260839</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/124260839</guid><author>Me_xuan</author><pubDate>Mon, 18 Apr 2022 22:56:37 +0800</pubDate><description><![CDATA[redis底层数据结构图文详解，图片配合文字更好的理解redis的底层数据结构]]></description><category></category></item><item><title><![CDATA[MySql事务（Transaction）]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/123364357</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/123364357</guid><author>Me_xuan</author><pubDate>Tue, 08 Mar 2022 22:20:47 +0800</pubDate><description><![CDATA[mysql事务详解]]></description><category></category></item><item><title><![CDATA[Mysql锁]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/122639044</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/122639044</guid><author>Me_xuan</author><pubDate>Sat, 22 Jan 2022 16:31:15 +0800</pubDate><description><![CDATA[目录



Mysql 锁

前言

ACID

mysql为什么需要锁？

操作方式：读锁/写锁

读锁（共享锁，Shard, S锁）

写锁（排他锁，exclusive, X锁）

意向锁

锁的分类

悲观锁

乐观锁

优缺点

锁的粒度

行锁

页锁

全局锁

算法维度

记录锁

间隙锁

Mysql 锁

前言

什么是锁？

为什么需要锁？

锁的作用/好处？



当在单线程的情况下，是没有锁的概率的，也无需锁。而我们日常的系统开发中，也不可能出现单线程的程序。当多个线程或进程有了资.]]></description><category></category></item><item><title><![CDATA[常用的Spring Aware解析]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/116505141</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/116505141</guid><author>Me_xuan</author><pubDate>Fri, 07 May 2021 23:27:56 +0800</pubDate><description><![CDATA[常用的Spring Aware解析



在初始化bean前，会调用如下AwareBeanNameAware: 方法 setBeanName(String name) 获取到bean在spring中定义的beanName，一般很少用BeanClassLoaderAware:方法 setBeanClassLoader(ClassLoader classLoader); 获取spring 容器的类加载器ClassLoader 对象BeanFactoryAware: 实现这个BeanFactoryAwa...]]></description><category></category></item><item><title><![CDATA[Spring Bean后置处理器解析]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/116504630</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/116504630</guid><author>Me_xuan</author><pubDate>Fri, 07 May 2021 23:23:12 +0800</pubDate><description><![CDATA[目录



Spring Bean后置处理器解析

一、postProcessBeforeInstantiation

二、determineCandidateConstructors

三、postProcessMergedBeanDefinition

四、getEarlyBeanReference

五、postProcessAfterInstantiation

六、postProcessProperties、postProcessPropertyValues

七、postProcessBefo.]]></description><category></category></item><item><title><![CDATA[Spring AOP源码解析]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/115601331</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/115601331</guid><author>Me_xuan</author><pubDate>Sun, 11 Apr 2021 17:06:04 +0800</pubDate><description><![CDATA[目录

Spring AOP源码解析

一、Spring相关介绍

二、源码解析

 1、解析切面

 2、创建代理

 3、调用代理

Spring AOP源码解析



一、Spring相关介绍

https://blog.youkuaiyun.com/Me_xuan/article/details/115601543



二、源码解析

从Spring相关介绍中，我们也就大致的了解的AOP的相关知识。那么接下来要深入源码去解析AOP的工作流程。

AOP是如何集成至Spring的呢？

我们知道，Sp...]]></description><category></category></item><item><title><![CDATA[Spring AOP]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/115601543</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/115601543</guid><author>Me_xuan</author><pubDate>Sun, 11 Apr 2021 16:38:41 +0800</pubDate><description><![CDATA[目录

Spring AOP

一、前言

二、AOP 概念

三、Spring AOP包含以下类型的通知

四、Spring AOP的功能和目标

五、允许@AspectJ的支持

六、代码示例

Spring AOP

一、前言

使用Spring面向切面编程：
面向切面编程(Aspect-oriented Programming 简称AOPAOP) ,是相对面向对象编程(Object-oriented Programming 简称OOP)的框架,作为OOP的一种功能补充. OOP主要的模块单元是类(c]]></description><category></category></item><item><title><![CDATA[Spring IOC常见问题]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/115474233</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/115474233</guid><author>Me_xuan</author><pubDate>Tue, 06 Apr 2021 23:48:21 +0800</pubDate><description><![CDATA[Spring IOC常见问题



一、Spring中常见（重要）的接口

BeanFactory : Spring顶层核心接口，使用了简单工厂模式，负责生产Bean

BeanDefinition : Bean定义 Spring顶层核心接口，封装了生产Bean的一切原料

BeanDefinitionReader : 用来读取BeanDefinition,就比如通过一个配置类，知道我们要去扫描哪个路径下的文件，就是通过BeanDefinitionReader来逐一读取到

BeanDefiniti...]]></description><category></category></item><item><title><![CDATA[Spring 源码环境搭建]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/115473915</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/115473915</guid><author>Me_xuan</author><pubDate>Tue, 06 Apr 2021 23:10:22 +0800</pubDate><description><![CDATA[目录

Spring 源码环境搭建

Spring 源码环境搭建



由于gradle我没玩过，我自己搭建也是根据百度找到的方法搭建的。这个方法我亲测过，我的是已经搭建成功了的。

链接地址：https://www.xiaoheidiannao.com/78623.html


...]]></description><category></category></item><item><title><![CDATA[Spring MVC源码分析]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/115450758</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/115450758</guid><author>Me_xuan</author><pubDate>Mon, 05 Apr 2021 23:31:49 +0800</pubDate><description><![CDATA[目录

Spring MVC源码分析

一、Spring MVC主体流程

二、Spring MVC 加载流程

Spring MVC源码分析

一、Spring MVC主体流程





二、Spring MVC 加载流程





注：下次贴源码上来。
]]></description><category></category></item><item><title><![CDATA[Spring IOC源码解析]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/115450618</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/115450618</guid><author>Me_xuan</author><pubDate>Mon, 05 Apr 2021 23:26:04 +0800</pubDate><description><![CDATA[Spring IOC源码解析

一、Spring IOC 加载总览



二、Spring IOC扫描Bean定义





三、Spring IOC Bean的创建流程





四、Spring IOC 解决循环依赖问题





注：目前这是大致的流程图，下次抽时间把源码贴上来
...]]></description><category></category></item><item><title><![CDATA[ElasticSearch集群搭建]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/114790161</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/114790161</guid><author>Me_xuan</author><pubDate>Sun, 14 Mar 2021 15:53:33 +0800</pubDate><description><![CDATA[ElasticSearch集群搭建

一、ElasticSearch集群搭建

1.提前准备工作

服务器3台，ip分别为：192.168.75.100 、192.168.75.101 、192.168.75.102

三台服务器分别开发9100、9200，9300端口，或者直接关闭防火墙也可以。

为什么服务器最好是3台及以上？

简单说明：因为集群中必须得有个master节点，master仅仅负责维护集群的状态，若是老的master宕机的话，需要重新选举出新的master，如果是偶数节点可能导致票...]]></description><category></category></item><item><title><![CDATA[Linux下安装ElasticSarch、Kibana、IK分词器]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/114608076</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/114608076</guid><author>Me_xuan</author><pubDate>Wed, 10 Mar 2021 00:19:28 +0800</pubDate><description><![CDATA[ElasticSarch安装

官方网站：https://www.elastic.co/cn/

官方下载地址：https://www.elastic.co/cn/start

有一说一，这个外网访问起来着实着急啊。可以翻个墙下载一下安装包。

我下载的版本是7.6.1的版本

注：我的Linux环境是CentOS7的

一、上传安装包及新建用户

新建一个目录，然后将下载的安装包上传至对于目录下

新建一个目录：mkdir -p /usr/local/es

将我们的es包拷贝至新建的es目录下

由于E]]></description><category></category></item><item><title><![CDATA[类加载机制]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/113965432</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/113965432</guid><author>Me_xuan</author><pubDate>Tue, 23 Feb 2021 01:19:01 +0800</pubDate><description><![CDATA[虚拟机类加载机制

一个类型从被加载到虚拟机内存中开始，到卸载出内存为止，它的整个生命周期将会经历加载、验证、准备、解析、初始化、使用、卸载这七个阶段。其中验证、准备、解析三个部分统称为连接。
加载、验证、准备、初始化和卸载这五个阶段对的顺序是确定的，类型的加载过程必须按照这种顺序来进行加载。

类的生命周期：



一、类加载过程：

1、加载

在硬盘中的文件(如class文件)通过IO读入字节码文件，使用到类时才会加载，例如调用类的main()方法，new对象等等
 1）通过一个类的全限定名来获取定.]]></description><category></category></item><item><title><![CDATA[虚拟机性能监控和故障处理工具]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/113798352</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/113798352</guid><author>Me_xuan</author><pubDate>Sat, 13 Feb 2021 00:48:55 +0800</pubDate><description><![CDATA[目录

虚拟机性能监控、故障处理

一、虚拟机相关命令

1、jps：虚拟机进程状况工具

2、jstat：虚拟机统计信息监视工具

3、jinfo：Java配置信息工具

4、jmap：Java内存映像工具

5、jhat：虚拟机堆转储快照分析工具

6、jstack：Java堆栈跟踪工具

二、可视化故障处理工具

1、JConsole：Java监控与管理控制台

2、VisualVM：故障处理集合工具

虚拟机性能监控、故障处理



一、虚拟机相关命令

1、jps：虚拟机进程状况工具

功能与L.]]></description><category></category></item><item><title><![CDATA[垃圾收集器与内存分配策略]]></title><link>https://blog.youkuaiyun.com/Me_xuan/article/details/113787549</link><guid>https://blog.youkuaiyun.com/Me_xuan/article/details/113787549</guid><author>Me_xuan</author><pubDate>Thu, 11 Feb 2021 01:35:31 +0800</pubDate><description><![CDATA[目录

垃圾收集器与内存分配策略

一、如何判断对象是否存活

1.引用计数算法

2.可达性分析算法

3.对象是否已死？

二、垃圾收集器算法

1、分代收集理论

2、标记-清除算法

3、标记-复制算法

4、标记-整理算法

5、安全点和安全区域

三、垃圾收集器

1、Serial收集器

2、ParNew收集器

3、Parallel Scavenge收集器

4、CMS收集器

5、Garbage First收集器

6、ZGC收集器

7、如何选择垃圾收集器

8、GC日志查看

四、内存]]></description><category></category></item></channel></rss>