Skip to content

Commit f1a3e3d

Browse files
committed
docs: update image size in readme
1 parent 7af9867 commit f1a3e3d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

readme-cn.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
以上实际都是在进行对输入数据进行处理最后输出清洗后的数据,针对数据处理有个非常经典的异步模式:生产者消费者模式。于是我们可以抽象一下数据批处理的生命周期,大致可以分为三个阶段:
3838

39-
![](https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/mapreduce-serial-cn.png)
39+
<img src="https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/mapreduce-serial-cn.png" width="500">
4040

4141
1. 数据生产 generate
4242
2. 数据加工 mapper
@@ -46,7 +46,7 @@
4646

4747
再来思考一下不同阶段之间数据应该如何流转,既然不同阶段的数据处理都是由不同 goroutine 执行的,那么很自然的可以考虑采用 channel 来实现 goroutine 之间的通信。
4848

49-
![](https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/mapreduce-cn.png)
49+
<img src="https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/mapreduce-cn.png" width="500">
5050

5151

5252
如何实现随时终止流程呢?

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Let's try to put ourselves in the author's shoes and sort out the possible busin
2323

2424
The above is actually processing the input data and finally outputting the cleaned data. There is a very classic asynchronous pattern for data processing: the producer-consumer pattern. So we can abstract the life cycle of data batch processing, which can be roughly divided into three phases.
2525

26-
![](https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/mapreduce-serial-en.png)
26+
<img src="https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/mapreduce-serial-en.png" width="500">
2727

2828
1. data production generate
2929
2. data processing mapper
@@ -33,7 +33,7 @@ Data producing is an indispensable stage, data processing and data aggregation a
3333

3434
Since different stages of data processing are performed by different goroutines, it is natural to consider the use of channel to achieve communication between goroutines.
3535

36-
![](https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/mapreduce-en.png)
36+
<img src="https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/mapreduce-en.png" width="500">
3737

3838
How can I terminate the process at any time?
3939

0 commit comments

Comments
 (0)