0

Mesos 和 Marathon 不时提到检查点,但我无法很好地解释它是如何在任何地方工作的。另外,这在实践中意味着什么?

1) Is the Task current state continuously being stored, or is only the Task ID stored? Where is it stored and what does it contain?
2) There are two Marathon instances. Marathon has been running Nginx for a week, then goes down. Does that mean that the actual Nginx application state continues running on the second Marathon instance, or does it just restart the task from beginning? If the Task actual state is copied, isn't there a lot of data to be continuously persisted and passed around between slaves? 
4

1 回答 1

1


从属恢复是 Mesos 的一个功能,它允许:

  • 当从属进程关闭时继续运行的执行程序/任务
  • 允许重新启动的从属进程与从属上正在运行的执行程序/任务重新连接。Mesos 从机恢复)。

所以关于你的问题,这意味着:

  1. 存储了足够的信息(比 TaskID 多一点),以便新的从属进程可以重新连接到仍在运行的执行程序/任务。

  2. 由于任务状态没有检查点,它会从头开始任务。

希望这会有所帮助,乔尔格

于 2015-03-20T10:07:06.840 回答