This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-20
Channels
- # bangalore-clj (1)
- # beginners (145)
- # boot (8)
- # braid-chat (2)
- # capetown (2)
- # cider (27)
- # cljs-dev (232)
- # cljsrn (30)
- # clojure (223)
- # clojure-boston (1)
- # clojure-dusseldorf (2)
- # clojure-greece (1)
- # clojure-italy (21)
- # clojure-russia (16)
- # clojure-sanfrancisco (13)
- # clojure-spec (33)
- # clojure-uk (56)
- # clojurescript (165)
- # core-async (16)
- # core-logic (5)
- # cursive (14)
- # data-science (2)
- # datavis (2)
- # datomic (49)
- # duct (15)
- # editors (5)
- # emacs (6)
- # fulcro (11)
- # graphql (11)
- # hoplon (8)
- # jobs (4)
- # jobs-discuss (82)
- # jobs-rus (7)
- # leiningen (4)
- # luminus (5)
- # off-topic (90)
- # om (7)
- # om-next (1)
- # parinfer (67)
- # pedestal (34)
- # portkey (46)
- # re-frame (12)
- # reagent (4)
- # reitit (3)
- # remote-jobs (1)
- # ring-swagger (8)
- # shadow-cljs (13)
- # spacemacs (18)
- # specter (6)
- # sql (5)
- # tools-deps (4)
- # unrepl (40)
- # yada (26)
> Specify a unique name for aws-cloudwatch-dimension-value > https://docs.datomic.com/on-prem/aws.html Should this be unique across re-deploys? Or just globally across deploys in the environment?
> The ensure-transactor command will create the necessary AWS constructs,
There is limited permission for creating things on AWS. What permissions are needed for ensure-transactor? What constructs will it create, can I create them myself? I'm not using the cloudformation template.
I tried running it, but I got java.lang.IllegalArgumentException: No method in multimethod 'ensure-transactor*' for dispatch value: :sql
which may be a bug, or may mean I don't need to run it.
I only have 13 metrics, not the full list provided at https://docs.datomic.com/on-prem/monitoring.html#sec-5 this might just be because this is only staging, and there isn't much activity. I wanted to check though. This is now up to 20, but not quite as high as the list, but I assume it will go up over time.
How are keywords stored in Datomic? I assume as strings, but cast to keyword in any language that supports it based on the schema. Are there are length limits or performance implications of using keywords vs strings?
I guess that's an implementation detail, but you can have a look at Fressian. Note that in-memory representation may differ from storage representation (and be more relevant to you!)
If there are performance implications, then it's no longer a detail. My understanding is that it's like a string that gets cast to the caller's native keyword type, if one exists? I use EDN wherever possible.
Yes, CloudWatch custom metrics only show up once they’re “used”. If, for example, you haven’t ever had an indexing job you won’t see the CreateEntireIndexMsec metric.
@U05120CBV how long until I get a datoms count metric?
I see. This is staging, so it's probably not hit that threshold all day 🙂. I'll watch for it in prod.
Yes, you can create them manually. See: https://docs.datomic.com/on-prem/storage.html#manual-setup
Regarding the unique name of the CW dimension, that’s entirely up to you. CW metrics are aggregated by dimension name
so if you want the metrics to be continuous across re-deploys, then use the same name
ah, that wasn't clear to me the relationship between these things. I've already done the permissions I want, so I'm golden. I don't want S3 log rotation, as I've updated the logback to point at journald, which then also goes into Cloudwatch 😛
@petrus What language are you working with? Datomic on-prem only supports clojure and java.
Clojure
keywords are made of strings. the keywords are interned (so any particular keyword only exists once in a Clojure runtime)
I am creating Uberjar at my local machine so that I can use the uberjar for Docker container in aws beanstalk
http://entry.<system-name>.<region>.http://datomic.net:8182/ only works inside the VPC
So, should I create Uberjar without the :endpoint
? Will beanstalk work? My beanstalk environment is in the same vpc as datomic cloud
@devicesfor yes, now Uberjar created. Thanks for this 🙂
the standalone jar is not getting recognized (its not recognizing any docker file) in beanstalk
If there are performance implications, then it's no longer a detail. My understanding is that it's like a string that gets cast to the caller's native keyword type, if one exists? I use EDN wherever possible.