Your understanding is correct. Currently, if a framework holds on to an
offer then it might impact other frameworks. If you want to guarantee that
each of your frameworks can receive certain amount of resources, you could
"reserve" resources to frameworks (roles). See the "--resources" flag on
the slave and "roles" flag on the master.

In the near future, we also plan to implement a feature where the same
offer is sent to multiple frameworks; if one of the frameworks uses up the
offer to launch that offer is rescinded on another frameworks.

HTH,


On Mon, Nov 25, 2013 at 8:08 AM, ricky l <[email protected]> wrote:

> hi,
>
> I have a question about mesos behavior when a long running service job
> (such as web-server or traditional RDBMS) accepts offers and run for a long
> period of time with sporadic resource usage. Assuming that a long running
> job gets assigned 30% of total available resources, I think Mesos will
> assume that the 30% of resources are being used and do not give offers to
> others for the 30% even if the framework is running very long without
> actually using the resources. Is this correct understanding?  If this is
> true, the overall system utilization can get lower even if there are many
> other frameworks waiting for offers. How does Mesos handle this type of
> situation? thx.
>

Reply via email to