#graph #database

indradb-postgres

A postgres-backed datastore for IndraDB

1 unstable release

Uses old Rust 2015

0.1.0 Jun 12, 2018

#158 in #graph

MPL-2.0 license

30KB
598 lines

IndraDB Postgres Implementation Docs Build Status

This is an implementation of the IndraDB datastore for postgres. It should generally be considered by far the slowest datastore implementation available, however it provides a few major benefits:

  • Transaction changes can be rolled back on error.
  • Multiple IndraDB server processes can run on the same datastore at the same time.
  • You can use all of the postgres tooling to poke around at the results.
  • Thanks to foreign keys et al., this is probably less buggy than other implementations.

Running tests

Run ./test.sh.

Running benchmarks

Run ./test.sh --bench.


lib.rs:

The postgres datastore implementation.

This should generally be considered by far the slowest implementation, however it provides a few major benefits:

  • Transaction changes can be rolled back on error.
  • Multiple IndraDB server processes can run on the same datastore at the same time.
  • You can use all of the postgres tooling to poke around at the results.
  • Thanks to foreign keys et al., this is probably less buggy than other implementations.

Dependencies

~15MB
~316K SLoC