datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
sova-soars-the-sora 2020-06-12T13:03:18.084Z

hi, i have a question, if you are using datascript on the clientside with cljs and also on the serverside with clj, how are you persisting your database between starts / how are you saving it to disk?

sova-soars-the-sora 2020-06-12T17:57:25.084800Z

Likely going to use Duratoms

cjsauer 2020-06-12T22:27:43.085600Z

@sova have you checked out https://github.com/replikativ/datahike?

2💯1
cjsauer 2020-06-12T22:29:54.088200Z

Hadn’t heard of duratoms before, looks really simple, especially if your data requirements are modest. I imagine it will have performance issues with large volumes of datoms.

cjsauer 2020-06-12T22:30:53.088800Z

There’s also #datahike if you have questions about it.