-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
442 lines (327 loc) · 18.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
<html>
<head>
<meta charset="utf-8" />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>SilentRhythm's Blog</title>
<link rel="shortcut icon" href="https://faxjiangyi.github.io/favicon.ico?v=1708613223234">
<link href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://faxjiangyi.github.io/styles/main.css">
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"> -->
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets/highlight.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/highlight.js/9.12.0/languages/dockerfile.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/highlight.js/9.12.0/languages//dart.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/moment.min.js"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script> -->
<!-- DEMO JS -->
<!--<script src="media/scripts/index.js"></script>-->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N75PFBTYPH"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-N75PFBTYPH');
</script>
</head>
<body>
<div class="main gt-bg-theme-color-first">
<div class="main-content">
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand" href="/">
<img class="user-avatar" src="/images/avatar.png" alt="头像">
<div class="site-name gt-c-content-color-first">
SilentRhythm's Blog
</div>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation" id="changeNavbar">
<i class="fas fa-bars gt-c-content-color-first" style="font-size: 18px"></i>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<div class="navbar-nav mr-auto" style="text-align: center">
<div class="nav-item">
<a href="/" class="menu gt-a-link">
首页
</a>
</div>
<div class="nav-item">
<a href="/archives" class="menu gt-a-link">
归档
</a>
</div>
<div class="nav-item">
<a href="/tags" class="menu gt-a-link">
标签
</a>
</div>
<div class="nav-item">
<a href="/post/about" class="menu gt-a-link">
关于
</a>
</div>
</div>
<div style="text-align: center">
<form id="gridea-search-form" style="position: relative" data-update="1708613223234"
action="/search/">
<input class="search-input" autocomplete="off" spellcheck="false" name="q" placeholder="搜索文章" />
<i class="fas fa-search gt-c-content-color-first" style="position: absolute; top: 9px; left: 10px;"></i>
</form>
</div>
</div>
</nav>
<script>
/* 移动端导航栏展开/收起切换 */
document.getElementById('changeNavbar').onclick = () => {
var element = document.getElementById('navbarSupportedContent');
if (element.style.display === 'none' || element.style.display === '') {
element.style.display = 'block';
} else {
element.style.display = 'none';
}
}
</script>
<div class="post-list-container">
<div class="post-inner">
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://faxjiangyi.github.io/post/tong-guo-copilot-shi-yong-gpt-4-mo-xing/">
<span class="post-title gt-c-content-color-first">通过GitHub-Copilot使用GPT-4模型</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
由于ChatGPT-plus官方充值/开通存在诸多困难,故通过copilot使用gpt-4,支持ChatGPT-NextWeb
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2024-01-27 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://faxjiangyi.github.io/post/fen-bu-shi-shi-wu-de-jie-jue-fang-an/">
<span class="post-title gt-c-content-color-first">分布式事务的解决方案</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
简单介绍XA 2PC/3PC, 消息驱动, TCC, SAGA
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-11-10 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://faxjiangyi.github.io/post/java-zi-dong-zhuang-xiang-he-chai-xiang/">
<span class="post-title gt-c-content-color-first">Java自动装箱和拆箱</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
Java中基础数据类型与它们的包装类进行运算时,编译器会自动帮我们进行转换,转换过程对程序员是透明的,装箱和拆箱可以让我们的代码更简洁易懂,本质是Java的语法糖。
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-11-09 ·
</time>
<a href="https://faxjiangyi.github.io/tag/java/" class="post-tag">
# Java
</a>
<a href="https://faxjiangyi.github.io/tag/interview/" class="post-tag">
# 面经
</a>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://faxjiangyi.github.io/post/mq-xiao-xi-you-xu-xing-bao-zheng/">
<span class="post-title gt-c-content-color-first">MQ消息有序性保证</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
想实现消息有序,需要从 Producer 和 Consumer 两方面来考虑
Producer 生产消息时就必须要有序
Consumer 消费消息时,也要按顺序来
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-11-07 ·
</time>
<a href="https://faxjiangyi.github.io/tag/mq/" class="post-tag">
# MQ
</a>
</div>
</div>
<a href="https://faxjiangyi.github.io/post/mq-xiao-xi-you-xu-xing-bao-zheng/" class="post-feature-image"
style="background-image: url('https://faxjiangyi.github.io/post-images/mq-xiao-xi-you-xu-xing-bao-zheng.jpg')">
</a>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://faxjiangyi.github.io/post/logback-ji-cheng-logstash/">
<span class="post-title gt-c-content-color-first">logback集成logstash</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
原理及效果
logstash支持从tcp输入,logback支持logstash appender,日志可以不打到文件直接打到logstash。方便集成ELK,且不挂载docker卷情况下镜像也不会增大。
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-11-07 ·
</time>
<a href="https://faxjiangyi.github.io/tag/conf/" class="post-tag">
# 配置
</a>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://faxjiangyi.github.io/post/yi-zhi-xing-ha-xi-suan-fa/">
<span class="post-title gt-c-content-color-first">一致性哈希算法</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
问题举例
均衡负载问题:搭建Redis集群(3机),key落到哪台机?
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-11-07 ·
</time>
<a href="https://faxjiangyi.github.io/tag/distributed/" class="post-tag">
# 分布式
</a>
</div>
</div>
<a href="https://faxjiangyi.github.io/post/yi-zhi-xing-ha-xi-suan-fa/" class="post-feature-image"
style="background-image: url('https://faxjiangyi.github.io/post-images/yi-zhi-xing-ha-xi-suan-fa.png')">
</a>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://faxjiangyi.github.io/post/fen-biao-fen-ye-cha-xun-fang-an/">
<span class="post-title gt-c-content-color-first">分表分页查询方案</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
解决问题:分表后,查询T表,N页(X=(N-1)*Y)的Y条数据
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-11-07 ·
</time>
<a href="https://faxjiangyi.github.io/tag/distributed/" class="post-tag">
# 分布式
</a>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://faxjiangyi.github.io/post/fen-biao-fei-sharding-key-zen-me-cha-xun/">
<span class="post-title gt-c-content-color-first">分表非Sharding-Key怎么查询</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
假设:有用户表user,订单表order,order表通过user_id分表了,如何通过order_id查询订单?
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-11-07 ·
</time>
<a href="https://faxjiangyi.github.io/tag/distributed/" class="post-tag">
# 分布式
</a>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://faxjiangyi.github.io/post/g1-he-cms-qu-bie/">
<span class="post-title gt-c-content-color-first">G1和CMS区别</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-11-07 ·
</time>
<a href="https://faxjiangyi.github.io/tag/jvm/" class="post-tag">
# JVM
</a>
<a href="https://faxjiangyi.github.io/tag/java/" class="post-tag">
# Java
</a>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://faxjiangyi.github.io/post/docker-de-wang-luo-mo-shi/">
<span class="post-title gt-c-content-color-first">Docker的网络模式</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
bridge模式,host模式,container模式,none模式
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-11-07 ·
</time>
<a href="https://faxjiangyi.github.io/tag/docker/" class="post-tag">
# Docker
</a>
</div>
</div>
<a href="https://faxjiangyi.github.io/post/docker-de-wang-luo-mo-shi/" class="post-feature-image"
style="background-image: url('https://faxjiangyi.github.io/post-images/docker-de-wang-luo-mo-shi.png')">
</a>
</div>
</div>
</div>
<div class="pagination-container">
<a href="https://faxjiangyi.github.io/page/2" class="prev-page gt-a-link">下一页</a>
</div>
<div class="site-footer gt-c-content-color-first">
<div class="slogan gt-c-content-color-first">我的幸福,即我与生活搏斗的故事。</div>
<div class="social-container">
<a href="https://github.com/faxjiangyi" target="_blank">
<i class="fab fa-github gt-c-content-color-first"></i>
</a>
</div>
<div class="footer-info">
<a href="/friends">友情链接</a>
</div>
<div>
Theme <a href="https://github.com/imhanjie/gridea-theme-pure" target="_blank">Pure</a>, Powered by <a
href="https://gridea.dev" target="_blank">Gridea</a> | <a href="https://faxjiangyi.github.io/atom.xml" target="_blank">RSS</a>
</div>
</div>
<script>
hljs.highlightAll()
</script>
</div>
</div>
</body>
</html>