Re: [Zinq-general] Patch to open data.cdb no more than once per second
John Levine <[email protected]>
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
>It can be done without signals. IIRC, someone created a patch to make >tinydns keep data.cdb open, and use fstat() on it to check whether it >had been updated. ... Is there any reason to think that any of these hacks would be perceptibly faster than the current patch that reopens the file once per second? I realize that mmap and munmap are not hugely fast, but if you're doing them only once a second, does that matter?