This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-05
Channels
- # all-the-channels (1)
- # announcements (3)
- # asami (13)
- # beginners (227)
- # calva (2)
- # chlorine-clover (8)
- # cider (7)
- # clj-kondo (4)
- # cljs-dev (21)
- # cljsrn (8)
- # clojure (64)
- # clojure-europe (39)
- # clojure-france (2)
- # clojure-italy (3)
- # clojure-losangeles (1)
- # clojure-nl (20)
- # clojure-uk (8)
- # clojurescript (24)
- # conjure (12)
- # datalog (9)
- # datomic (24)
- # emacs (8)
- # figwheel-main (1)
- # fulcro (15)
- # jobs-discuss (1)
- # malli (5)
- # meander (3)
- # off-topic (26)
- # re-frame (15)
- # reagent (10)
- # reitit (1)
- # reveal (1)
- # sci (15)
- # shadow-cljs (25)
- # spacemacs (7)
- # sql (3)
- # xtdb (1)
Hi, I'm trying to pull an entity and pull 1 attribute of it's recursive parents.
'[:node/name, :node/bunch-of-attrs, :node/other-attr, {:node/parent ...}]
works, but pulls all attrs every parent. i want to limit that to just name
. Any way to achieve that?
Don’t know for sure but try this [,,, {:node/parent [:node/name {:node/parent ...}]}]
Does anyone know of a good comparison between the various on-prem datomic stores? We're thinking about a new project based on datomic and I was wondering if there exists a discussion of the pros and cons? I think our options would be (1) Postgres (2) Cassandra (3) Some other SQL (4) datomic cloud with the caveat that we're running in google cloud so would require data to cross clouds which may be an issue for dataomic (I can't find an opinion on this either).
on-prem vs cloud is the big difference. Within on-prem, I think you should just use whatever storage you are most familiar with
datomic on-prem uses storage as a key-value store for smallish (<60kb) binary blobs. I doubt any of the options have a clear advantage
If you are on Google Cloud you can use their managed PostgreSQL as a backend for Datomic
I can confirm the managed mysql also works fine (with some schema tweaks: https://gist.github.com/favila/ecdcd6c4269ff2bd1bb3)
Thanks all - we do make use of managed postgres at the moment which would make it an obvious choice. Although google does require occasional downtime for updates which is a shame. Sounds like the choice of data store isn't critical then. That's good to know.
I wouldn't do cross cloud AWS <> GCP without evaluating ingress/egress costs, or latency
Yeah that's the big question with that approach. Although we could potentially host our read clients inside AWS meaning that only the writes would originate in GCP which seems likely to work for our usecase. Not ideal to have to run a service away from our others but we need to weigh that up against running a database. Usually running services is easier than databases!
just to forewarn that datomic cloud is a totally different system to on-prem, you'll architect differently and use completely different libraries
That's interesting - I'd not really appreciated that. I've found a good link on on-prem vs cloud. Thanks!
the hong kong region would be a welcome addition to that list. i have the gut feeling that it supports all the required aws features already.
Anyone here is doing serious business with Datomic Cloud without the 24x7 support? The contracted support can be pretty expensive and I notice this is a matter of risk management. We run an application from 9 months and we had problems only when we needed a hands-on help to carry a major migration. It’d be nice to heard about other experiences.
Hi folks — Any tips on how to best approach writing tests for Datomic rules? My app makes extensive use of rules and I would like to button up the testing. Much obliged.
im also just about to explore this topic in our current project. what's your current approach?