8000 GitHub - durable-oss/durable-cag: Content-addressed graph for processing networks, with BLAKE3 ids, pluggable stores, and memoized evaluation. · GitHub
[go: up one dir, main page]

Skip to content
  • About

    Content-addressed graph for processing networks, with BLAKE3 ids, pluggable stores, and memoized evaluation.

    Topics

    Resources

    Stars

    0 stars

    Watchers

    0 watching

    Forks

    Repository files navigation

    durable-cag

    A content-addressed graph for processing networks, shared by independent node systems. This is used internally by Durable Programming for multimedia processing; our internal consumers are proprietary, but if you are working on a similar system, you may find this useful.

    • cag-core: BLAKE3 ids, the Envelope every node is stored and hashed as, the Node trait a system implements, async store traits, an in-memory store, layered stores, and graph traversal and copying that work across systems.
    • cag-store-disk: a directory store with atomic writes, verify-on-read, write-once memos, and named refs.
    • cag-eval: products, providers, and steppers. Every result is memoized under a key derived from the node's id and the request, so it is never invalidated and is shared by every process using the store. Steppers handle outputs that depend on all of history (IIR filters, feedback effects) by checkpointing their state as they go.
    • cag-vm: the op registry fandango and oscillatide each carried a copy of, and an opt-in Workspace for hosts that hold several graphs over several stores at once.
    cargo test --workspace
    MIRIFLAGS=-Zmiri-disable-isolation cargo +nightly miri test --workspace
    (cd fuzz && cargo test)   # AFL targets; see fuzz/README.md to fuzz

    DESIGN.md has the model, and what each project changes to move onto it. tests/interop.rs is a worked example of two systems used together.

    Licensed under MIT or Apache-2.0, at your option.

    About

    Content-addressed graph for processing networks, with BLAKE3 ids, pluggable stores, and memoized evaluation.

    Topics

    Resources

    Stars

    0 stars

    Watchers

    0 watching

    Forks

    Releases

    Packages

    Contributors

    Languages

    0