Re: [Zinq-general] Patch to open data.cdb no more than once per second
Mark Johnson <[email protected]>
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 26, 2009 at 7:07 PM, Jose Celestino <[email protected]> wrote: > Words by Mark Johnson [Thu, Mar 26, 2009 at 06:55:39PM -0500]: >> >> The idea is to minimize the per query overhead. I don't know that >> trading a mmap/munmap per query for a stat per query would be that >> great of a trade. Reopening data.cdb only upon receipt of, say, a >> SIGHUP, would be even better, but that would *really* surprise people. > > Why would іt surprise? It is actualy a good idea. It's not how people expect djbdns to behave.