EvictionStrategy: "fifo" | "lru" | "custom"

Eviction strategy for container capacity management

  • fifo: First-In-First-Out - removes oldest models first (default for event streams)
  • lru: Least Recently Used - removes models not accessed recently (good for caches)
  • custom: Uses customEvictionFilter function to determine which models to evict

See

  • ContainerOptions.maxCapacity
  • ContainerOptions.evictionStrategy