Skip to content
PACKAGES

multiWriterAppendLogStorage()

Build a D85 multi-writer append log over a conditional-create capable KV tier.

Sequence allocation is passive storage work: each writer proposes a padded key and retries the next key when another writer already created that slot. This does not provide general CAS, locks, leases, transactions, unsafe truncation, WAL replay, or graph restore semantics.

import { multiWriterAppendLogStorage } from "@graphrefly/ts/storage";
function multiWriterAppendLogStorage(opts: MultiWriterAppendLogOptions<T>): MultiWriterAppendLogStorageTier<T>
ParameterTypeDescription
optsMultiWriterAppendLogOptions<T>Options that configure the helper.

A MultiWriterAppendLogStorageTier<T> value.

import { multiWriterAppendLogStorage } from "@graphrefly/ts/storage";

packages/ts/src/storage/append-log.ts