getserv* functions and lookupd
Michael Bushkov
bushman at rsu.ru
Mon Aug 23 00:54:00 PDT 2004
> Finally, the solution that has most often been discussed for improving
> the performance of getservbyname() and friends is a Berkeley db
> implementation similar to the way login.conf is done now. I'm not sure
> a
> lookup daemon is justified, and I'd like to see some discussion about
> this topic too.
>
> Thanks,
>
> Doug
>
Hello!
I think the best way to solve the problems with getserv* functions is to
implement them via nsdispatch. It gives us an ability to plug in any
appropriate functionality later.
I've attached the patch to libc, which does it. It implements nis, files
and compat sources. Any other source can be plugged dynamically as
nsswitch module. I'll release next lookupd version, which supports
getserv* functions in the next 5-6 days. It solves a lot of problems, i
think, because of caching.
Thanks,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getserv.patch
Type: text/x-patch
Size: 28112 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040823/d553774d/getserv.bin
More information about the cvs-src
mailing list