Skip to content

Commit b9b0abb

Browse files
committed
blog
1 parent ef6a988 commit b9b0abb

File tree

19,535 files changed

+28718
-51417
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

19,535 files changed

+28718
-51417
lines changed

docs/.vuepress/config.js

Lines changed: 70 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,17 @@ module.exports = {
3737
{ text: '数据结构与算法', link: '/data-structure-algorithms/' },
3838
{ text: '设计模式', link: '/design-pattern/' },
3939
{ text: '数据存储与缓存', link: '/data-store/' },
40-
{ text: '分布式架构', link: '/' },
40+
{ text: '开发框架', link: '/framework/' },
41+
{ text: '分布式架构', link: '/distribution/' },
4142
{ text: '直击面试', link: '/interview/' },
4243
],
4344
sidebar: {
4445
"/java/": genJavaSidebar(),
4546
"/data-structure-algorithms/": genDSASidebar(),
4647
"/design-pattern/": genDesignPatternSidebar(),
47-
"/": genDataStoreSidebar(),
48+
"/data-store/": genDataStoreSidebar(),
49+
"/framework/": genFrameworkSidebar(),
50+
"/distribution/": genDistributionSidebar(),
4851
"/interview/": genInterviewSidebar(),
4952
},
5053
blogConfig: {
@@ -117,12 +120,14 @@ function genDSASidebar() {
117120
title: "数据结构",
118121
collapsable: false,
119122
sidebarDepth: 1, // 可选的, 默认值是 1
120-
children: ["","Array", "Stack"]
123+
children: ["","Array","Linked-List","Stack","Queue","Skip-List"]
121124
},
122125
{
123126
title: "算法",
124127
collapsable: false,
125128
children: [
129+
"complexity",
130+
"sort",
126131
['Recursion', '递归'],
127132
['Dynamic-Programming', '动态规划']
128133
]
@@ -148,22 +153,79 @@ function genDesignPatternSidebar() {
148153
function genDataStoreSidebar(){
149154
return [
150155
{
151-
title: "数据结构",
156+
title: "MySQL",
152157
collapsable: false,
153158
sidebarDepth: 2, // 可选的, 默认值是 1
154-
children: ["hello-dataStructure.md","Array", "Stack"]
159+
children: [
160+
['MySQL/MySQL-Framework', 'MySQL 架构介绍'],
161+
['MySQL/MySQL-Storage-Engines', 'MySQL 存储引擎'],
162+
['MySQL/MySQL-Index', 'MySQL 索引'],
163+
['MySQL/MySQL-select', 'MySQL 查询'],
164+
]
155165
},
156166
{
157-
title: "算法",
167+
title: "Redis",
158168
collapsable: false,
159169
children: [
160-
"JUC/Java-Memory-Model",
161-
"JUC/CountDownLatch、CyclicBarrier、Semaphore"
170+
['Redis/Redis-Datatype', 'Redis 数据类型'],
171+
['Redis/Redis-Persistence', 'Redis 持久化'],
172+
['Redis/Redis-Conf', 'Redis 配置'],
173+
['Redis/Redis-Transaction', 'Redis 事务'],
174+
['Redis/Reids-Lock', 'Redis 分布式锁'],
175+
['Redis/Redis-Cluster', 'Redis 集群'],
176+
]
177+
}
178+
];
179+
}
180+
181+
function genFrameworkSidebar(){
182+
return [
183+
{
184+
title: "Spring",
185+
collapsable: false,
186+
sidebarDepth: 2, // 可选的, 默认值是 1
187+
children: [
188+
['Spring/Spring-IOC', 'Spring IOC'],
189+
['Spring/Spring-Cycle-Dependency', 'Spring 循环依赖'],
162190
]
163191
}
164192
];
165193
}
166194

195+
function genDistributionSidebar(){
196+
return [
197+
{
198+
title: "Kafka",
199+
collapsable: true,
200+
sidebarDepth: 2, // 可选的, 默认值是 1
201+
children: [
202+
['message-queue/Kafka/Hello-Kafka', 'Hello-Kafka'],
203+
['message-queue/Kafka/Kafka-Workflow','Kafka-Workflow'],
204+
['message-queue/Kafka/Kafka-Producer','Kafka-Producer'],
205+
['message-queue/Kafka/Kafka-Consumer','Kafka-Consumer'],
206+
['message-queue/Kafka/Kafka高效读写数据的原因','Kafka高效读写数据的原因']
207+
]
208+
},
209+
{
210+
title: " Zookeeper",
211+
collapsable: true,
212+
// children: [
213+
// "JUC/Java-Memory-Model",
214+
// "JUC/CountDownLatch、CyclicBarrier、Semaphore"
215+
// ]
216+
},
217+
{
218+
title: "RPC",
219+
collapsable: true,
220+
sidebarDepth: 2, // 可选的, 默认值是 1
221+
children: [
222+
['rpc/Hello-Protocol-Buffers', 'Hello ProtocolBuffers'],
223+
['rpc/Hello-RPC.md','Hello RPC'],
224+
['rpc/Hello-gRPC','Hello gRPC'],
225+
]
226+
},
227+
];
228+
}
167229

168230

169231
function genInterviewSidebar(){

docs/.vuepress/dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit fd9171d712baaee2fed5c62101688a3bc98f4fce
1+
Subproject commit 26a1ebf31074e1abc50d6f36c12e2a5930ad8463

docs/data-structure-algorithms/Linked-List.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 链表
1+
# 链表
22

33
与数组相似,链表也是一种`线性`数据结构。
44

docs/data-structure-algorithms/complexity.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# 时间复杂度
2+
13
> 高级工程师title的我,最近琢磨着好好刷刷算法题更高级一些,然鹅,当我准备回忆大学和面试时候学的数据结构之时,我发现自己对这个算法复杂度的记忆只有OOOOOooo
24
>
35
> 文章收录在 GitHub [JavaKeeper](https://github.com/Jstarfish/JavaKeeper) ,N线互联网开发必备技能兵器谱
@@ -195,7 +197,3 @@ for(i=1; i<=n; ++i)
195197

196198
《大话数据结构》
197199
https://zhuanlan.zhihu.com/p/50479555
198-
199-
200-
201-
![](https://tva1.sinaimg.cn/large/00831rSTly1gd73fpmmbwj30ku0aumy2.jpg)

docs/data-structure-algorithms/sort.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# 排序
2+
13
排序算法可以分为内部排序和外部排序,内部排序是数据记录在内存中进行排序,而外部排序是因排序的数据很大,一次不能容纳全部的排序记录,在排序过程中需要访问外存。常见的内部排序算法有:**插入排序、希尔排序、选择排序、冒泡排序、归并排序、快速排序、堆排序、基数排序**等。用一张图概括:
24

35
[![十大经典排序算法 概览截图](https://github.com/hustcc/JS-Sorting-Algorithm/raw/master/res/sort.png)](https://github.com/hustcc/JS-Sorting-Algorithm/blob/master/res/sort.png)

docs/distribution/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TODO
2+
3+
dsad

docs/distribution/message-queue/Kafka/Kafka-API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### 5.1 启动zk和kafka集群
44

5-
![img](H:/Technical-Learning/docs/_images/message-queue/Kafka/kafka-start.png)
5+
66

77
### 5.2 导入 pom 依赖
88

docs/distribution/message-queue/Kafka/Kafka-Consumer.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
13
> https://www.cnblogs.com/huxi2b/p/6223228.html
24
35
## 消费者组

docs/distribution/message-queue/Kafka/Kafka-Workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Kafka 工作流程和存储机制分析
1+
# Kafka 工作流程和存储机制分析
22

33
![](https://images.gitbook.cn/e49bc290-cf95-11e8-8388-bd48f25029c6)
44

docs/distribution/message-queue/readMQ.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22

3-
![img](../_images/message-queue/mq_index.png)
3+
![img](../../_images/message-queue/mq_index.png)
44

55
</div>
66

0 commit comments

Comments
 (0)