This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-10
Channels
- # announcements (4)
- # beginners (116)
- # boot (4)
- # calva (63)
- # cider (8)
- # clara (20)
- # cljdoc (10)
- # cljsrn (69)
- # clojure (115)
- # clojure-austin (1)
- # clojure-dev (4)
- # clojure-finland (1)
- # clojure-italy (3)
- # clojure-nl (6)
- # clojure-russia (10)
- # clojure-uk (84)
- # clojurescript (28)
- # cursive (14)
- # data-science (1)
- # datascript (1)
- # datomic (11)
- # duct (3)
- # emacs (13)
- # figwheel-main (11)
- # fulcro (4)
- # graphql (6)
- # jackdaw (2)
- # jobs (23)
- # jobs-rus (1)
- # kaocha (11)
- # lein-figwheel (13)
- # leiningen (55)
- # luminus (14)
- # lumo (22)
- # off-topic (121)
- # pathom (19)
- # re-frame (6)
- # reagent (3)
- # reitit (22)
- # remote-jobs (10)
- # ring-swagger (1)
- # shadow-cljs (67)
- # slack-help (5)
- # spacemacs (1)
- # sql (18)
- # vim (28)
- # yada (2)
Like benoit said, store it in somewhere like S3, DynamoDB or another KV-store. You can serialize the EDN with Transit (you can use the msgpack version of Transit for this). If you generate a unique key (UUIDs are fine for this) every time you update the content, you effectively can preserve the immutability of Datomic, as earlier versions of the same entity will have UUID keys pointing to a different value in the KV store.
I'm trying to figure out what I'm doing wrong setting up datomic free locally.
I've installed and started H2, I'm running a transactor and a console, I've uncommented h2-port=4335
in transactor.properties
, but yet:
user=> (d/create-database "datomic:)
...
ActiveMQNotConnectedException AMQ119007: Cannot connect to server(s). Tried with all available servers. org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory (ServerLocatorImpl.java:799)
Well I'm trying to do a fairly straightforward setup and just running it at all, and that's what I get
I thought maybe I had to set up H2 for it to work but I get the same result either way
I had issues recently with Datomic Free and recent Java versions. Maybe you will have more luck with Java 1.8 or Java 1.9.