This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-14
Channels
- # aleph (2)
- # atlanta-clojurians (5)
- # beginners (38)
- # boot (2)
- # bristol-clojurians (1)
- # cider (31)
- # clara (8)
- # cljs-dev (136)
- # cljsrn (4)
- # clojure (86)
- # clojure-china (1)
- # clojure-greece (1)
- # clojure-italy (24)
- # clojure-nl (1)
- # clojure-spec (21)
- # clojure-uk (19)
- # clojurescript (68)
- # community-development (28)
- # core-async (35)
- # core-logic (4)
- # cursive (1)
- # data-science (1)
- # datascript (1)
- # datomic (46)
- # events (1)
- # figwheel (6)
- # fulcro (11)
- # graphql (3)
- # hoplon (1)
- # jobs (6)
- # jobs-discuss (94)
- # keechma (3)
- # luminus (4)
- # lumo (7)
- # mount (6)
- # off-topic (24)
- # onyx (6)
- # parinfer (31)
- # portkey (3)
- # programming-beginners (16)
- # re-frame (20)
- # reagent (69)
- # remote-jobs (4)
- # ring-swagger (25)
- # schema (1)
- # shadow-cljs (151)
- # spacemacs (2)
- # sql (14)
- # tools-deps (16)
- # uncomplicate (5)
- # unrepl (35)
- # vim (1)
- # yada (72)
is there a documentation on datomic reader macros? #db/fn
, #datom
, etc
thanks!
i'm thinking about migrating datastores used to power a datomic install. has anyone else done something like this or is there documentation on how to do it with zero downtime?
i see there is a way to backup and restore, which gets most of the way there, but that would require taking the system down during the process since otherwise i'm not sure how i'd get the latest changes that happen between when the backup starts and the restore completes
and ideally i'd like to be able to run both backends side-by-side for a while so i could very performance of the new datastore in production without being fully committed to it
@amarjeet is your system running with the correct AWS credentials (i.e. in a role or with ambient creds)? Is it running on an EC2 instance? If so, is it in the Datomic VPC? What security group?
yes, those things seem fine. My datomic-socks-proxy consol prints this debug1: channel 2: free: direct-tcpip: listening port 8182 for entry.<system-name>.<region>.
and this command curl -x
also prints {:s3-auth-path <bucket-name>}
when you’re running locally through the socks proxy you need to include the :proxy-port
in your cfg map
your pedestal app (however you’re launching it) will also need to be running with ambient AWS credentials
Unable to connect to system: #:cognitect.anomalies{:category :cognitect.anomalies/unavailable, :message "Total timeout 60000 ms elapsed"}
thsi is the erro I am getting with proxy-port
much better to put them in the ambient environment via standard AWS env vars
yeah, what @alexmiller said
don’t check your aws creds into your git :)
does the datomic-pro peer server allows backups? we run datomic.peer-server on localhost: Serving datomic:<mem://hello> and then try a backup but keep getting Invalid database URI errors
got it -- thanks... we ultimately plan to run on AWS but want to understand backup/restore before we push there
you can run a local transactor with a dev database and use both peer-server against it as well as backup and restore
thanks @marshall, we'll keep reading...