什么是posix隔离器

http://stackoverflow.com/questions/34608691/what-is-posix-isolation


posix isolation是Mesos的默认使用的隔离器。一下为stackoverflow对此做出的解释:


Mesos uses isolators in its containerizer to isolate the resource usage of each started task. The posix isolators provide separation of task as standard Unix processes. Each Mesos task is running under mesos-executor process, which makes sure that the task is running. These don't really perform any actual isolation but only report the current resource usage of running tasks.

Under Linux, there is also cgroups isolator available that can do actual isolation (CPU and memory).

You can find more about Mesos Containerizer and Docker Containerizer on the Apache Mesos website.


Mesos在它的容器中使用隔离器来对每个运行的task进行资源使用的隔离。其中posix隔离器把task作为标准的Unxi进程分离。每个Mesos task运行在mesos-executor进程之下,从而保证了task能运行。它们并不是实现了真实隔离,只是报告了运行的task的当前资源利用率。

在Linux中,同样能使用cgroup隔离器来对CPU、内存等进行真实隔离。

关于cgroup的详细介绍可以参看:https://en.wikipedia.org/wiki/Cgroups

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值