wal-s

Crates.iowal-s
lib.rswal-s
version0.2.0
sourcesrc
created_at2022-07-18 12:36:00.690951
updated_at2022-07-24 09:30:25.651415
descriptionImplementation of write-ahead log based storage.
homepage
repository
max_upload_size
id627717
size51,652
sam (jsam)

documentation

README

WAL-S

Implementation of write-ahead log based storage.

Features

  • Write-Ahead Log

  • Read snapshots

  • Write batching

  • Metadata support

  • Stateless iterators

  • Stateful iterators

  • Sliding window

  • Counter and time based identifiers

  • Distance metrics

  • Data exporting

Getting started

WALS::new("stream1", db)
    .snapshot()
    .iter()
    .for_each(|record| {
        let stream2 = WALS::from("stream2", db);
        let result = process(record);
        stream2.append(result);
    })
 stream
    .flush()
    .snapshot()
    .unwrap()
    .window(10, &StreamID::default())
    .for_each(|batch| {
        println!("size={}", batch.len());
        assert_eq!(batch.len(), 10);
        counter += 1;
    });

Docs

TBD

Commit count: 0

cargo fmt