can datahike sync with datomic or is it meant to be used as a replacement for it?
Not yet but I'm working on a tool that migrates data from datomic to datahike.
Since datahike does not support all features it is not a complete replacement. But it depends on the requirements you have.
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
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
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?
the latter is fairly hard to do in general, but we will provide CRDT support in datahike
@alidcastano what do you need from datahike in your backend?
@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.
perhaps a better question is what use-cases do you have in mind for datahike?
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.
our high level goal is https://www.youtube.com/watch?v=A2CZwOHOb6U
i think we can make datomic's DB object compatible with our indices so it can join with our query engine.
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.
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 !
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
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