Fork me on GitHub

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. 🙏


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

👍 7

Thank you!


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.


thank you! that clarifies things quite a bit