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 Jos, That's not the purpose of this patch. It's there to decrease the number of times a open(2) and mmap(2) is called. Usually tinydns does this every x queries (right?). If you have a high-traffic/load server, this could eventually be done at a much higher rate (>1/s). -- Kind regards, Harm van Tilborg Jos Backus wrote: > On Thu, Mar 26, 2009 at 04:43:02PM -0500, Mark Johnson wrote: >> Any opposition to this patch? >> >> http://marc.info/?l=djbdns&m=108229203212517&w=3 > > It seems to violate POLA. And are there really cases where people update > data.cdb multiple times per second and want this behavior? >