This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-19
Channels
- # aws-lambda (1)
- # bangalore-clj (4)
- # beginners (66)
- # boot (13)
- # cider (9)
- # cljs-dev (44)
- # cljsjs (3)
- # clojure (181)
- # clojure-austin (2)
- # clojure-greece (6)
- # clojure-italy (2)
- # clojure-russia (64)
- # clojure-sg (1)
- # clojure-spec (68)
- # clojure-uk (60)
- # clojurescript (66)
- # conf-proposals (12)
- # cryogen (1)
- # cursive (3)
- # datomic (44)
- # graphql (1)
- # hoplon (2)
- # jobs (2)
- # jobs-discuss (3)
- # keechma (2)
- # liberator (6)
- # luminus (2)
- # nyc (1)
- # off-topic (92)
- # om (10)
- # onyx (17)
- # parinfer (39)
- # pedestal (8)
- # proton (11)
- # re-frame (110)
- # reagent (2)
- # remote-jobs (11)
- # ring-swagger (9)
- # rum (2)
- # sql (2)
- # test-check (6)
- # untangled (138)
I'm trying to setup Datomic to use DynamoDB, per the instructions in http://docs.datomic.com/storage.html. Running ensure-transactor
, I get an error ... is not authorized to perform: iam:GetUser on resource ...
. What permission do I need to set?
@baptiste-from-paris Chose promise chose dûe: the blog post for selling Datomic to business stakeholders https://medium.com/@val.vvalval/what-datomic-brings-to-businesses-e2238a568e1c
Hey, how do people generally handle automated backups for datomic? I was running cron scripts on the transactor but they've been failing from OOM errors
So I'm considering firing up lambda or something to do them, or just having a periodic instance that spins up, does the backup (to S3) and then shuts down
Do you know production systems based on free version of datomic? I want to do some small things when price of datomic is totally too high, but still i want to be familiar with datomic and use it, because it is the closest to Clojure. But maybe it doesn’t make sense, maybe i just should use postgresql.
@kwladyka Datomic Starter is licensed for production usage. The only ‘limit’ with Starter compared to a full paid license is that Starter only comes with 1 year of updates/maintenance
@timgilbert that’s roughly how we’re doing it. lambda running an ECS task though, as we’re all docker
@timgilbert i can share our dockerfile and shell script we use for it if you’re interested
That would be great @spieden, would like to see them. I had some trouble dockerizing the datomic transactor in the past, but maybe if I just need the CLI stuff it will be easier
we have the transactor dockerized and running stably on a t2.medium too if you want to see our stuff for that
FROM java:8
ARG VERSION=0.9.5344
RUN wget --http-user=xxxxx --http-password=xxxxx -O datomic-pro.zip
RUN unzip /datomic-pro.zip
RUN apt-get update && apt-get install -y awscli jq && apt-get clean
COPY entrypoint.sh /
RUN chmod 755 /entrypoint.sh
CMD /entrypoint.sh
#!/bin/bash -ex
DDB_TABLE=$(aws cloudformation --region ${REGION} describe-stack-resource --stack-name ${STACK_NAME} --logical-resource-id ${LOGICAL_RESOURCE_ID} | jq -r .StackResourceDetail.PhysicalResourceId)
/datomic-pro-*/bin/datomic backup-db datomic:ddb://${REGION}/${DDB_TABLE}/${DATOMIC_DB_NAME} s3://${BUCKET}/${STACK_NAME}/$(date +%s)
Awesome, thanks
Don't you lose the incremental backup stuff if you're using a timestamp-based S3 URL though?
Ok, well thanks, I owe you a beer
@kwladyka Yes, Datomic Free only supports ‘mem’ and ‘free’ storages; Datomic Starter supports all storages as well as memcached, HA, PeerServer & Clients
@val_waeselynck Thanks for sharing the blog post - fantastic!
http://docs.datomic.com/storage.html#sec-4 << Similar to “dev” use in the Starter license
Yes, I believe we do have customers running in production with Free. Definitely with Starter
marshall: yup. FYI, we run free datomic in production at http://topologyeyewear.com. This is mostly for operational simplicity at the moment, rather than b/c of economics. Our needs are light at the moment.
Not sure if this is a good place to ask, but I'm wondering if there's any prior art - papers, etc, on pull expressions. Or if there's a correspondence with some kind of CS or mathematical object.
@eraserhd probably not very academic, but you should definitely look into GraphQL
@kwladyka happily running with Pro Starter, though I'm a bit embarassed to admit it 🙂
(for reference, I found this, with references http://www3.cs.stonybrook.edu/~liu/papers/GraphQL-PADL06.pdf )