This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-24
Channels
- # announcements (8)
- # aws (12)
- # babashka (84)
- # beginners (380)
- # calva (56)
- # clj-kondo (52)
- # cljdoc (4)
- # cljs-dev (327)
- # cljsrn (4)
- # clojure (154)
- # clojure-italy (5)
- # clojure-nl (3)
- # clojure-uk (21)
- # clojurescript (52)
- # conjure (133)
- # cursive (64)
- # datomic (33)
- # emacs (22)
- # fulcro (35)
- # graalvm (24)
- # graphql (1)
- # kaocha (1)
- # leiningen (1)
- # off-topic (24)
- # onyx (2)
- # pathom (10)
- # re-frame (3)
- # reagent (3)
- # reitit (3)
- # shadow-cljs (48)
- # spacemacs (12)
- # tools-deps (98)
- # xtdb (7)
I'm trying to access datomic via codebuild for db tests, but I can't create endpoint for vpc https://docs.datomic.com/cloud/operation/client-applications.html#create-endpoint (is LoadBalancerName not available in solo topology?)
Lets suppose i have an entity and a bunch of txs that touch that entity. What would be an efficient query to pull a bunch of data from this entity at these timepoints too see how it looked throughout its life? Or is (map #(d/pull (d/as-of db %) '[*] e) txs)
the only way?
but that’s another thing, I’m not interested in changes, I want full state at point in time
Yeah, and I wonder if there is a way to query for state of an entity at different time-points
I tried with more entites, and using multiple d/pull
+ d/as-of
IS a N+1 problem: it gets more and more slow, so I guess it performs multiple requests
depending on what you’re looking for, you can also use tx-range
: https://github.com/cognitect-labs/day-of-datomic-cloud/blob/751618ff7526c956bd7d5558a2698eda369cee4f/tutorial/log.clj#L50
Is there a reference anywhere to what permissions a user/role needs in order to push and deploy for ions?
That seems to be more related to accessing the database itself, rather than just pushing ions. I don't need to give this role access to the database, it just needs to deploy ions. Does that still require being a datomic administrator?
Cloud question: when a new EC2 instance is started, is a new transactor created? Or is there one transactor for the whole system, regardless of the number of EC2 instances? I am curious if I need to track machine ids and so forth to figure out who is writing to parts of the database. I am probably overthinking this.
@hadilsabbagh18 you’re definitely overthinking it 🙂 there is no single transactor in Cloud All nodes of the primary compute group can perform writes
to route requests from the same client and/or about specific DBs to particular nodes
Thanks @marshall. When a new EC2 instance is started, doesn't my code start on it as well? Isn't there a potential for two servers to work on the same datoms in the database? My code is multi-threaded so there are processes that may replicate work on different EC2 isntances if they are running. If that is the case, then I need to track who is doing what, right?