Skip to content

About

Shared state in every service that needs it, kept in sync over NATS: local reads, restarts that resume, and no silently incomplete copies.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Slipstream

Slipstream keeps a copy of your shared state, such as routes, config or assignments, in every service that needs it, kept in sync over NATS. Reads are local, and a restart resumes instead of starting over.

NATS only carries the changes; the copies are the state. If a copy can't be proven complete, Slipstream repairs it or tells you. It never serves it silently.

// On every edge node: keep the routes table current in a local store.
let end = Preset::full_replica(routes.reader(), restore)
    .run(watcher, Some(resume), store, exports_rx, parse, |batch| table.apply(batch), on_applied, shutdown)
    .await;

// Hot path: a local read, no network hop.
let origin = table.get(host);
You get How
Local reads Lookups hit your process, not NATS
A current copy Updates stream in as they're written
Restart safety The cursor is saved with the data and advances only after your apply returns, so a crash never skips an update
Fast new nodes A new node bootstraps from an artifact in object storage, then catches up from NATS
No silent gaps If a copy may be incomplete, the watch repairs it from an artifact or stops and tells you

Use it for state many processes read and few write: routing tables, certs and domains, feature flags, per-node desired state, service discovery.

Don't use it for locks or CAS (use NATS KV with discard: new), work queues (JetStream work-queue streams), high-rate event fan-out, multi-key transactions or queries (Postgres), or read-your-own-write across nodes.

How it works

NATS is a bounded log: entries are evicted past max_bytes and max_age. Each service folds the change stream into a local store (the fold) and saves the stream position (the cursor) with it. On restart, NATS sends only what changed since the cursor.

Once NATS has evicted past a cursor, it can't replay the gap. The folds across the fleet are the only full replicas. A fold that falls past retention restores from the newest artifact a peer exported, then resumes.

 NATS JetStream KV
 ┌──────────────────────────────────────────────────────┐
 │  [evicted] ◄──── seq 998  seq 999  seq 1000  ──────► │  max_bytes / max_age
 └───────────────────────────┬──────────────────────────┘
                             │ KvUpdate stream
                             ▼
                      watch_applied()
                   ┌─────────────────────┐
                   │  parse              │
                   │  apply()            │ ← your domain logic
                   │  cursor = seq 1000  │   advances after apply() returns
                   └──────────┬──────────┘
                              │
                   ┌──────────▼──────────┐
                   │  local fold         │ folds are the only full replicas
                   │  cursor = 1000      │ once NATS evicts past cursor
                   └──────────┬──────────┘
              ┌───────────────┴──────────────────────┐
              │                                      │
              ▼                                      ▼
   restart                                 new node / cursor expired
   resume from cursor = 1000               export fold to object storage
   NATS delivers seq 1001+ only            import + resume from embedded cursor

The cursor advances after apply() returns, not on receipt. A crash between delivery and application re-delivers on the next start instead of silently skipping. watch_applied enforces this invariant.

For folds that outgrow RAM, fjall (pure Rust) and rocksdb backends hold state on disk.

A raw watch_* re-list is only what the bucket still holds. On a bucket that evicts, it can miss live keys. For the current set, use Preset::full_replica or Preset::node_slice.

Operating a bucket (sizing, limits, recovery, alerts): docs/OPERATIONS.md.

Install

[dependencies]
beyond-slipstream = "0.10"

On-disk snapshot backends are opt-in cargo features:

beyond-slipstream = { version = "0.10", features = ["fjall"] }     # pure-Rust LSM, no C toolchain
beyond-slipstream = { version = "0.10", features = ["rocksdb"] }   # RocksDB (requires C++ toolchain + libclang)
beyond-slipstream = { version = "0.10", features = ["transport"] } # export/import via object_store (S3, GCS, local)

Concepts

