-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
665 lines (401 loc) · 30.1 KB
/
index.html
File metadata and controls
665 lines (401 loc) · 30.1 KB
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
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>不如</title>
<meta name="author" content="bruce">
<meta name="description" content="bruce-sha's blog | ibruce.info | 不如 | buru | java | scala | 架构 高性能 高并发 高可用">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta property="og:site_name" content="不如"/>
<link rel="alternate" href="/atom.xml" title="不如" type="application/atom+xml">
<link rel="stylesheet" href="/css/style.css" media="screen" type="text/css">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!-- 被墙 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> -->
<script src="//lib.sinaapp.com/js/jquery/1.8.3/jquery.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-46161632-1', 'ibruce.info');
ga('send', 'pageview');
</script>
<!--
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F7034d648d7899a7a50561a179216abaa' type='text/javascript'%3E%3C/script%3E"));
</script>
-->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?7034d648d7899a7a50561a179216abaa";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<meta property="wb:webmaster" content="e9d0b5d9cad42cf4" />
<meta property="qc:admins" content="214253361253561667" />
</head>
<body>
<div class="wrapper">
<header id="header"><div class="title">
<h1><a href="/">不如</a></h1>
<p><a href="/">码农,程序猿,未来的昏析狮</a></p>
</div>
<!--
<div>
<form class="search" action="//google.com/search" method="get" accept-charset="utf-8">
<input style="width:60px;background-color:transparent;text-align:center; border-width:0px;border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none; " type="search" name="q" id="search" autocomplete="off" autocorrect="off" autocapitalize="off" maxlength="20" placeholder="s" />
<input type="hidden" name="q" value="site:ibruce.info">
</form>
</div>
-->
<nav class="nav">
<ul>
<li><a href="/archives">Archives</a></li>
<li><a href="/reading">Reading</a></li>
<li><a href="/about">About</a></li>
</ul>
<div class="clearfix"></div>
</nav>
<div class="clearfix"></div></header>
<div class="content">
<article class="post">
<header>
<div class="icon"></div>
<time datetime="2015-04-04T01:12:45.000Z"><a href="/2015/04/04/busuanzi/">Apr 4 2015</a></time>
<h1 class="title"><a href="/2015/04/04/busuanzi/">不蒜子</a></h1>
</header>
<div class="gallery">
<div class="photoset">
<img src="http://bruce.u.qiniudn.com/2015/05/19/busuanzi/site.jpg">
</div>
<div class="control">
<div class="prev"></div>
<div class="next"></div>
</div>
</div>
<div class="entry">
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">!!!!2018年9月 - 重要提示 !!!!</span><br><span class="line">大家好,因七牛强制过期原有的『dn-lbstatics.qbox.me』域名(预计2018年10月初),与客服沟通数次无果,即使我提出为此付费也不行,只能更换域名到『busuanzi.ibruce.info』!因我是最早的一批七牛用户,为七牛至少带来了数百个邀请用户,很痛心,很无奈!</span><br><span class="line">各位继续使用不蒜子提供的服务,只需把原有的:</span><br><span class="line"><script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script></span><br><span class="line">域名改一下即可:</span><br><span class="line"><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></span><br><span class="line">只需要修改该js域名,其他均未改变。若有疑问,可以加入不蒜子交流QQ群:`419260983`,对您带来的不便,非常抱歉!!!还是那句话,不蒜子不会中断服务!!!!</span><br></pre></td></tr></table></figure>
<p>静态网站建站现在有很多快速的技术和平台,但静态是优点也有缺点,由于是静态的,一些动态的内容如评论、计数等等模块就需要借助外来平台,评论有<a href="http://duoshuo.com" target="_blank" rel="noopener">“多说”</a>,计数有<a href="http://busuanzi.ibruce.info" target="_blank" rel="noopener">“不蒜”</a>!<strong>(多说即将关闭,不蒜子还活着涅,这是程序员对程序员的承诺。)</strong></p>
<blockquote>
<p><strong><a href="http://busuanzi.ibruce.info" target="_blank" rel="noopener">“不蒜子”</a>与百度统计谷歌分析等有区别:<a href="http://busuanzi.ibruce.info" target="_blank" rel="noopener">“不蒜子”</a>可直接将访问次数显示在您在网页上(也可不显示);对于已经上线一段时间的网站,<a href="http://busuanzi.ibruce.info" target="_blank" rel="noopener">“不蒜子”</a>允许您初始化首次数据。。</strong></p>
</blockquote>
<p>普通用户只需两步走:<strong>一行脚本+一行标签</strong>,搞定一切。追求极致的用户可以进行任意DIY。</p>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2015/04/04/busuanzi/#more" class="more-link">Read More</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<article class="post">
<header>
<div class="icon"></div>
<time datetime="2015-03-03T01:25:11.000Z"><a href="/2015/03/03/mongodb3-auth/">Mar 3 2015</a></time>
<h1 class="title"><a href="/2015/03/03/mongodb3-auth/">mongoDB 3.0 安全权限访问控制</a></h1>
</header>
<div class="entry">
<p>MongoDB3.0权限,啥都不说了,谷歌百度出来的全是错的。先安装好盲沟,简单的没法说。</p>
<p>首先,不使用 <em>–auth</em> 参数,启动 mongoDB:</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">mongodb-linux-i686-3.0.0/bin/mongod -f mongodb-linux-i686-3.0.0/mongodb.conf</span><br></pre></td></tr></table></figure>
<blockquote>
<p>此时你 <em>show dbs</em> 会看到只有一个local数据库,那个所谓的admin是不存在的。</p>
</blockquote>
<p>mongoDB 没有炒鸡无敌用户root,只有能管理用户的用户 <a href="http://docs.mongodb.org/manual/reference/built-in-roles/#userAdminAnyDatabase" target="_blank" rel="noopener">userAdminAnyDatabase</a>。</p>
<p>打开 <strong>mongo shell</strong>:</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">mongodb-linux-i686-3.0.0/bin/mongo</span><br></pre></td></tr></table></figure>
<p>添加管理用户:</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">use admin</span><br><span class="line">db.createUser(</span><br><span class="line"> {</span><br><span class="line"> user: "buru",</span><br><span class="line"> pwd: "12345678",</span><br><span class="line"> roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]</span><br><span class="line"> }</span><br><span class="line">)</span><br></pre></td></tr></table></figure>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2015/03/03/mongodb3-auth/#more" class="more-link">Read More</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<article class="post">
<header>
<div class="icon"></div>
<time datetime="2014-12-02T02:54:28.000Z"><a href="/2014/12/02/hello-colossus/">Dec 2 2014</a></time>
<h1 class="title"><a href="/2014/12/02/hello-colossus/">微服务框架 Colossus</a></h1>
</header>
<div class="entry">
<blockquote>
<p>一直认为 Akka 是 JVM 上实现微服务框架的最理想基础设施,现在 Colossus 终于来了!</p>
</blockquote>
<p>Tumblr 开源了其用 Scala 实现的微服务框架 Colossus。Colossus 是轻量级的 Scala 微服务 I/O 框架,基于 Akka Actor 实现,项目地址请戳 <a href="http://github.com/tumblr/colossus" target="_blank" rel="noopener">http://github.com/tumblr/colossus</a>。</p>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2014/12/02/hello-colossus/#more" class="more-link">Read More</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<article class="post">
<header>
<div class="icon"></div>
<time datetime="2014-10-23T01:32:17.000Z"><a href="/2014/10/23/zookeeper/">Oct 23 2014</a></time>
<h1 class="title"><a href="/2014/10/23/zookeeper/">ZooKeeper 简介</a></h1>
</header>
<div class="entry">
<p>系统越来越大后切分出的模块越来越多,一些模块还部署了双机。配置文件混乱,更新部署极易出错,准备上 <a href="http://zookeeper.apache.org" target="_blank" rel="noopener">zookeeper</a>。</p>
<p>下载当前稳定版的 <a href="http://zookeeper.apache.org/releases.html" target="_blank" rel="noopener">zookeeper</a>,解压并拷贝 conf/zoo_sample.cfg 为 zoo.cfg,配置所需要的项目。最少配是只指定其中的 dataDir 项,其他项则使用默认值。</p>
<figure class="highlight"><table><tr><td class="code"><pre><span class="line">tickTime=2000 # 心跳基本时间单位,毫秒级,zk基本上所有时间都是这个时间的整数倍</span><br><span class="line">clientPort=2181 # 监听客户端连接的端口</span><br><span class="line">dataDir=/zookeeper/server0/data # 内存数据库快照存放地址</span><br><span class="line">dataLogDir=/zookeeper/server0/dataLog # 事务日志存放地址,未指定则同dataDir项,建议分开</span><br></pre></td></tr></table></figure>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2014/10/23/zookeeper/#more" class="more-link">Read More</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<article class="post">
<header>
<div class="icon"></div>
<time datetime="2014-05-20T02:22:18.000Z"><a href="/2014/05/20/hello-akka/">May 20 2014</a></time>
<h1 class="title"><a href="/2014/05/20/hello-akka/">Akka 快速入门</a></h1>
</header>
<div class="entry">
<p>Akka的优点太多,高性能、高可靠、高并发、分布式、可容错、可扩展、事件驱动,不一一叙述。不同版本的API差异很大,本文代码运行在 <a href="http://www.scala-lang.org" target="_blank" rel="noopener">Scala 2.10.3</a> 和 <a href="http://akka.io" target="_blank" rel="noopener">Akka 2.3.2</a> 之上。<br><figure class="highlight xml"><table><tr><td class="code"><pre><span class="line"><span class="tag"><<span class="name">dependency</span>></span></span><br><span class="line"> <span class="tag"><<span class="name">groupId</span>></span>com.typesafe.akka<span class="tag"></<span class="name">groupId</span>></span></span><br><span class="line"> <span class="tag"><<span class="name">artifactId</span>></span>akka-actor_2.10<span class="tag"></<span class="name">artifactId</span>></span></span><br><span class="line"> <span class="tag"><<span class="name">version</span>></span>2.3.2<span class="tag"></<span class="name">version</span>></span></span><br><span class="line"><span class="tag"></<span class="name">dependency</span>></span></span><br><span class="line"><span class="tag"><<span class="name">dependency</span>></span></span><br><span class="line"> <span class="tag"><<span class="name">groupId</span>></span>org.scala-lang<span class="tag"></<span class="name">groupId</span>></span></span><br><span class="line"> <span class="tag"><<span class="name">artifactId</span>></span>scala-library<span class="tag"></<span class="name">artifactId</span>></span></span><br><span class="line"> <span class="tag"><<span class="name">version</span>></span>2.10.3<span class="tag"></<span class="name">version</span>></span></span><br><span class="line"><span class="tag"></<span class="name">dependency</span>></span></span><br></pre></td></tr></table></figure></p>
<h1 id="定义">定义</h1><p>定义Actor很简单,继承 akka.actor.Actor ,实现receive方法即可。</p>
<figure class="highlight scala"><table><tr><td class="code"><pre><span class="line"><span class="class"><span class="keyword">class</span> <span class="title">Hello</span> <span class="keyword">extends</span> <span class="title">Actor</span> </span>{</span><br><span class="line"> <span class="function"><span class="keyword">def</span> <span class="title">receive</span> </span>= {</span><br><span class="line"> <span class="keyword">case</span> msg: <span class="type">String</span> => println(<span class="string">"hello "</span> + msg)</span><br><span class="line"> <span class="keyword">case</span> _ => println(<span class="string">"unexpected message."</span>)</span><br><span class="line"> }</span><br><span class="line">}</span><br></pre></td></tr></table></figure>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2014/05/20/hello-akka/#more" class="more-link">Read More</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<article class="post">
<header>
<div class="icon"></div>
<time datetime="2014-04-16T08:33:56.000Z"><a href="/2014/04/16/a-small-point-of-interface-design/">Apr 16 2014</a></time>
<h1 class="title"><a href="/2014/04/16/a-small-point-of-interface-design/">对接口设计的一个小看法</a></h1>
</header>
<div class="entry">
<p>与另一产品线的同事们讨论对接接口,对一些领导和架构师的某观点十分不认可。内容如下:</p>
<blockquote>
<ul>
<li>接口中的数据类型全部是String,不要出现Int等其他类型,理由是统一好处理。</li>
<li>接口中Array类型请用String替代,值用逗号分割,理由是接口中不应该出现数据结构。</li>
</ul>
</blockquote>
<p>我强烈反对上述观点。我粗浅的认为设计的基本原则是<strong>世界是什么样子,你的设计就是什么样子</strong>,这是好设计的前提。设计原本很简单,就是对真实世界的合理抽象,不是人为扭曲。</p>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2014/04/16/a-small-point-of-interface-design/#more" class="more-link">Read More</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<article class="post">
<header>
<div class="icon"></div>
<time datetime="2014-04-06T09:35:19.000Z"><a href="/2014/04/06/hello-spray/">Apr 6 2014</a></time>
<h1 class="title"><a href="/2014/04/06/hello-spray/">通过 Spray 创建简单的 Restful Http Server</a></h1>
</header>
<div class="entry">
<p>好久没写文章,实在太忙。最近我在项目中,搭建了很多小的零散的 Restful 服务,各个服务之间通过rest接口调用,相互协作。</p>
<p>Java出身的码农,动辄就是Tomcat、Spring,RestEasy、Hibernate、JPA、Jackson、HttpClient… 这些巨无霸非常臃肿,其实我的项目就是一个简简单单的Rest服务,请求Json参数 → 调用资源接口 → 返回Json数据,还好有Spray!</p>
<p>使用Scala系的工具,无论是体重上(包的大小)还是身高上(代码的长度),都能极大的减负,同时提升逼格和优雅度。下面介绍一个简单的Restful Http Server的开发示例。</p>
<p>首先安装 <a href="http://www.scala-sbt.org" target="_blank" rel="noopener">SBT</a>(简单理解为scala下的maven),安装方法参考 <a href="http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html" target="_blank" rel="noopener">sbt documentation - setup</a>。</p>
<p>win7环境下,直接下载 <a href="http://repo.scala-sbt.org/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.13.1/sbt.zip" target="_blank" rel="noopener">0.13.1-zip包</a> 解压到c:\sbt,配置SBT_HOME到path,cmd中敲入sbt检查有无成功,%SBT_HOME%\conf\sbtconfig.txt中可以配置启动参数。</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line"># Set the java args to high</span><br><span class="line">-Xmx1024M</span><br><span class="line">-XX:MaxPermSize=512m</span><br><span class="line">-XX:ReservedCodeCacheSize=256m</span><br><span class="line"></span><br><span class="line"># Set the extra SBT options</span><br><span class="line">-Dsbt.log.format=true</span><br><span class="line">-Dfile.encoding=ISO-8859-1</span><br><span class="line">-Dsbt.boot.directory=H:/sbt/boot/ </span><br><span class="line">-Dsbt.ivy.home=H:/sbt/</span><br></pre></td></tr></table></figure>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2014/04/06/hello-spray/#more" class="more-link">Read More</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<article class="photo">
<header>
<div class="icon"></div>
<time datetime="2014-02-28T08:37:49.000Z"><a href="/2014/02/28/turning-point-2014/">Feb 28 2014</a></time>
<h1 class="title"><a href="/2014/02/28/turning-point-2014/">转折点</a></h1>
</header>
<div class="gallery">
<div class="photoset">
<img src="http://bruce.u.qiniudn.com/2014/02/28/turning-point.jpg">
</div>
<div class="control">
<div class="prev"></div>
<div class="next"></div>
</div>
</div>
<div class="entry">
<p>二月的最后一天,新的三月,重要转折点之一。离开落后愚昧,大踏步,走向互联网的节奏。<br>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2014/02/28/turning-point-2014/#more" class="more-link">Read More</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<article class="post">
<header>
<div class="icon"></div>
<time datetime="2014-02-14T06:51:16.000Z"><a href="/2014/02/14/caipus/">Feb 14 2014</a></time>
<h1 class="title"><a href="/2014/02/14/caipus/">微菜谱</a></h1>
</header>
<div class="entry">
<p><img src="http://bruce.u.qiniudn.com/2014/02/14/caipu-qrcode-1280.jpg" alt="QRCode"></p>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2014/02/14/caipus/#more" class="more-link">Read More</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<article class="post">
<header>
<div class="icon"></div>
<time datetime="2014-02-10T09:35:20.000Z"><a href="/2014/02/10/the-most-beautiful-word-cloud/">Feb 10 2014</a></time>
<h1 class="title"><a href="/2014/02/10/the-most-beautiful-word-cloud/">简单美观的文字标签云组件</a></h1>
</header>
<div class="entry">
<p>经常在微博或微信的文章中看到漂亮的分析图。我认为在大数据的时代,目前最关键的就是如何让非专业人员轻松的进行数据分析,比如可以象使用office一样制作信息图(infographic),而不是用专业的制图工具。这一步跨过去,看到的将是欣欣向荣的真正大数据时代。</p>
<p>而这之前,首先缺少的就是,可以让普通开发人员使用的大数据时代的可视化图表组件,比如标签云图,所幸,业界已经有<a href="http://github.com/ecomfe/echarts" target="_blank" rel="noopener">ECharts</a>和<a href="http://github.com/timdream/wordcloud" target="_blank" rel="noopener">WordCloud</a>这两大利器,本文只介绍后者。</p>
<p><img src="http://bruce.u.qiniudn.com/2014/02/10/wordcloud-cn.jpg" alt="中文"></p>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2014/02/10/the-most-beautiful-word-cloud/#more" class="more-link">Read More</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<nav id="pagination">
<a href="/page/2/" class="next">下一页</a>
<div class="clearfix"></div>
</nav>
<a href="http://github.com/bruce-sha"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a></div>
</div>
<div class="widget-wrapper">
<aside id="sidebar">
<div class="widget tag first">
<h3 class="title">分类</h3>
<ul class="entry">
<li><a href="/categories/algorithm/">algorithm</a><small>1</small></li>
<li><a href="/categories/big-data/">big data</a><small>1</small></li>
<li><a href="/categories/cloud/">cloud</a><small>1</small></li>
<li><a href="/categories/default/">default</a><small>8</small></li>
<li><a href="/categories/distribution/">distribution</a><small>1</small></li>
<li><a href="/categories/java/">java</a><small>10</small></li>
<li><a href="/categories/mongodb/">mongodb</a><small>1</small></li>
<li><a href="/categories/nodejs/">nodejs</a><small>1</small></li>
<li><a href="/categories/olap/">olap</a><small>1</small></li>
<li><a href="/categories/scala/">scala</a><small>6</small></li>
</ul>
</div>
<div class="widget tagcloud">
<h3 class="title">标签云</h3>
<div class="entry">
<!--
<a href="/tags/actor/" style="font-size: 10px;">actor</a> <a href="/tags/akka/" style="font-size: 14px;">akka</a> <a href="/tags/algorithm/" style="font-size: 10px;">algorithm</a> <a href="/tags/big-data/" style="font-size: 12px;">big data</a> <a href="/tags/concurrency/" style="font-size: 14px;">concurrency</a> <a href="/tags/cubes/" style="font-size: 10px;">cubes</a> <a href="/tags/design/" style="font-size: 10px;">design</a> <a href="/tags/ebs/" style="font-size: 10px;">ebs</a> <a href="/tags/ec2/" style="font-size: 10px;">ec2</a> <a href="/tags/eclipse/" style="font-size: 12px;">eclipse</a> <a href="/tags/event-bus/" style="font-size: 10px;">event bus</a> <a href="/tags/green/" style="font-size: 12px;">green</a> <a href="/tags/guava/" style="font-size: 12px;">guava</a> <a href="/tags/hexo/" style="font-size: 18px;">hexo</a> <a href="/tags/interview/" style="font-size: 10px;">interview</a> <a href="/tags/ipad/" style="font-size: 10px;">ipad</a> <a href="/tags/issue/" style="font-size: 10px;">issue</a> <a href="/tags/java/" style="font-size: 16px;">java</a> <a href="/tags/javascript/" style="font-size: 12px;">javascript</a> <a href="/tags/leb/" style="font-size: 10px;">leb</a> <a href="/tags/markdown/" style="font-size: 10px;">markdown</a> <a href="/tags/maven/" style="font-size: 10px;">maven</a> <a href="/tags/microservice/" style="font-size: 10px;">microservice</a> <a href="/tags/mongodb/" style="font-size: 10px;">mongodb</a> <a href="/tags/nodejs/" style="font-size: 10px;">nodejs</a> <a href="/tags/npm/" style="font-size: 10px;">npm</a> <a href="/tags/olap/" style="font-size: 10px;">olap</a> <a href="/tags/papa/" style="font-size: 10px;">papa</a> <a href="/tags/performance/" style="font-size: 10px;">performance</a> <a href="/tags/python/" style="font-size: 10px;">python</a> <a href="/tags/sbt/" style="font-size: 10px;">sbt</a> <a href="/tags/scala/" style="font-size: 20px;">scala</a> <a href="/tags/scala-ide/" style="font-size: 10px;">scala-ide</a> <a href="/tags/spray/" style="font-size: 10px;">spray</a> <a href="/tags/weixin/" style="font-size: 10px;">weixin</a> <a href="/tags/word-cloud/" style="font-size: 10px;">word cloud</a> <a href="/tags/zookeeper/" style="font-size: 10px;">zookeeper</a> <a href="/tags/设计模式/" style="font-size: 12px;">设计模式</a>
-->
<a href="/tags/actor/" style="font-size: 10px;">actor</a> <a href="/tags/akka/" style="font-size: 14px;">akka</a> <a href="/tags/algorithm/" style="font-size: 10px;">algorithm</a> <a href="/tags/big-data/" style="font-size: 12px;">big data</a> <a href="/tags/concurrency/" style="font-size: 14px;">concurrency</a> <a href="/tags/cubes/" style="font-size: 10px;">cubes</a> <a href="/tags/design/" style="font-size: 10px;">design</a> <a href="/tags/ebs/" style="font-size: 10px;">ebs</a> <a href="/tags/ec2/" style="font-size: 10px;">ec2</a> <a href="/tags/eclipse/" style="font-size: 12px;">eclipse</a> <a href="/tags/event-bus/" style="font-size: 10px;">event bus</a> <a href="/tags/green/" style="font-size: 12px;">green</a> <a href="/tags/guava/" style="font-size: 12px;">guava</a> <a href="/tags/hexo/" style="font-size: 18px;">hexo</a> <a href="/tags/interview/" style="font-size: 10px;">interview</a> <a href="/tags/ipad/" style="font-size: 10px;">ipad</a> <a href="/tags/issue/" style="font-size: 10px;">issue</a> <a href="/tags/java/" style="font-size: 16px;">java</a> <a href="/tags/javascript/" style="font-size: 12px;">javascript</a> <a href="/tags/leb/" style="font-size: 10px;">leb</a> <a href="/tags/markdown/" style="font-size: 10px;">markdown</a> <a href="/tags/maven/" style="font-size: 10px;">maven</a> <a href="/tags/microservice/" style="font-size: 10px;">microservice</a> <a href="/tags/mongodb/" style="font-size: 10px;">mongodb</a> <a href="/tags/nodejs/" style="font-size: 10px;">nodejs</a> <a href="/tags/npm/" style="font-size: 10px;">npm</a> <a href="/tags/olap/" style="font-size: 10px;">olap</a> <a href="/tags/papa/" style="font-size: 10px;">papa</a> <a href="/tags/performance/" style="font-size: 10px;">performance</a> <a href="/tags/python/" style="font-size: 10px;">python</a> <a href="/tags/sbt/" style="font-size: 10px;">sbt</a> <a href="/tags/scala/" style="font-size: 20px;">scala</a> <a href="/tags/scala-ide/" style="font-size: 10px;">scala-ide</a> <a href="/tags/spray/" style="font-size: 10px;">spray</a> <a href="/tags/weixin/" style="font-size: 10px;">weixin</a> <a href="/tags/word-cloud/" style="font-size: 10px;">word cloud</a> <a href="/tags/zookeeper/" style="font-size: 10px;">zookeeper</a> <a href="/tags/设计模式/" style="font-size: 12px;">设计模式</a>
</div>
</div>
<div class="widget recent-posts">
<h3 class="title">最新文章</h3>
<ul class="entry">
<li>
<a href="/2015/04/04/busuanzi/">不蒜子</a>
</li>
<li>
<a href="/2015/03/03/mongodb3-auth/">mongoDB 3.0 安全权限访问控制</a>
</li>
<li>
<a href="/2014/12/02/hello-colossus/">微服务框架 Colossus</a>
</li>
<li>
<a href="/2014/10/23/zookeeper/">ZooKeeper 简介</a>
</li>
<li>
<a href="/2014/05/20/hello-akka/">Akka 快速入门</a>
</li>
<li>
<a href="/2014/04/16/a-small-point-of-interface-design/">对接口设计的一个小看法</a>
</li>
<li>
<a href="/2014/04/06/hello-spray/">通过 Spray 创建简单的 Restful Http Server</a>
</li>
<li>
<a href="/2014/02/28/turning-point-2014/">转折点</a>
</li>
<li>
<a href="/2014/02/14/caipus/">微菜谱</a>
</li>
<li>
<a href="/2014/02/10/the-most-beautiful-word-cloud/">简单美观的文字标签云组件</a>
</li>
</ul>
</div>
</aside>
<div class="clearfix"></div>
</div>
<footer id="footer"><div class="theme-copyright">
© 2013 - 2019 <a href="/">bruce</a>
|
produce by <a href="http://bruce-sha.github.io" target="_blank">sha</a>
|
<!--
<font id="counter"></font>
-->
<span id="busuanzi_container_site_pv">本站总访问量 <a href="//busuanzi.ibruce.info" target="_blank"><span id="busuanzi_value_site_pv"></a></span> 次</span>
</div>
<!--
<div class="copyright">
<font id="counter"></font>
版权所有
© 2013-2019 <a href="/">bruce</a>
</div>
<div class="theme-copyright">
Theme by <a href="http://heroicyang.com" target="_blank">Heroic Yang</a>
|
Redesign by <a href="http://bruce-sha.github.io" target="_blank">Bruce Sha</a>
</div>
-->
<div class="clearfix"></div>
<!--
<script src="//buru.u.qiniudn.com/firebase-2.0.5.js"></script>
<script src="/js/counter.js"></script>
-->
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></footer>
<script src="/js/scale.fix.js"></script>
<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>
<script type="text/javascript">
var duoshuoQuery = { short_name: 'buru' };
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';
ds.async = true;
ds.src = 'http://static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" media="screen" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
(function($){
$('.fancybox').fancybox();
})(jQuery);
</script>
</body>
</html>