I am trying to understand how the various components of Mesos work together, and found this excellent tutorial that contains the following architectural overview:
I have a few concerns about this that aren't made clear (either in the article or in the official Mesos docs):
- Where are the Schedulers running? Are there "Scheduler nodes" where only the Schedulers should be running?
- If I was writing my own Mesos framework, what Scheduler functionality would I need to implement? Is it just a binary yes/no or accept/reject for Offers sent by the Master? Any concrete examples?
- If I was writing my own Mesos framework, what Executor functionality would I need to implement? Any concrete examples?
- What's a concrete example of a Task that would be sent to an Executor?
- Are Executors "pinned" (permanently installed on) Slaves, or do they float around in an "on demand" type fashion, being installed and executed dynamically/on-the-fly?