datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
kkuehne 2020-10-01T11:19:43.025100Z

We released Datahike 0.3.2 with fixes and new entity specs. The changes can be found https://github.com/replikativ/datahike/releases/tag/v0.3.2 Going forward we want to release on shorter cycles, so fixes and new features can be used earlier on. 🚀

👍 10
zhuxun2 2020-10-01T18:30:26.027300Z

Is Datahike designed to work with multiple independent concurrent clients?

kkuehne 2020-10-02T15:20:35.027600Z

At the moment Datahike runs in your application process with one backend per connection. But you can have multiple connections to the same backend.

zhuxun2 2020-10-02T16:10:02.027800Z

@konrad.kuehne can the multiple connections come from different Java processes entirely?

kkuehne 2020-10-03T18:18:32.028300Z

No, because datahike wouldn’t know if something has changed on disk. You would need to add file-listeners in order to do that and reconnect once something has changed. Last year I used the dat protocol in order to sync databases. You would need to do something similar as in https://github.com/kordano/datahike-sync/blob/master/src/datahike_sync/core.clj#L72.

whilo 2020-10-06T06:02:25.028600Z

@zhuxun2 Datahike is definitely designed to work with multiple concurrent clients, we just have not implemented distributed connection management yet. We are currently working on https://github.com/replikativ/datahike-server/ which can provide an interface to concurrent requests in many different languages. It just does not run the query on the client side yet (as Datomic does).

👍 2
whilo 2020-10-06T06:03:21.028800Z

@konrad.kuehne wrote about the replication he linked above here: https://lambdaforge.io/2019/12/08/replicate-datahike-wherever-you-go.html