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
alidlorenzo 2019-11-02T04:23:41.093500Z

can datahike sync with datomic or is it meant to be used as a replacement for it?

kkuehne 2019-11-02T14:01:42.094600Z

Not yet but I'm working on a tool that migrates data from datomic to datahike.

kkuehne 2019-11-02T14:24:44.094800Z

Since datahike does not support all features it is not a complete replacement. But it depends on the requirements you have.

alidlorenzo 2019-11-02T15:46:14.095Z

trying to keep option open for offline support in the future. i don't mind not supporting all datomic features in client, offline mode as long as it can find a way to sync with server

alidlorenzo 2019-11-02T15:47:26.095200Z

but is this even one of the goals of datahike? couldn't really get an idea for it based on documentation, since it described it as an alternative to datomic, but I didn't see what the benefits of it would be besides it being open-source and using hitchhiker trees

whilo 2019-11-03T07:10:23.095400Z

syncing is definitely a plan. it is part of our replikativ libraries which aimed at that functionality in the first place. the hitchhiker-tree is practically perfect for replication, but we have not build the network IO layer for datahike itself yet. what are your specific needs? do you just want to be able to read on the clients or do you intend to have distributed write operations?

whilo 2019-11-03T07:10:41.095600Z

the latter is fairly hard to do in general, but we will provide CRDT support in datahike

whilo 2019-11-05T00:59:16.103900Z

@alidcastano what do you need from datahike in your backend?

alidlorenzo 2019-11-05T17:17:33.117700Z

@whilo was mainly looking for client solution to sync with datomic (like a pouchdb couchdb combo), since i'm satisfied with datomics offerings in server, even if it's closed source. I imagine Datomic can also be used with 3df, with a layer sitting on top to handle subscriptions. but I just started using it, and learning it's features.

alidlorenzo 2019-11-05T17:18:04.117900Z

perhaps a better question is what use-cases do you have in mind for datahike?

whilo 2019-11-05T20:00:45.118300Z

yes, i think replication is one of the main goals. unfortunately datomic's closed nature makes it harder to replicate it beyond hooking something in front of its transactor. 3df can be used with it and in general we try to keep our solutions compatible with datomic.

whilo 2019-11-05T20:05:36.118700Z

our high level goal is https://www.youtube.com/watch?v=A2CZwOHOb6U

whilo 2019-11-05T20:07:04.119Z

i think we can make datomic's DB object compatible with our indices so it can join with our query engine.

whilo 2019-11-05T20:11:53.119400Z

datomic's integration with AWS is amazing, i unfortunately never had the reason to buy into it. i really like having control over my infrastructure though. AWS is a giant black box that i cannot tweak or migrate.

alidlorenzo 2019-11-05T20:20:05.119600Z

yeah, i dislike having control over infrastructure 😅 my hope is if the abstraction is good enough I won't have to, so I have high hopes for datomic !

whilo 2019-11-08T09:53:50.124700Z

oh, having control in the sense of being able to opt-out. we also have a dynamo-db backend in the pipeline, although datomic is much more mature of course

whilo 2019-11-08T09:56:00.124900Z

it is not just about each individual user having freedom to opt out, it is about adapting the stack to your needs for any user and you profit from that. normal database stacks (even if open source) do not provide this freedom because they have many assumptions hardwired in and very complex. datomic is decomplected, yet proprietary, which is an odd choice in my opinion. i understand that they want to make money though