知识卡片

普通读书笔记卡 · 10294.a.4.a.2.c · 生成模型:未记录

并发和并行

理解等级:初级

并发关注两项工作的进行区间是否重叠,允许在同一资源上交替执行。并行关注执行步骤能否在同一瞬间实际进行,需要多个执行资源。两个队伍共用一台咖啡机是并发,各有一台时可以并行。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《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