Skip to content

Commit 4c3a06f

Browse files
committed
添加《初识Disruptor框架》一文。
1 parent c391106 commit 4c3a06f

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

Disruptor/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515

1616

1717

18+

Disruptor/images/img.png

87.5 KB
Loading

Disruptor/images/img_1.png

13.3 KB
Loading

Disruptor/初识Disruptor框架.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ Martin Fowler在自己网站上写了一篇LMAX架构的文章,LMAX是一种
2121

2222
# 3 相关概念
2323

24-
![image.png](https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/42a0a0b512744b1fadf0a05bae213a84~tplv-k3u1fbpfcp-watermark.image?)
25-
24+
![img.png](images/img.png)
2625

2726
**Disruptor**:是使用`Disruptor`框架的核心类,持有`RingBuffer`、消费者线程池、消费者集合`ConsumerRepository`和消费者异常处理器`ExceptionHandler`等引用;
2827

@@ -132,8 +131,7 @@ public class LongEventMain
132131
输出结果:
133132

134133

135-
![image.png](https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/599d44256be84bfea44f5c9dc36a4f33~tplv-k3u1fbpfcp-watermark.image?)
136-
134+
![img_1.png](images/img_1.png)
137135

138136
参考:https://lmax-exchange.github.io/disruptor/user-guide/index.html
139137

0 commit comments

Comments
 (0)