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 2019-12-10T09:52:45.202900Z

Here is my article on Datahike replication with dat: https://lambdaforge.io/2019/12/08/replicate-datahike-wherever-you-go.html

👍 6
knubie 2019-12-13T00:06:20.218Z

Great write up! I hope to see more support for replication in Datahike in the future.

knubie 2019-12-13T00:06:37.218200Z

I'm currently using pouchdb/couchdb in my clojurescript project, but would love to move to something more clojure-y like datahike

whilo 2019-12-14T09:56:21.002200Z

Yes, that is actually a goal to us since long ago. Right now we are trying to figure out how to acquire the resources/manpower to port Datahike's query engine to ClojureScript.

knubie 2019-12-15T00:44:50.004300Z

Sounds great, I'd live to pitch in and help wherever needed.

whilo 2019-12-16T07:17:27.005200Z

Our current plan of how to do that is to use core.async operations for all DB index accesses like here: https://github.com/replikativ/datahike/blob/master/src/datahike/query.cljc#L454

whilo 2019-12-16T07:18:39.005500Z

So in the end all DB operations that require to access index parts that are not part of the root will use core.async and hence support blocking IO in cljs. One could use other asynchronous libraries though, it seems core.async is still the best option for Clojure though.

whilo 2019-12-16T07:19:59.005700Z

A good warmup would be to make the cljs tests of https://github.com/replikativ/hitchhiker-tree/ run again. I think we have some issue with transit-cljs and incognito there.

knubie 2019-12-16T15:10:01.006900Z

Cool! I’ll take a look in the next couple of weeks. BTW is there a github issue or something outlining the plan for reimplementing cljs support?

bocaj 2019-12-10T21:15:15.204100Z

Link not found in the article https://lambdaforge.io/2019/12/08/github.com/replikativ/datahike