Skip to content

Caching

Overview

Fountain provides cache implementations under libs/cache, ranging from in-process eviction policies to a distributed Redis-backed cache.

Available caches:

  • redis_cache — distributed cache backed by Redis.
  • memcache — Memcached-backed cache.
  • lru_cache — in-process least-recently-used cache.
  • lfu_cache — in-process least-frequently-used cache.
  • arc_cache — adaptive replacement cache.

See also