View Source Chord.Backend.ETS (Chord v0.1.0)
ETS-based backend for Chord, providing context-level state and delta management
with versioning support. Both tables use :ordered_set
to leverage efficient
key ordering for listing and cleanup operations.
Tables
@context_table
: Stores context state with a composite key{context_id, inserted_at}
.@context_history_table
: Stores deltas with a composite key{context_id, version}
.
Configuration
This backend can be used out-of-the-box with the following settings:
config :chord, :backend, Chord.Backend.ETS