Mesos


Mesos Architecture
http://mesos.apache.org/documentation/latest/architecture/
How the offer works
1.Agent 1 reports to the master that it has 4 CPUs and 4 GB of memory free. The master then invokes the allocation policy module, which tells it that framework 1 should be offered all available resources. 2.The master sends a resource offer describing what is available on agent 1 to framework 1. 3.The framework’s scheduler replies to the master with information about two tasks to run on the agent, using for the first task, and for the second task. 4.Finally, the master sends the tasks to the agent, which allocates appropriate resources to the framework’s executor, which in turn launches the two tasks (depicted with dotted-line borders in the figure). Because 1 CPU and 1 GB of RAM are still unallocated, the allocation module may now offer them to framework 2.
Last updated
Was this helpful?