On Sun, Aug 17, 2014 at 6:13 AM, Jun Feng Liu <[email protected]> wrote: > > I am trying to better understand how mesos allocator works. In the offer > resource model, will mesos send the same offer to multiple framework? Or it > just send all resource to one framework then wait the response from the the > framework then try the next one?
Mesos sends an offer to one scheduler (a scheduler is part of a framework) at a time. That scheduler will have the offer until it uses it, gives it back or mesos rescinds it. This strategy was referred to as "pessimistic" by Google's Omega paper [1] and has drawbacks. In order to address these points a new type of offer, an Optimistic Offer, is being considered. See https://issues.apache.org/jira/browse/MESOS-1607 Jay [1] http://eurosys2013.tudos.org/wp-content/uploads/2013/paper/Schwarzkopf.pdf