Term What It Is
Connection NATS connection lifecycle + store factory
KvStore Named bucket. Vends reader, watcher, writer
KvReader Point-in-time reads: get, entry, keys, scan
KvWatcher Live update stream via channel
KvWriter Write, soft-delete, CAS (create, update, delete_with_version)
WatchCursor Opaque position in a watch stream. Save it; pass it back on reconnect
VersionToken Opaque version — NATS: u64 revision; FDB: 10-byte versionstamp
KvEntry One key + value + version from a read
KvUpdate One watch event: Put, Delete, or Purge
Snapshot Deduplicated KV state + cursor at a point in time. On a bounded log, a replica of record: NATS no longer holds what it evicted
SnapshotWriter Append-only log of KvUpdates; survives restarts without a full NATS scan
SnapshotStore Trait: the durable-fold contract — apply (data + cursor, atomically), load, get, range
AppendLogSnapshot Default SnapshotStore: the append-only log + an in-RAM fold (pure-Rust, small state)
FjallSnapshot On-disk SnapshotStore for folds too large for RAM; queryable (feature = "fjall")
RocksDbSnapshot Same contract on RocksDB, for consumers who prefer the C++ LSM (feature = "rocksdb")
watch_applied Watch loop that advances the cursor only after your apply returns, folding into any SnapshotStore
ConnectionCapabilities Feature flags for runtime branching (CAS, streaming watch, global ordering)

Usage

Connect

use slipstream::{Connection, NatsConnection, NatsConnectionConfig};

let conn = NatsConnection::new(NatsConnectionConfig {
    url: "nats://localhost:4222".into(),
    creds: None,
    creds_file: None,
});
conn.connect().await?;

Open a store

use slipstream::{StoreConfig, StorageType};
use std::time::Duration;

let store = conn.store_with_config(StoreConfig {
    name: "nodes".into(),
    storage: StorageType::Persistent,
    max_bytes: Some(512 * 1024 * 1024), // required by Synadia Cloud
    max_history: Some(1),
    max_age: Some(Duration::from_secs(30 * 24 * 3600)),
    num_replicas: Some(3), // HA clusters
    ..Default::default()
}).await?;

max_bytes is required on Synadia Cloud. Omit only for self-hosted NATS.

Read

use slipstream::KvReader;

let reader = store.reader();

// Single key — filters tombstones; use entry() to include them for CAS
if let Some(entry) = reader.get("node.us-east-1").await? {
    println!("{}: {:?}", entry.key, entry.version);
}

// All entries under prefix
// Uses DeliverPolicy::LastPerSubject: one NATS consumer, not N round-trips.
let entries = reader.scan("node.").await?;

// Key names only (no value transfer)
let keys = reader.keys("node.").await?;

Write

use slipstream::KvWriter;

let writer = store.writer().expect("store is writable");

// Unconditional write
let version = writer.put("node.us-east-1", &payload).await?;

// Create only. Returns AlreadyExists if key has a live value.
let version = writer.create("lock.migration", &payload).await?;

// CAS update. Returns RevisionMismatch if version doesn't match.
let new_version = writer.update("node.us-east-1", &payload, &version).await?;

// CAS delete. Returns RevisionMismatch on conflict.
writer.delete_with_version("node.us-east-1", &version).await?;

// Best-effort delete — returns Ok(true) even if key didn't exist.
writer.delete("node.us-east-1").await?;

Watch

use slipstream::{KvUpdate, KvWatcher};

let watcher = store.watcher().expect("store supports streaming");
let (tx, mut rx) = tokio::sync::mpsc::channel(128);

// Watches are state-sync streams: the current value of every matching key is
// delivered first (as puts), then live updates. No separate scan needed — and
// no scan-to-watch race window.
//
// watch_all blocks until the stream ends — run it in a separate task
tokio::spawn(async move {
    watcher.watch_all(tx).await.unwrap();
});

while let Some(update) = rx.recv().await {
    match update {
        KvUpdate::Put(entry) => { /* ... */ }
        KvUpdate::Delete { key, version } => { /* ... */ }
        KvUpdate::Purge { key, version } => { /* ... */ }
    }
}

Dropping rx cancels the watch. The watcher task exits and unsubscribes automatically.

Resumable watch

The cursor is a sequence number. Persist it; pass it back on reconnect. NATS delivers only the delta since that position.

let cursor = load_cursor().unwrap_or(WatchCursor::none());

match watcher.watch_all_from(&cursor, tx.clone()).await {
    Ok(()) => {}
    Err(KvError::CursorExpired) => {
        // NATS compacted past the cursor. Full replay required.
        watcher.watch_all(tx).await?;
    }
    // The bucket was deleted and recreated: the cursor is the old stream's.
    // Discard it and whatever was folded under it, then start from no cursor.
    Err(KvError::ForeignCursor) => return Err(KvError::ForeignCursor.into()),
    Err(e) => return Err(e.into()),
}

