> 1. Mesos master offers all the resources to all the frameworks simultaneously. > 2. Mesos master offers resources to one framework at a time, e.g., it offers > r1, r2, r3 to f1, and f1 accepts r1, and then it offers r2 and r3 to f2, ...
The latter, yes. For a quick overview, I suggest you have a look at http://mesos.apache.org/documentation/latest/mesos-architecture/ which covers the resource offer cycle. If you want to dive deeper, you might want to read: 1. http://mesos.berkeley.edu/mesos_tech_report.pdf 2. https://www.cs.berkeley.edu/~alig/papers/drf.pdf Note that there's a feature in the works that would be closer to your 1., see https://issues.apache.org/jira/browse/MESOS-1607 Cheers, Michael -- Michael Hausenblas Ireland, Europe http://mhausenblas.info/ > On 6 Jun 2015, at 12:51, Qian Zhang <[email protected]> wrote: > > Hi, > > I am new to Mesos, and I'd like to know if there are a lot resources in the > Mesos cluster, how will Mesos master offer these resources to the multiple > frameworks? I guess there can be two ways: > 1. Mesos master offers all the resources to all the frameworks simultaneously. > 2. Mesos master offers resources to one framework at a time, e.g., it offers > r1, r2, r3 to f1, and f1 accepts r1, and then it offers r2 and r3 to f2, ... > > If it is 1, then I'd like to know how Mesos master resolves the conflicts, > e.g., multiple frameworks accept the same resource. > If it is 2, then I see it is actually a serial process since Mesos master > handle the frameworks one by one, then what is advantage of Mesos against > traditional monolithic resource scheduler? > > > Thanks, > Qian

