Skip to main content

Module limits

Module limits 

Source
Expand description

Numeric domains shared by every DialCache implementation.

Constants§

DEFAULT_COMPRESSION_THRESHOLD_BYTES
Default compression threshold in serialized bytes.
DEFAULT_FALLBACK_TIMEOUT_MS
Library default source budget.
DEFAULT_LOCAL_CAPACITY
Default process-local capacity per instance.
DEFAULT_REMOTE_READ_TIMEOUT_MS
Library default remote read budget.
DEFAULT_SHADOW_MAX_IN_FLIGHT
Default concurrent shadow jobs per instance.
DEFAULT_ZSTD_LEVEL
Default zstd level.
FRAME_KEY_SUFFIX
Key suffix of every stored value frame.
MAX_CACHE_TTL_SEC
Cache TTL ceiling in whole seconds.
MAX_DEADLINE_MS
Largest source or read deadline, in milliseconds.
MAX_DECOMPRESSED_BYTES
Ceiling on one decompressed payload (Redis’s own value limit).
MAX_SAFE_INTEGER
Largest integer JavaScript represents exactly; timestamps and counters beyond it are rejected rather than rounded.
MAX_SUPPORTED_DURATION_MS
Fixed 365-day ceiling shared by cache TTLs and invalidation buffers, in milliseconds.
MAX_TRACKED_VALUE_TTL_MS
Tracked Redis values are physically retained for at most one hour so invalidation markers can safely age out.
MIN_WATERMARK_TTL_MS
Minimum watermark retention: twice the tracked value cap.
WATERMARK_TTL_MARGIN_MS
Slack added to derived watermark retention.
WATERMARK_USE_CASE
Reserved use case name owned by invalidation watermarks.