Fork me on GitHub
#datahike
<
2021-03-13
>
Jakub Holý (HolyJak)10:03:11

Hi! How does datahike compare to datalevin? They both add persistence to DataLog, one via the hitchhiker-tree with various backends, one via LMDB. So they seem similar to a beginner. 🙏

ribelo13:03:21

the main difference is that datahike also stores transaction history, and is not, although it can be, schemaless

👍 7
whilo23:03:25

Let me add to this that we have full persistent semantics, that is you can get a snapshot of the database for free and pass it around in your app between requests or to a background batch processing job. Datalevin's indices are only snapshotted inside of a LMDB transaction and are mutated as soon as your query result has returned. Datahike is like Datomic, while Datalevin is a mutable Datalog database. Having said this it is my belief that Datalevin could have been realized inside of Datahike with the interfaces we provide to integrate new indices.

Jakub Holý (HolyJak)10:03:56

thank you! that clarifies things quite a bit