diff --git a/about/index.html b/about/index.html index 94a5e17..be9f06a 100644 --- a/about/index.html +++ b/about/index.html @@ -21,7 +21,7 @@ - + @@ -382,6 +382,11 @@

+
+ +
+ +
diff --git "a/articles/Hexo/Hexo\346\220\255\345\273\272\344\270\252\344\272\272\347\275\221\347\253\231\357\274\210\344\270\200\357\274\211/index.html" "b/articles/Hexo/Hexo\346\220\255\345\273\272\344\270\252\344\272\272\347\275\221\347\253\231\357\274\210\344\270\200\357\274\211/index.html" index ded61b5..418c23a 100644 --- "a/articles/Hexo/Hexo\346\220\255\345\273\272\344\270\252\344\272\272\347\275\221\347\253\231\357\274\210\344\270\200\357\274\211/index.html" +++ "b/articles/Hexo/Hexo\346\220\255\345\273\272\344\270\252\344\272\272\347\275\221\347\253\231\357\274\210\344\270\200\357\274\211/index.html" @@ -353,7 +353,7 @@

最新文章

- + @@ -398,6 +398,11 @@

+ + +

本文将介绍如何使用Hexo搭建个人网站,看完后可以搭建一个本地的Hexo个人网站,并且提供一些实用的配置。

准备工作

git账号、nodejs环境

diff --git "a/articles/Hexo/Hexo\346\220\255\345\273\272\344\270\252\344\272\272\347\275\221\347\253\231\357\274\210\344\272\214\357\274\211/index.html" "b/articles/Hexo/Hexo\346\220\255\345\273\272\344\270\252\344\272\272\347\275\221\347\253\231\357\274\210\344\272\214\357\274\211/index.html" index 2ac6f01..62cf26a 100644 --- "a/articles/Hexo/Hexo\346\220\255\345\273\272\344\270\252\344\272\272\347\275\221\347\253\231\357\274\210\344\272\214\357\274\211/index.html" +++ "b/articles/Hexo/Hexo\346\220\255\345\273\272\344\270\252\344\272\272\347\275\221\347\253\231\357\274\210\344\272\214\357\274\211/index.html" @@ -353,7 +353,7 @@

最新文章

- + @@ -398,6 +398,11 @@

+ + +

本文介绍如何利用Github Action把Hexo项目部署到Github上,并且实现提交本地代码后,自动部署并发布到Github Pages上,而不需要使用hexo d命令发布那么繁琐。

diff --git "a/articles/Spring/WebFlux\345\255\246\344\271\240\347\254\224\350\256\260\357\274\210\344\270\200\357\274\211/index.html" "b/articles/Spring/WebFlux\345\255\246\344\271\240\347\254\224\350\256\260\357\274\210\344\270\200\357\274\211/index.html" index 5c39f48..b4c5790 100644 --- "a/articles/Spring/WebFlux\345\255\246\344\271\240\347\254\224\350\256\260\357\274\210\344\270\200\357\274\211/index.html" +++ "b/articles/Spring/WebFlux\345\255\246\344\271\240\347\254\224\350\256\260\357\274\210\344\270\200\357\274\211/index.html" @@ -353,7 +353,7 @@

最新文章

- + @@ -398,6 +398,11 @@

+ + +

如何理解 Spring Webflux 的「非阻塞」

对前端是一样的,但是对后端的性能利用就不一样了,对比thread的sleep方法和webflux的delay方法,就可以知道它的非阻塞原理是什么,又是好在哪里。

反应式编程一开始是从前端和客户端开始兴起,现在大有蔓延到后端的趋势,Spring5推出的webflux就是反应式编程的产物。

webflux对比于springMVC,性能高出很多(只针对高并发的情况),网上已经有很多的测评,不再在过多说明。

diff --git "a/articles/SpringCloud/Nacos\345\255\246\344\271\240\347\254\224\350\256\260/index.html" "b/articles/SpringCloud/Nacos\345\255\246\344\271\240\347\254\224\350\256\260/index.html" index 48f6caa..e6d9010 100644 --- "a/articles/SpringCloud/Nacos\345\255\246\344\271\240\347\254\224\350\256\260/index.html" +++ "b/articles/SpringCloud/Nacos\345\255\246\344\271\240\347\254\224\350\256\260/index.html" @@ -354,7 +354,7 @@

最新文章

- + @@ -399,6 +399,11 @@

+ + +

本文主要内容是我看完Nacos架构&原理做的一些笔记,学习的版本是Nacos2.x。

Nacos服务发现模块

数据模型

Nacos 在经过内部多年生产经验后提炼出的数据模型,则是⼀种服务-集群-实例的三层模型。

image1.png

diff --git "a/articles/SpringCloud/Nacos\346\272\220\347\240\201\351\230\205\350\257\273\344\270\216\345\256\236\346\210\230/index.html" "b/articles/SpringCloud/Nacos\346\272\220\347\240\201\351\230\205\350\257\273\344\270\216\345\256\236\346\210\230/index.html" index 68c79f8..feb5014 100644 --- "a/articles/SpringCloud/Nacos\346\272\220\347\240\201\351\230\205\350\257\273\344\270\216\345\256\236\346\210\230/index.html" +++ "b/articles/SpringCloud/Nacos\346\272\220\347\240\201\351\230\205\350\257\273\344\270\216\345\256\236\346\210\230/index.html" @@ -354,7 +354,7 @@

最新文章

- + @@ -399,6 +399,11 @@

+ + +

本文主要内容是对于部分源码的理解还有在使用Nacos时遇到的一些问题汇总。

