OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [OT] CDB performance

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Thu Jul 07 2005 - 15:48:16 CDT


On Thu, Jul 07, 2005 at 10:34:35PM +0200, Andrzej Kuku?a wrote:

> Hello,
>
> I just remembered an interesting topic on CDB performance problem
> related to mmap()ing and munmap()ing the database on every query.
> Worth reading.
>
> <http://msgs.securepoint.com/cgi-bin/get/djbdns-0404/34.html>
>
> I think it has no impact on Postfix, but it's worth noting in case of
> (possible?) future problems in this field...
>

The recommended CDB implemented for Postfix is Michael Tokarev's tinycdb.
The code in dict_cdb_lookup() does not remap the file on every lookup.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>