Re: [Zinq-general] Patch to open data.cdb no more than once per second

Harm van Tilborg <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
Hi Mark,

That's true, but since zinq is using autotools, right? Maybe you can 
make a configure option for this behaviour?

And a silly question maybe, but how do you measure the qps of tinydns? 
Just seeing how many log lines appear in a certain amount of time? Since 
tiny doesn't have a `stats' line, as far as i remember.

-- 
Kind regards,
Harm van Tilborg

Mark Johnson wrote:
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.