mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Rukletsov <>
Subject Re: Setting Rate of Resource Offers
Date Sun, 14 Jun 2015 09:58:33 GMT

try adjusting master allocation_interval flag. It specifies often the
allocator performs batch allocations to frameworks. As Ondrej pointed out,
if you framework explicitly declines offers, it won't be re-offered the
same resources for some period of time.

On Sat, Jun 13, 2015 at 8:30 PM, Ondrej Smola <>

> Hi Christopher,
> i dont know about any way way how to speed up first resource offer -
> in my experience new offers arrive almost immediately after framework
> registration. It depends on the infrastructure you are testing your
> framework on - are there any
> other frameworks running? As is discussed in an another thread offers
> should be send to multiple frameworks at once. There may be small
> delay based on initial registration and network delay. If you speak
> about "reoffers" - reoffering
> decline offers - there should param to set interval for reoffer. For
> example in Go you can decline offer this way (it is also important to
> decline every non used offer):
> driver.DeclineOffer(offer.Id, &mesos.Filters{RefuseSeconds:
> proto.Float64(5)})
> Look to mesos UI - it shoud give you information abou what offers are
> offered to which frameworks, mesos master logs also give you this
> information.
> 2015-06-13 18:23 GMT+02:00 Christopher Ketchum <>:
> > Hi,
> >
> > I was wondering if there was any way to adjust the rate of resource
> offers to the framework. I am writing a mesos framework, and when I am
> testing it I am noticing a slight pause were the framework seems to be
> waiting for another resource offer. I would like to know if there is any
> way to speed these offers up, just to make testing a little faster.
> >
> > Thanks,
> > Chris

View raw message