Message Cache

Revision as of 21:44, 13 May 2010 by BorisBurtin (talk | contribs) (Created page with '== Overview == The '''message cache''' is an in-memory cache that stores the MIME structures of recently-accessed messages. By caching the MIME structures, we avoid having to re…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

The message cache is an in-memory cache that stores the MIME structures of recently-accessed messages. By caching the MIME structures, we avoid having to reparse the blob on disk when a message is accessed multiple times. Since we're only caching the structure of the message and not the content, the size of each cache entry is small, usually 4k or less. The size of the message cache is specified by the zimbraMessageCacheSize server attribute. The default size is 2000.

The file descriptor cache allows us to use a bounded pool of file descriptors when accessing message bodies. It also limits the number of times that a file descriptor to a blob is opened and closed.

Jump to: navigation, search