Skip to main content

Crate feldera_buffer_cache

Crate feldera_buffer_cache 

Source
Expand description

Weighted in-memory buffer caches with LRU and S3-FIFO eviction.

Structs§

BufferCacheBuilder
Builds the cache layout used by DBSP runtime worker pairs.
LruCache
A weighted, thread-safe LRU cache.
S3FifoCache
A sharded, weighted, thread-safe S3-FIFO cache backed directly by quick_cache.

Enums§

BufferCacheAllocationStrategy
Controls how caches are shared across a foreground/background worker pair.
BufferCacheStrategy
Selects which eviction strategy backs a cache instance.
ThreadType
Type of a DBSP worker thread that owns a buffer-cache slot.

Traits§

BufferCache
Common object-safe API implemented by all buffer-cache backends.
CacheEntry
Cached values expose their memory cost directly to the cache backends.

Type Aliases§

SharedBufferCache
Shared trait object used to pass buffer-cache backends around.