知识卡片
并发和并行
并发关注两项工作的进行区间是否重叠,允许在同一资源上交替执行。并行关注执行步骤能否在同一瞬间实际进行,需要多个执行资源。两个队伍共用一台咖啡机是并发,各有一台时可以并行。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 8. Introduction and Overview Chapter 8. Introduction and Overview · 查看原书依据
We often use the terms concurrent and parallel computing interchangeably, but these concepts have a slight semantic difference. When two sequences of steps execute concurrently, both of them are in progress, but only one of them is executed at
参考来源
- 位置:《Database Internals》Chapter 8. Introduction and Overview(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch08.html#idm46104531197256,段 17)
- 结论依据:原文以咖啡机类比区分时间重叠和同时执行。
- 原始内容:We often use the terms concurrent and parallel computing interchangeably, but these concepts have a slight semantic difference. When two sequences of steps execute concurrently, both of them are in progress, but only one of them is executed at