Deliverdb in a memcached

Simon Matter simon.matter at invoca.ch
Tue Aug 23 05:25:06 EDT 2011


> On a very busy Imap server , duplicate suppression sometimes becomes the
> bottleneck
> I have seen that If I disable duplicate suppression , my lmtp deliveries
> are speeded up.
>
> Duplicate suppression is important , but the database need not persist
> for very long.
> I have seen in most of the cases if there is a duplicate mail ( due to
> forwards , groups etc ), it arrives within 10 minutes of the first mail
> ( Any exception to this is too minor and can be ignored )
>
>
> IMHO There should be a configuration that the deliverdb can be,
> optionally,  stored in memcached or directly in memory.
> Of course there are cons .. like loss of data on restart etc. But these
> are OK.

I think storing it in tmpfs would be what you want. The init script could
then save a permanent copy on shutdown and put it in place on startup.
That way you won't loose anything on normal restart procedure.

Simon



More information about the Info-cyrus mailing list