API Reference SuperCache v#1.4.0

Copy Markdown View Source

Modules

Example Order struct for SuperCache demonstrations.

Example Product struct for SuperCache demonstrations.

Example User struct for SuperCache demonstrations.

High-throughput, in-memory cache backed by ETS.

OTP Application callback module for SuperCache.

Unified startup and shutdown for SuperCache.

Manages per-scheduler write buffers used by SuperCache.lazy_put/1.

Cluster-aware startup and shutdown for SuperCache.

Shared helpers for distributed read/write operations.

Shared routing helpers used by all distributed high-level stores (KeyValue, Queue, Stack, Struct).

Distributed cluster health monitor for SuperCache.

Maintains the cluster membership list and the partition → primary/replica mapping.

Low-overhead counter and latency-sample store for SuperCache observability.

Monitors a declared set of nodes and notifies SuperCache.Cluster.Manager when they join or leave, so partition maps are updated.

Applies replicated writes on the local node and handles bulk partition transfers when a new node joins or a full sync is requested.

Routes SuperCache operations to the correct primary node and applies replication after each write.

Observability utilities for a running SuperCache cluster.

Three-phase commit (3PC) coordinator.

In-memory transaction log for the three-phase commit protocol.

Write-Ahead Log for fast strong consistency.

Central configuration store for SuperCache.

Backwards-compatibility shim for SuperCache.

Compatibility shim → use SuperCache.KeyValue directly.

Compatibility shim → use SuperCache.Queue directly.

Compatibility shim → use SuperCache.Stack directly.

Compatibility shim → use SuperCache.Struct directly.

GenServer owner for ETS tables managed by SuperCache.

Internal concurrent queue used by SuperCache buffer streams.

Internal stream processor for SuperCache buffer queues.

In-memory key-value namespaces backed by SuperCache ETS partitions.

Conditional logging for SuperCache.

Partition resolution and management for SuperCache.

Registry for partition ETS table names.

Named FIFO queues backed by SuperCache ETS partitions.

Named LIFO stacks backed by SuperCache ETS partitions.

Thin wrapper around :ets that provides the read/write/delete primitives used throughout SuperCache.

Compiled match specifications for ETS queries.

In-memory struct store backed by SuperCache ETS partitions.

Dynamic supervisor for user-spawned workers in SuperCache.

Mix Tasks

Run ETS query benchmarks comparing match vs select with compiled specs.