知识卡片
同机容器划分职责
即使部署在一台机器,服务进程与后台加载器也可分为不同容器,分别配置CPU、内存和优先级。这样资源、团队归属和更新边界可以随职责划分,而不必随机器划分。该模式要求编排器支持同机分组及所需资源共享;容器隔离不能保证消除一切宿主机资源争用。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Part II. Single-Node Patterns · 查看原书依据
the goal of a container is to establish boundaries around specific resources (e.g., this application needs two cores and 8 GB of memory). Likewise, the boundary delineates team ownership (e.g., this team owns this image). Finally, the boundary is intended to provide separation of concerns (e.g., this image
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第part02章《Part II. Single-Node Patterns》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/part02.html)
- 结论依据:部分引言以用户服务与后台加载器说明资源和职责边界。
- 原始内容:the goal of a container is to establish boundaries around specific resources (e.g., this application needs two cores and 8 GB of memory). Likewise, the boundary delineates team ownership (e.g., this team owns this image). Finally, the boundary is intended to provide separation of concerns (e.g., this image