-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
622 lines (429 loc) · 17.3 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
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Hexo</title>
<meta name="keywords" content="">
<meta name="description" content="Hexo">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="核心算法时间窗口 统计请求信息 限流判断的依据">
<meta property="og:type" content="article">
<meta property="og:title" content="Sentinel原理">
<meta property="og:url" content="http://yoursite.com/2019/11/30/sentinel/index/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:description" content="核心算法时间窗口 统计请求信息 限流判断的依据">
<meta property="og:locale" content="en">
<meta property="og:updated_time" content="2019-11-30T11:59:52.806Z">
<meta name="twitter:card" content="summary">
<link rel="icon" href="/img/avatar.jpg">
<link href="/css/style.css?v=1.0.1" rel="stylesheet">
<link href="/css/hl_theme/atom-light.css?v=1.0.1" rel="stylesheet">
<link href="//cdn.bootcss.com/animate.css/3.5.2/animate.min.css" rel="stylesheet">
<link href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<script src="//cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="/js/jquery.autocomplete.min.js?v=1.0.1" ></script>
<script src="//cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
<script src="//cdn.bootcss.com/nprogress/0.2.0/nprogress.min.js"></script>
<script src="//cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js" ></script>
<script src="/js/iconfont.js?v=1.0.1" ></script>
</head>
<div style="display: none">
<input class="theme_disqus_on" value="false">
<input class="theme_preload_comment" value="false">
<input class="theme_blog_path" value="">
</div>
<body>
<aside class="nav mobile">
<div class="nav-left">
<a href="/" class="avatar_target">
<img class="avatar" src="/img/avatar.jpg" />
</a>
<div class="author">
<span>kaizi2009</span>
</div>
<div class="icon">
<a title="rss" href="/atom.xml" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-rss"></use>
</svg>
</a>
<a title="github" href="https://github.com/yelog" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-github"></use>
</svg>
</a>
<a title="facebook" href="https://www.facebook.com/faker.tops" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-facebook"></use>
</svg>
</a>
<a title="instagram" href="https://www.facebook.com/faker.tops" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-instagram"></use>
</svg>
</a>
<a title="reddit" href="https://www.reddit.com/user/yelog/" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-reddit"></use>
</svg>
</a>
<a title="weibo" href="http://weibo.com/u/2307534817" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-weibo"></use>
</svg>
</a>
<a title="jianshu" href="https://www.jianshu.com/u/ff56736de7cf" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-jianshu"></use>
</svg>
</a>
<a title="zhihu" href="https://www.zhihu.com/people/jaytp/activities" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-zhihu"></use>
</svg>
</a>
<a title="oschina" href="https://my.oschina.net/yelog" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-oschina"></use>
</svg>
</a>
<a title="email" href="mailto:jaytp@qq.com" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-email"></use>
</svg>
</a>
<a title="qq" href="http://wpa.qq.com/msgrd?v=3&uin=872336115&site=qq&menu=yes" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-qq"></use>
</svg>
</a>
<a title="kugou" href="https://www.kugou.com/" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-kugou"></use>
</svg>
</a>
<a title="neteasemusic" href="https://music.163.com/#/user/home?id=88151013" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-neteasemusic"></use>
</svg>
</a>
</div>
<ul>
<li><div class="all active">全部文章<small>(4)</small></div></li>
<li><div data-rel="Sentinel">Sentinel<small>(1)</small></div>
</li>
<li><div data-rel="DDD">DDD<small>(2)</small></div>
</li>
</ul>
<div class="left-bottom">
<div class="menus">
</div>
<div><a class="about hasFriend site_url" href="/about">关于</a><a style="width: 50%" class="friends">友链</a></div>
</div>
<input type="hidden" id="yelog_site_posts_number" value="4">
<div style="display: none">
<span id="busuanzi_value_site_uv"></span>
<span id="busuanzi_value_site_pv"></span>
</div>
</div>
<div class="nav-right">
<div class="friends-area">
<div class="friends-title">
友情链接
<i class="back-title-list"></i>
</div>
<div class="friends-content">
<ul>
<li><a target="_blank" href="http://yelog.org/">叶落阁</a></li>
</ul>
</div>
</div>
<div class="title-list">
<form onkeydown="if(event.keyCode==13){return false;}">
<input class="search" type="text" placeholder="Search..." autocomplete="off"id="local-search-input" >
<i class="cross"></i>
<span>
<label for="tagswitch">Tags:</label>
<input id="tagswitch" type="checkbox" style="display: none" />
<i id="tagsWitchIcon"></i>
</span>
</form>
<div class="tags-list">
<div class="clearfix"></div>
</div>
<nav id="title-list-nav">
<a class=""
href="/2019/11/30/index/"
data-tag=""
data-author="" >
<span class="post-title" title="个人简介">个人简介</span>
<span class="post-date" title="2019-11-30 19:42:14">2019/11/30</span>
</a>
<a class="Sentinel "
href="/2019/11/30/sentinel/index/"
data-tag=""
data-author="" >
<span class="post-title" title="Sentinel原理">Sentinel原理</span>
<span class="post-date" title="2019-11-30 19:59:52">2019/11/30</span>
</a>
<a class="DDD "
href="/2019/11/29/ddd/ddd-index-1/"
data-tag=""
data-author="" >
<span class="post-title" title="领域驱动设计(架构)DDD - 1">领域驱动设计(架构)DDD - 1</span>
<span class="post-date" title="2019-11-29 22:51:24">2019/11/29</span>
</a>
<a class="DDD "
href="/2019/11/29/ddd/ddd-index/"
data-tag=""
data-author="" >
<span class="post-title" title="领域驱动设计(架构)DDD - 0">领域驱动设计(架构)DDD - 0</span>
<span class="post-date" title="2019-11-29 22:51:24">2019/11/29</span>
</a>
</nav>
</div>
</div>
<div class="hide-list">
<div class="semicircle">
<div class="brackets first"><</div>
<div class="brackets">></div>
</div>
</div>
</aside>
<div class="post index">
<div class="pjax">
<article class="index">
<div class="toc-ref">
<ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#个人简介"><span class="toc-text">个人简介</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#个人作品"><span class="toc-text">个人作品</span></a></li></ol></li></ol>
<style>
.left-col .switch-btn,
.left-col .switch-area {
display: none;
}
.toc-level-3 i,
.toc-level-3 ol {
display: none !important;
}
</style>
</div>
<h1 id="个人简介"><a href="#个人简介" class="headerlink" title="个人简介"></a><center>个人简介</center></h1><p><img src="/img/github-io-home-red.png" alt="个人简介二维码"></p>
<p>ID: kaizi2009</p>
<p>Github: <a href="https://github.com/kaizi2009" target="_blank" rel="noopener">https://github.com/kaizi2009</a></p>
<p>职业: Java工程师</p>
<p>职业规划: 领域驱动设计架构师, 高可用服务专家</p>
<h2 id="个人作品"><a href="#个人作品" class="headerlink" title="个人作品"></a>个人作品</h2><ul>
<li><a href="https://github.com/cloudhelper/mall-ddd" target="_blank" rel="noopener">领域驱动设计(架构)Demo</a></li>
<li>高可用服务Alibaba/Sentinel <a href="https://github.com/cloudhelper/Sentinel/tree/master/sentinel-adapter/sentinel-spring-webmvc-adapter" target="_blank" rel="noopener">SpringMVC模块</a> </li>
</ul>
</article>
<p>
<a class="dashang" onclick="dashangToggle()">赏</a>
</p>
</div>
<div class="copyright">
<p class="footer-entry">©2016-2019 Yelog</p>
<p class="footer-entry">Built with <a href="https://hexo.io/" target="_blank">Hexo</a> and <a href="https://github.com/yelog/hexo-theme-3-hexo" target="_blank">3-hexo</a> theme</p>
</div>
<div class="full-toc">
<button class="full"><span class="min "></span></button>
<button class="post-toc-menu"><span class="post-toc-menu-icons"></span></button>
<div class="post-toc"><span class="post-toc-title">目录</span>
<div class="post-toc-content">
</div>
</div>
<a class="" id="rocket" ></a>
</div>
</div>
<div class="acParent"></div>
<div class="hide_box" onclick="dashangToggle()"></div>
<div class="shang_box">
<a class="shang_close" onclick="dashangToggle()">×</a>
<div class="shang_tit">
<p>喜欢就点赞,疼爱就打赏</p>
</div>
<div class="shang_payimg">
<div class="pay_img">
<img src="/img/alipay.png" class="alipay" title="扫码支持">
<img src="/img/weixin.png" class="weixin" title="扫码支持">
</div>
</div>
<div class="shang_payselect">
<span><label><input type="radio" name="pay" checked value="alipay">支付宝</label></span><span><label><input type="radio" name="pay" value="weixin">微信</label></span>
</div>
</div>
</body>
<script src="/js/jquery.pjax.js?v=1.0.1" ></script>
<script src="/js/script.js?v=1.0.1" ></script>
<script>
var img_resize = 'default';
/*作者、标签的自动补全*/
$(function () {
$('.search').AutoComplete({
'data': [],
'itemHeight': 20,
'width': 418
}).AutoComplete('show');
})
function initArticle() {
/*渲染对应的表格样式*/
$(".post .pjax table").addClass("green_title");
/*渲染打赏样式*/
$("input[name=pay]").on("click", function () {
if($("input[name=pay]:checked").val()=="weixin"){
$(".shang_box .shang_payimg .pay_img").addClass("weixin_img");
} else {
$(".shang_box .shang_payimg .pay_img").removeClass("weixin_img");
}
})
/*高亮代码块行号*/
$('pre code').each(function(){
var lines = $(this).text().split('\n').length - 1, widther='';
if (lines>99) {
widther = 'widther'
}
var $numbering = $('<ul/>').addClass('pre-numbering ' + widther).attr("unselectable","on");
$(this).addClass('has-numbering ' + widther)
.parent()
.append($numbering);
for(var i=1;i<=lines;i++){
$numbering.append($('<li/>').text(i));
}
});
/*访问数量*/
$.getScript("//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js");
/*代码高亮,行号对齐*/
$('.pre-numbering').css('line-height',$('.has-numbering').css('line-height'));
}
/*打赏页面隐藏与展示*/
function dashangToggle() {
$(".shang_box").fadeToggle();
$(".hide_box").fadeToggle();
}
</script>
<!--加入行号的高亮代码块样式-->
<style>
pre{
position: relative;
margin-bottom: 24px;
border-radius: 10px;
border: 1px solid #e2dede;
background: #FFF;
overflow: hidden;
}
code.has-numbering{
margin-left: 30px;
}
code.has-numbering.widther{
margin-left: 35px;
}
.pre-numbering{
margin: 0px;
position: absolute;
top: 0;
left: 0;
width: 20px;
padding: 0.5em 3px 0.7em 5px;
border-right: 1px solid #C3CCD0;
text-align: right;
color: #AAA;
background-color: #fafafa;
}
.pre-numbering.widther {
width: 35px;
}
</style>
<!--自定义样式设置-->
<style>
.nav {
width: 542px;
}
.nav.fullscreen {
margin-left: -542px;
}
.nav-left {
width: 120px;
}
@media screen and (max-width: 1468px) {
.nav {
width: 592px;
}
.nav.fullscreen {
margin-left: -592px;
}
.nav-left {
width: 200px;
}
}
@media screen and (max-width: 1024px) {
.nav {
width: 592px;
margin-left: -592px
}
.nav.fullscreen {
margin-left: 0;
}
.nav .hide-list.fullscreen {
left: 592px
}
}
@media screen and (max-width: 426px) {
.nav {
width: 100%;
}
.nav-left {
width: 100%;
}
}
.nav-right .title-list nav a .post-title, .nav-right .title-list #local-search-result a .post-title {
color: #383636;
}
.nav-right .title-list nav a .post-date, .nav-right .title-list #local-search-result a .post-date {
color: #5e5e5f;
}
.nav-right nav a.hover, #local-search-result a.hover{
background-color: #e2e0e0;
}
/*列表样式*/
.post .pjax article .article-entry>ol, .post .pjax article .article-entry>ul, .post .pjax article>ol, .post .pjax article>ul{
border: #e2dede solid 1px;
border-radius: 10px;
padding: 10px 32px 10px 56px;
}
.post .pjax article .article-entry li>ol, .post .pjax article .article-entry li>ul,.post .pjax article li>ol, .post .pjax article li>ul{
padding-top: 5px;
padding-bottom: 5px;
}
.post .pjax article .article-entry>ol>li, .post .pjax article .article-entry>ul>li,.post .pjax article>ol>li, .post .pjax article>ul>li{
margin-bottom: auto;
margin-left: auto;
}
.post .pjax article .article-entry li>ol>li, .post .pjax article .article-entry li>ul>li,.post .pjax article li>ol>li, .post .pjax article li>ul>li{
margin-bottom: auto;
margin-left: auto;
}
/* 背景图样式 */
/*引用块样式*/
/*文章列表背景图*/
.nav-right:before {
content: ' ';
display: block;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0.3;
background: url("https://i.loli.net/2019/07/22/5d3521411f3f169375.png");
background-repeat: no-repeat;
background-position: 50% 0;
-ms-background-size: cover;
-o-background-size: cover;
-moz-background-size: cover;
-webkit-background-size: cover;
background-size: cover;
}
</style>
</html>