Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 22:28:24 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Chris Shenton <chris@shenton.org>
Cc:        Michael Bushkov <bushman@rsu.ru>
Subject:   Re: nscd for freebsd
Message-ID:  <3EF29B78.11DF3FA4@mindspring.com>
References:  <8713472442.20030619163913@rsu.ru> <87k7bi86ve.fsf@PECTOPAH.shenton.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Shenton wrote:
> Michael Bushkov <bushman@rsu.ru> writes:
> > Can anyone tell me if there is an implementation of nscd for FreeBSD?
> 
> For DNS information, have a look at "dnscache" from the djbdns suite.
> Small, secure, fast.
> 
> http://cr.yp.to/djbdns.html
> http://www.lifewithdjbdns.org/
> 
> If you're trying to cache other data, sorry to bother you.

We are not trying to cache; if any caching happens, it'll be
a side benefit.  What we are trying to do is come up with a
model that:

1)	Moves the dynamically loaded NSS modules out of the
	program address space, and onto the other end of a
	communications channel, so that statically linked
	programs can benefit from NSS modules that are not
	statically compiled into them.

2)	Allow multiple outstanding simultaneous requests on
	the communications channel from a given program, so
	as to provide a cheap and easy way to implement the
	support for the gethostaddr_r() and similar functions,
	which cannot otherwise be easily made thread safe,
	without consuming a socker per thread calling them.

If this yields caching as well, that's just gravy, not the goal.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EF29B78.11DF3FA4>