Settings

Theme

TerminusDB Internals: Mutation in a Graph Database

terminusdb.com

25 points by ggleason · 6 comments

Reader

2 threads
fulafel

TerminusDB is written in Prolog, pretty cool. See eg https://github.com/terminusdb/terminusdb/blob/main/src/core/...

  • ggleasonOP

    Yes, but the low level memory layout and search iterators are written in rust.

ggleasonOP

This is my account of how we took the idea of succinct data structures, and added mutability, thereby getting something which allows for git-like functionality, but also fast query and compact memory footprint.

  • dandelo53

    In the third example box of the "Immutable Updates" section, I believe the text '(joe,dob,"Joe Bob") ===> Answer' should be changed to '(joe,dob,"1978-01-01") ===> Answer'.

  • mamcx

    How good is the overall speed?

    • ggleasonOP

      Quite speedy, especially when looking at relatively long chains in the graph.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection