Wietse Venema: > Combining memcache and proxymap > ------------------------------- > > It seems that memcache is best for (surprise) doing what it was > designed for: a cache layer on top of a persistent database, where > the cache is maintained by the clients of the persistent database. ... > The idea is that the memcache client delegates persistent database > access to the proxymap server. Whenever the memcache client looks > up or modifies the persistent database, it updates the memcache > server to keep the cache up-to-date (clearly, cache consistency > won't be perfect, so information should be cached for only a limited > time).
Done in postfix-2.9-20111211-nonprod; the code is very lightly tested. Wietse