Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 1996 03:43:02 -0700 (MST)
From:      Dave Andersen <angio@shell.aros.net>
To:        mrcpu@cdsnet.net (Jaye Mathisen)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache still and timeouts
Message-ID:  <199603301043.DAA20878@shell.aros.net>
In-Reply-To: <Pine.BSF.3.91.960329154711.1032C-100000@schizo.cdsnet.net> from Jaye Mathisen at "Mar 29, 96 03:48:00 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Lo and behold, Jaye Mathisen once said:

> The local named would cache some of them I would think as well, it may be 
> better to let named worry about it...
> 
> I'd be interested in the script if you finish it.

   The only downside to that is that you'll suffer a pretty hefty 
performance penalty.  Yes, the odds are .. somewhat good that named will 
cache the successful hits, but you're still stuck using the networking 
interface to do lookups (read: slow as hell) instead of reading them from 
local memory (infinitely faster. :) and you lose the benefit of being 
able to 'flag' unlookupable addresses quickly and efficiently so you 
don't do multiple unsuccessful queries - the real bogdown.

   Just make sure you've got enough memory in the beast.  Even using a 
bunch of swap would be faster than a reverse namelookup on the IP.

    -Dave Andersen

-- 
angio@aros.net                Complete virtual hosting and business-oriented
system administration         Internet services.  (WWW, FTP, email)
http://www.aros.net/          http://www.aros.net/about/virtual/
  "There are only two industries that refer to thier customers as 'users'."




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