A cursor records which incarnation of the stream it was taken from (NATS: the stream's creation time). A bucket recreated under the same name restarts its revisions at 1, so a cursor from the old one is refused with KvError::ForeignCursor rather than resumed, whether it sits above the new head or inside the new range. watch_applied repairs it as a fold with no cursor (the re-list diff, or an artifact restore) when a repair is armed, and fails with the error otherwise. An artifact exported from the old stream is refused as a restore source the same way. Cursors written before this was recorded are admitted while their position is possible in the current stream, and record the incarnation from the next batch on.

The full replay only re-delivers what NATS still holds. On a bucket with max_age or discard: old, values that aged out are gone from it; watch_applied restores those from an artifact.

watch_prefix_from() works the same way for prefix-filtered streams, and watch_prefixes_from() resumes the union of several prefixes on one multi-filter consumer.

Snapshot

For services that cache KV state locally, the snapshot persists both state and cursor to disk. On restart, load the snapshot and resume the watch from its cursor — only the delta since the last checkpoint arrives from NATS.

Startup

use slipstream::snapshot;

if let Some(snap) = snapshot::load(Path::new("/var/lib/svc/state.snap"))? {
    for (key, entry) in snap.entries {
        cache.insert(key, entry.value);
    }
    watcher.watch_all_from(&snap.cursor, tx).await?;
} else {
    // Complete only if the bucket has never evicted a current value; on a
    // bounded log, seed a fresh node from an artifact instead.
    watcher.watch_all(tx).await?;
}

Runtime

use slipstream::snapshot::SnapshotWriter;

let mut snap = SnapshotWriter::open(
    Path::new("/var/lib/svc/state.snap"),
    10 * 1024 * 1024, // compact after 10MB of appended records
)?;

while let Some(update) = rx.recv().await {
    cache.apply(&update);
    snap.write_update(&update); // buffered, no I/O

    // checkpoint() flushes + syncs to disk; returns true when compaction is due
    if snap.checkpoint(&current_cursor)? {
        // compact() is blocking I/O; run via spawn_blocking in async contexts
        tokio::task::spawn_blocking(move || snap.compact()).await??;
    }
}

This loop has a trap: current_cursor must track what cache.apply() has consumed, not what rx.recv() delivered. Get it wrong and a crash skips updates on resume. watch_applied runs this loop for you with that invariant enforced.

On a bounded log the snapshot is a replica of record, not a cache. Deleting it and re-listing NATS loses everything NATS has evicted: rebuild a lost or corrupt fold by importing the latest artifact. Re-listing is complete only on a bucket that never evicts current values.

File format

Header:  b"PGSS" ++ version:u16le
Record:  crc32:u32le ++ type:u8 ++ payload
Record type Byte Payload
REC_PUT 0x01 key_len:u16le ++ key ++ value_len:u32le ++ value ++ ver_len:u8 ++ version_bytes
REC_DELETE 0x02 key_len:u16le ++ key ++ ver_len:u8 ++ version_bytes
REC_CURSOR 0x03 cursor_len:u8 ++ cursor bytes

version_bytes is the raw [VersionToken] bytes (≤10), not a fixed u64, so NATS revisions (8 bytes) and FDB versionstamps (10 bytes) both round-trip intact.

A truncated final record (crash mid-write) is discarded; earlier records are intact. A CRC failure mid-file returns SnapshotError::Corrupted.

Pluggable backends

The durable fold is a trait, [SnapshotStore], so a consumer picks where its fold lives. The contract is small — apply a batch and advance the cursor atomically, resume from the cursor on restart, and query the result:

pub trait SnapshotStore: Sized + Send {
    fn load(path: &Path) -> Result<(WatchCursor, Self), SnapshotError>;
    fn apply(&mut self, batch: &[KvUpdate], cursor: &WatchCursor) -> Result<(), SnapshotError>;
    fn get(&self, key: &str) -> Result<Option<KvEntry>, SnapshotError>;
    fn range(&self, prefix: &str) -> Result<Vec<KvEntry>, SnapshotError>;
}

Every backend keeps the same invariants. Fold + tail = truth: the fold at cursor C, plus a resume from C, is every write minus every real delete (a cursor means every retained message at or below it is applied). Cursor-after-apply: the cursor never names a revision whose data isn't durable. Replica of record: on a bounded log the fold can't be rebuilt from NATS alone; a tail lost to power loss is rebuilt by resuming from the recovered cursor while it is inside NATS's retention, and by the cursor-expiry repair (an artifact restore) once it isn't, and a lost or corrupt fold is rebuilt by importing an artifact, never by re-listing NATS.

Backend When Notes
AppendLogSnapshot Default. Fold fits in RAM (edge/tunnel-style services) Pure-Rust, the append-only log above plus an in-RAM map serving get/range. No extra dependencies.
FjallSnapshot Fold too large for RAM (e.g. routing at ~1B keys) On-disk fjall LSM, feature = "fjall". Pure-Rust. Each apply is one atomic batch (data and cursor); durability (NO_SYNC vs fsync) is configurable.
RocksDbSnapshot Same as FjallSnapshot, preferring the battle-tested C++ LSM and its tooling (ldb, sst_dump) On-disk RocksDB, feature = "rocksdb". Each apply is one atomic WriteBatch (data and cursor); WAL always on, per-commit fsync configurable. Tuned for billion-key route folds (hit-optimized ribbon filters, partitioned index, zstd bottommost, batched multi_get). Builds C++ (needs a toolchain + libclang).

Pick a backend, then hand it to watch_applied — load returns the resume cursor alongside the store:

use slipstream::{AppendLogSnapshot, SnapshotStore};

// Default in-RAM backend:
let (resume, store) = AppendLogSnapshot::load(Path::new("/var/lib/svc/state.snap"))?;

// Or, behind `feature = "fjall"`, an on-disk fold for a large consumer:
// let (resume, store) = FjallSnapshot::open(dir, FjallConfig { sync: false, ..Default::default() })?;

// Or the same on RocksDB, behind `feature = "rocksdb"`:
// let (resume, store) = RocksDbSnapshot::open(dir, RocksDbConfig { sync: false, ..Default::default() })?;

let final_cursor = watch_applied(
    watcher, WatchScope::All, Some(resume),
    repair,             // cursor-expiry repair (see "Cursor expiry"); None to skip
    Some(store), None,  // store; export-request channel
    BatchConfig::default(),
    parse, apply, on_applied, shutdown,
).await?;

The trait stops at durable fold + cursor + query. Serving structures built from the fold (routing rings, hashrings, indexes) live in the consumer — query them out of the store with get/range. A consumer with a different engine can implement SnapshotStore itself; the rest of slipstream is unchanged.

Applied watch

watch_applied drives the watch-batch-apply-checkpoint loop and enforces one rule the hand-rolled version can't: the cursor advances only after your apply returns, never on receipt. It is generic over the SnapshotStore backend, so the consumer chooses where the durable fold lives (or None to run without persistence).

use slipstream::{watch_applied, AppendLogSnapshot, BatchConfig, KvUpdate, WatchCursor, WatchScope};

let final_cursor = watch_applied(
    watcher,
    WatchScope::All,                  // or Prefix("node.".into()) / Prefixes(vec![...])
    Some(resume),                     // Option<WatchCursor> — resume here, or None
    repair,                           // ExpiryRepair — how an expired cursor is
                                      //   repaired (see below), or None
    Some(store),                      // any SnapshotStore (e.g. AppendLogSnapshot), or None
    None,                             // Option<mpsc::Receiver<ExportRequest>> — live exports
    BatchConfig::default(),           // 10ms window, 100 updates per batch
    |update: &KvUpdate| parse(update),        // KvUpdate -> Option<U>; None just drops it
    |batch: Vec<U>| cache.apply_batch(batch), // your only domain logic
    |cursor: WatchCursor| persist(cursor),    // fires after apply returns
    shutdown,                                 // tokio::sync::watch::Receiver<bool>
).await?;

A batch closes when window elapses or it hits max updates, whichever comes first. Then, in order: apply(batch) runs to completion, the cursor advances to the batch's highest revision, the batch + cursor are folded into the store atomically (on a blocking task), and on_applied fires.

With a store, resume from the cursor the store reports (load/open), not one you persisted in on_applied: across a transient store failure, on_applied reports a cursor ahead of what the store has made durable.

Persist the cursor on receipt instead and a crash between receive and apply loses data: the cursor reads "caught up to rev N" while rev N sits in an unapplied buffer, and the next resume starts past it. watch_applied checkpoints at the applied cursor, so a persisted cursor always means every update up to it has been applied.

  • parse returning None (corrupt bytes, irrelevant key) still advances the cursor — nothing to apply means nothing to skip.
  • On CursorExpired it repairs the fold, then keeps watching. See Cursor expiry.
  • It returns the final applied cursor on shutdown or stream close.

apply runs inline. If it panics, the panic aborts the watch.

Cursor expiry

A cursor expires when NATS has evicted the revisions after it: at resume, or mid-watch when retention overruns a live All-scope watch (the floor guard). Both take the same repair, and the right repair depends on what the bucket's retention evicts.

Buckets that keep current values (discard: new, no max_age). Only old history and delete markers get evicted, so a key missing from the bucket was deleted. ExpiryRepair::Relist(reader) lists the bucket's live keys, deletes the fold's in-scope keys that are gone, then re-lists every live value.

Buckets that evict current values (max_age, or discard: old under max_bytes). A key missing from the bucket may just have aged out, and a write made while the node was offline may have aged out too. NATS can't tell those apart from a delete, so the key list can't be trusted. ExpiryRepair::Restore { reader, restore } replaces the in-scope fold with the newest published artifact (which holds every write minus every real delete) and resumes from its cursor. It never moves a key to an older revision and never deletes a key the bucket lists as live, so even an artifact exported while its exporter was catching up produces no transient phantom deletes or regressions. Relist is refused on these buckets: the watch fails rather than delete valid keys.

ExpiryRepair::Auto { reader, restore } reads the bucket's retention at expiry and picks for you:

use slipstream::{ArtifactRestore, ExpiryRepair};

let repair = ExpiryRepair::Auto {
    reader: bucket.reader(),
    restore: Arc::new(ArtifactRestore::new(
        transport,                 // Arc<dyn ArtifactTransport>, same key the fleet exports to
        "routes/latest",
        "/var/lib/svc/scratch",    // same filesystem as the fold
        |artifact, dest| FjallSnapshot::import(artifact, dest, config.clone()),
    )),
};

A restore only accepts an artifact that is ahead of the local fold, covers the watch's scope (recorded in the artifact by the exporting watch_applied), and whose cursor NATS still retains. Otherwise there is no safe recovery: the watch fails and logs the reason at error. Run exports well inside max_age (or the discard: old turnover), or an expired node has nothing fresh to restore from.

A node with no cursor on a bucket that has already evicted current values seeds from the artifact too, since a re-list alone would miss whatever aged out.

Turning eviction off later doesn't make the key list trustworthy again: keys that aged out while it was on stay missing from it. A node that ever saw its bucket evict remembers that in its saved cursor (and in every artifact it exports), so Auto keeps restoring and Relist keeps refusing.

On a bucket that evicts only by max_age, a node restarted within half of max_age resumes even when every message after its cursor was overwritten while it was down: none of those can have aged out, so there is nothing to restore.

A restore holds only the keys it will delete in memory; the keys it rewrites are spilled to the scratch directory, so it works at any fold size. The key-listing repair likewise sorts the bucket's listing on disk and walks it alongside the fold, holding only the keys it deletes. Under Auto it uses the restore source's scratch directory; under Relist it uses TMPDIR, so point that at disk, not tmpfs, for large buckets.

Some(reader) from older code still compiles and means Relist. None (or no store) falls back to the re-list alone and warns that deleted keys may persist.

Presets

Two combinations of scope, repair, store and export are real. Preset fixes each one's scope and repair so they can't be mixed up, and requires the pieces the use case can't do without (a store, an export channel). preset.run(..) is a call to watch_applied_owned, and everything a preset doesn't fix stays an argument. The low-level API is unchanged.

Preset::full_replica(reader, restore) Preset::node_slice(prefix)
For Fleet-wide tables every node folds (routes, assignments) One node's keys under a prefix
Scope All Prefix(prefix)
On cursor expiry ExpiryRepair::Auto: key-listing diff, or artifact restore on a bucket that evicts current values. The fold ends exact, or the watch fails. On ForeignCursor it reseeds from the new stream. ExpiryRepair::None: re-list only. Keys deleted during the gap may persist.
Needs A durable store, a RestoreSource, artifacts published inside retention A durable store, and retention that outlives the node's downtime
Lag in the snapshot The true backlog A trend: it counts the whole bucket's revisions
use slipstream::{Preset, WatchHealth};

let health = WatchHealth::new();
let preset = Preset::full_replica(bucket.reader(), restore).health(health.clone());
// or: Preset::node_slice(format!("{node}.")).health(health.clone());

let end = preset
    .run(watcher, Some(resume), store, exports_rx, parse, apply, on_applied, shutdown)
    .await;
// end.store and end.applied come back, error or not: call `run` again to restart.

Opening the fold (including the first-boot artifact import) and running the export loop stay yours; a preset documents what each needs.

Health

A running watch is correct without anyone looking at it, but a stale fold looks exactly like a healthy one from outside. Put a WatchHealth in BatchConfig::health (or Preset::health), keep a clone, and call snapshot() from a metrics or health task. It is a few relaxed atomic stores per flush: no allocation, no I/O, and the watch never waits on it. Use one handle per watch, and the same one across its restarts.

let s = health.snapshot();
// s.applied, s.lag, s.last_commit_age, s.apply_in_flight, s.repair,
// s.cursor_expiries, s.newest_artifact, s.restarts, s.last_error
Field Means Alert when
running A run is in progress on this handle False longer than your restart backoff
applied Every update at or below this revision is applied (and committed, with a store) It stops while lag is nonzero
last_commit_age Time since the store committed a batch (without a store: since it was applied). None until the first Large while lag is nonzero
apply_in_flight Age of the current store apply. None when none is Past your limit: apply has no timeout, so restart the process
stream_head, stream_first, head_sample_age The log's newest and oldest revision, sampled every 30 s (one stream-info request, not one per update) head_sample_age several intervals old
lag stream_head - applied at the last sample. Whole-bucket, so a prefix-scoped watch reads nonzero while idle Grows, or stays high, under All scope
repair Idle, Relisting, Restoring, Reseeding (bucket recreated, repair armed), Refused(reason), WaitingForArtifact(reason), ForeignCursorRefused (bucket recreated, no repair) Refused, WaitingForArtifact or ForeignCursorRefused: the fold is stale and retrying. They clear only when a repair succeeds
cursor_expiries Expired cursors handled Any increase with no repair armed (a ghost key is possible)
newest_artifact Cursor and age of the newest artifact this watch exported or read Age near your export interval or the bucket's retention
restarts, last_error Runs after the first; the error that ended the last one A rising rate

None means unknown, never healthy. ApplyProbe is replaced by this handle: WatchHealth::in_flight() returns what ApplyProbe::in_flight() did.

NATS mapping

Concept NATS primitive
Store JetStream KV bucket (KV_{name} stream)
VersionToken Per-key revision (u64, big-endian)
WatchCursor NATS revision at last checkpoint
delete() Writes empty value (soft delete). Always returns Ok(true)
KvUpdate::Purge Hard delete: all history removed from stream
scan() DeliverPolicy::LastPerSubject: one entry per key, one consumer
watch_*() DeliverPolicy::LastPerSubject: what the bucket still holds, then live updates
watch_prefix() Native NATS subject filter ({prefix}> wildcard)

Feature detection

let caps = conn.capabilities();

if caps.cas             { /* safe to call create/update/delete_with_version */ }
if caps.streaming_watch { /* watcher() is Some */ }
if caps.prefix_watch    { /* watch_prefix() uses a server-side filter */ }
if caps.global_ordering { /* VersionToken is globally ordered across keys */ }

Errors

Error Cause Recovery
NotConnected Operation before connect() Call connect()
AlreadyExists create() on a live key Read current state, decide
RevisionMismatch CAS conflict on update() / delete_with_version() Re-read, retry
CursorExpired watch_*_from() cursor compacted by NATS (at resume, or mid-stream when retention overruns an All-scope watch) watch_applied repairs it; raw callers fall back to watch_all() on buckets that keep current values
WatchError NATS stream dropped Re-subscribe

Credentials

Priority order, first match wins:

  1. creds: base64-encoded .creds content (containers, ECS)
  2. creds_file: path to .creds on disk (bare-metal, local dev)
  3. URL-embedded user:pass@host
  4. No auth

About

Shared state in every service that needs it, kept in sync over NATS: local reads, restarts that resume, and no silently incomplete copies.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages