[bind10-dev] plan for "background loading"
Michal 'vorner' Vaner
michal.vaner at nic.cz
Wed Aug 1 08:12:46 UTC 2012
Hello
On Tue, Jul 31, 2012 at 03:05:18PM +0200, Jelte Jansen wrote:
> On 07/29/2012 06:21 AM, JINMEI Tatuya / 神明達哉 wrote:
> > - before starting handling a new load request, go through the
> > queue and unify requests on the same zone. this won't be very
> > complicated, so even if it may be short term it may worth doing.
>
> Not that it makes that much difference, but I think i'd prefer it the
> other way around; only add the zone to the queue if it isn't in there
> already, otherwise update the parameters (if any; if there is only the
> 'load this' hint in the queue, ignore the update if it is queued already).
Yes, that looks saner to me too, otherwise the queue could still grow without
limits. This way, it is limited to the number of zones we have.
> Would need another lock, but in this case i'd be even less afraid for
> contention than for the other one.
Well, you need to lock the queue anyway, no matter if you search it before
adding or not.
With regards
--
XML is like violence. If it doesn't solve your problem, use more.
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20120801/2bb8c922/attachment.bin>
More information about the bind10-dev
mailing list