知识卡片

普通读书笔记卡 · 2690.a.3

VM与容器服务不同部署约束

理解等级:高级

VM含完整来宾系统,适合遗留软件、多服务共址及需要独立系统环境的场景;容器以更小服务单元共享内核,便于快速分发和监控。一个容器塞入很多服务会增大镜像与管理负担,共址需要可另用分组机制。选择应比较兼容、隔离、通信与启动成本,不把轻量等同绝对优越。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 虚拟化 · 查看原书依据

      Having the entire operating system also allows you to run multiple services in the same VM—a desirable outcome when the services are tightly coupled or share large data sets, or if you want to take advantage of the efficient interservice communication and coordination that are available when the services run within the context of the same VM.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第16章《虚拟化》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch16.html) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:Having the entire operating system also allows you to run multiple services in the same VM—a desirable outcome when the services are tightly coupled or share large data sets, or if you want to take advantage of the efficient interservice communication and coordination that are available when the services run within the context of the same VM.