知识卡片

普通读书笔记卡 · 1980.z.4.d.2

容器与虚拟机边界

理解等级:中级

容器通过共享宿主内核运行隔离进程,把库与环境一起封装,通常启动较快、资源开销较低。虚拟机提供自身操作系统和虚拟化硬件,隔离边界更强但通常更重。平台应支持服务所需的隔离方式、水平及垂直扩缩,并协调共同部署的多个组件;不能把容器依赖封装等同于完整安全隔离。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Event-Driven Microservice Fundamentals · 查看原书依据

      Containers, as recently popularized by Docker, isolate applications from one another. Containers leverage the existing host operating system via a shared kernel model. This provides basic separation between containers, while the container itself isolates environment variables, libraries, and other dependencies. Containers provide most of the benefits of a virtual machine (covered next) at a fraction of the cost, with fast startup times and low resource overhead.

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第02章《Event-Driven Microservice Fundamentals》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch02.xhtml;规范化段落起句:Containers, as recently popularized by Docker) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:容器通过共享宿主内核运行隔离进程,把库与环境一起封装,通常启动较快、资源开销较低。本卡同时保留其适用条件与失败边界。 - 原始内容:Containers, as recently popularized by Docker, isolate applications from one another. Containers leverage the existing host operating system via a shared kernel model. This provides basic separation between containers, while the container itself isolates environment variables, libraries, and other dependencies. Containers provide most of the benefits of a virtual machine (covered next) at a fraction of the cost, with fast startup times and low resource overhead.