Re: [Zinq-general] Patch to open data.cdb no more than once per second
Jose Celestino <[email protected]>
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
Words by Mark Johnson [Thu, Mar 26, 2009 at 07:19:19PM -0500]: > 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. Well, maybe, but changing data and makeing would be transparent for the user if make did the HUP after the cdb was in place. -- Jose Celestino | http://japc.uncovering.org/files/japc-pgpkey.asc ---------------------------------------------------------------- "One man’s theology is another man’s belly laugh." -- Robert A. Heinlein