Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 11:01:10 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Tony Finch <dot@dotat.at>
Cc:        Peter Pentchev <roam@orbitel.bg>, arch@FreeBSD.ORG
Subject:   Re: DJBDNS vs. BIND
Message-ID:  <20010220110110.A18247@rapier.smartspace.co.za>
In-Reply-To: <20010220064656.T2746@hand.dotat.at>; from dot@dotat.at on Tue, Feb 20, 2001 at 06:46:56AM %2B0000
References:  <20010218233916.J28286@lizzy.bugworks.com> <200102191012.DAA17412@usr05.primenet.com> <20010219123015.D2946@ringworld.oblivion.bg> <20010220064656.T2746@hand.dotat.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue 2001-02-20 (06:46), Tony Finch wrote:
> Peter Pentchev <roam@orbitel.bg> wrote:
> >
> >tinydns never loads its datafile into memory, it mmap's it and does
> >one-pass lookups on each and every query.
> 
> That implies O(N) lookups for queries which is too insane even for
> DJB. Surely it must be able to handle large zonefiles?

It uses CDB.  It needs just two disk accesses to return an entry stored
therein (or just one, if the entry doesn't exist).

Neil
-- 
Neil Blakey-Milner
nbm@mithrandr.moria.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010220110110.A18247>