对于阅读源码,我的思路是先找到一些注册成功的日志,然后打断点,看整个调用链路。

客户端注册源码解读

在NacosServiceRegistry类的注册完成日志的代码打个断点,我们可以看到项目启动后的整个调用链路。

diff --git "a/articles/\345\260\217\347\237\245\350\257\206/\345\210\206\345\270\203\345\274\217\344\270\200\350\207\264\346\200\247\347\256\227\346\263\225/index.html" "b/articles/\345\260\217\347\237\245\350\257\206/\345\210\206\345\270\203\345\274\217\344\270\200\350\207\264\346\200\247\347\256\227\346\263\225/index.html" index 088247b..7cf4844 100644 --- "a/articles/\345\260\217\347\237\245\350\257\206/\345\210\206\345\270\203\345\274\217\344\270\200\350\207\264\346\200\247\347\256\227\346\263\225/index.html" +++ "b/articles/\345\260\217\347\237\245\350\257\206/\345\210\206\345\270\203\345\274\217\344\270\200\350\207\264\346\200\247\347\256\227\346\263\225/index.html" @@ -353,7 +353,7 @@

最新文章

- + @@ -398,6 +398,11 @@

+ + +

分布式一致性算法解决的是CAP理论中走的是CP、还是AP的问题,这些算法要么实现的是数据的强一致性(CP),要么实现数据的最终一致性(AP)

diff --git "a/articles/\345\260\217\347\237\245\350\257\206/\350\275\273\351\207\217\347\272\247\350\231\232\346\213\237\346\234\272Multipass/index.html" "b/articles/\345\260\217\347\237\245\350\257\206/\350\275\273\351\207\217\347\272\247\350\231\232\346\213\237\346\234\272Multipass/index.html" index d6bb56c..d50df54 100644 --- "a/articles/\345\260\217\347\237\245\350\257\206/\350\275\273\351\207\217\347\272\247\350\231\232\346\213\237\346\234\272Multipass/index.html" +++ "b/articles/\345\260\217\347\237\245\350\257\206/\350\275\273\351\207\217\347\272\247\350\231\232\346\213\237\346\234\272Multipass/index.html" @@ -353,7 +353,7 @@

最新文章

- + @@ -398,6 +398,11 @@

+ + +

Multipass是一个轻量级虚拟机,下面会介绍一些安装出现的问题和常用命令。

diff --git "a/articles/\345\260\217\347\237\245\350\257\206/\351\233\252\350\212\261\347\256\227\346\263\225\345\255\230\345\234\250\347\232\204\351\227\256\351\242\230\345\222\214\350\247\243\345\206\263\346\226\271\346\241\210/index.html" "b/articles/\345\260\217\347\237\245\350\257\206/\351\233\252\350\212\261\347\256\227\346\263\225\345\255\230\345\234\250\347\232\204\351\227\256\351\242\230\345\222\214\350\247\243\345\206\263\346\226\271\346\241\210/index.html" index 321a81d..89cb601 100644 --- "a/articles/\345\260\217\347\237\245\350\257\206/\351\233\252\350\212\261\347\256\227\346\263\225\345\255\230\345\234\250\347\232\204\351\227\256\351\242\230\345\222\214\350\247\243\345\206\263\346\226\271\346\241\210/index.html" +++ "b/articles/\345\260\217\347\237\245\350\257\206/\351\233\252\350\212\261\347\256\227\346\263\225\345\255\230\345\234\250\347\232\204\351\227\256\351\242\230\345\222\214\350\247\243\345\206\263\346\226\271\346\241\210/index.html" @@ -353,7 +353,7 @@

最新文章

- + @@ -398,6 +398,11 @@

+ + +

雪花算法是一个分布式ID算法,但是他本也存在着一些问题。

diff --git a/categories/index.html b/categories/index.html index 0a0bee2..81c6060 100644 --- a/categories/index.html +++ b/categories/index.html @@ -21,7 +21,7 @@ - + @@ -382,6 +382,11 @@

+
+ +
+ +
diff --git a/css/fonts/fontawesome-webfont.svg b/css/fonts/fontawesome-webfont.svg index 855c845..d7534c9 100644 --- a/css/fonts/fontawesome-webfont.svg +++ b/css/fonts/fontawesome-webfont.svg @@ -1,2671 +1,2671 @@ - - - - -Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 - By ,,, -Copyright Dave Gandy 2016. All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/link/index.html b/link/index.html index 2777dc3..1be1feb 100644 --- a/link/index.html +++ b/link/index.html @@ -21,7 +21,7 @@ - + @@ -382,6 +382,11 @@

+
+ +
+ +
diff --git a/log/index.html b/log/index.html index 06ba01a..2021b14 100644 --- a/log/index.html +++ b/log/index.html @@ -21,7 +21,7 @@ - + @@ -382,6 +382,11 @@

+
+ +
+ +
diff --git a/log/xxiaohei-log.html b/log/xxiaohei-log.html index d056f2e..21d0008 100644 --- a/log/xxiaohei-log.html +++ b/log/xxiaohei-log.html @@ -21,7 +21,7 @@ - + @@ -382,6 +382,11 @@

+
+ +
+ +
diff --git a/tags/index.html b/tags/index.html index 6003aec..e150745 100644 --- a/tags/index.html +++ b/tags/index.html @@ -21,7 +21,7 @@ - + @@ -382,6 +382,11 @@

+
+ +
+ +
diff --git a/tools/index.html b/tools/index.html index e3289a8..e8171c2 100644 --- a/tools/index.html +++ b/tools/index.html @@ -21,7 +21,7 @@ - + @@ -382,6 +382,11 @@

+
+ +
+ +