This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
It's cool. I have a working solution. Was just wondering if there was a neat way to do it in a datalog query.
i’m sure that Rich or Stu or one of the other cognitects would have an answer for you pretty quickly. the trick is to put it in front of them
@martintrojer: about your do’s and don’ts article: use dynamo. which other backends have you tried that failed?
Yeah, we wanted to limit our infrastructure so introducing cassandra / riak would blow our devops budget
the big string thing, ran into that too. indexing would take forever after storing enough raw xml in datomic
yeah, I have a feeling people are putting json blobs into datomic without knowing the limitations.
still kind of off-putting if you ask me. It’s very nice to dump big documents into PSQL JSON columns (and to be able to query into them)
If I read this example properly (don't have a few minutes to test) Datomic supports unbounded recursion: https://gist.github.com/stuarthalloway/2002582
Though I hear datalog always terminates on finite data... If it supports sufficiently powerful recursion and always terminates... then I'd think something's gotta give.
@martintrojer: I've thought about writing a query planner for datomic a few times. A trivial one ain't even that hard (but obviously you can ramp up how good it is a whole bunch)
some orders will always be the same - e.g. when working from :in values to :find values
but sometimes changing the order of clauses in the middle makes a huge difference