This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-18
Channels
- # aleph (45)
- # aws (4)
- # beginners (56)
- # boot (2)
- # cider (45)
- # clara (2)
- # cljs-dev (9)
- # cljsrn (31)
- # clojure (71)
- # clojure-dusseldorf (8)
- # clojure-gamedev (1)
- # clojure-italy (22)
- # clojure-nl (1)
- # clojure-russia (46)
- # clojure-sg (1)
- # clojure-spec (5)
- # clojure-uk (40)
- # clojurescript (30)
- # community-development (3)
- # cursive (17)
- # data-science (1)
- # datomic (18)
- # emacs (3)
- # figwheel (1)
- # fulcro (19)
- # hoplon (12)
- # jobs (5)
- # leiningen (42)
- # off-topic (12)
- # om (2)
- # onyx (41)
- # re-frame (19)
- # ring-swagger (1)
- # rum (3)
- # shadow-cljs (4)
- # specter (7)
- # unrepl (2)
- # vim (25)
- # yada (24)
Does anyone know what might cause Datomic to delete databases?: https://stackoverflow.com/questions/46269961/datomic-deletes-databases
@itaied In a lot of cases you can just create a scratch in memory database. The old ones will just be garbage collected:
(defn scratch-conn []
(let [uri (str uri-base (d/squuid))]
(d/create-database uri)
(d/connect uri)))
@itaied my take on this: https://vvvvalvalval.github.io/posts/2016-07-24-datomic-web-app-a-practical-guide.html#testing_and_development_workflow
@itaied You can download the distribution and install it locally using the bin/maven-install script
you can download it as a zip from the http://my.datomic.com dashboard
the gpg method is intended for use by automated systems (i.e. CI or build systems) that need to get the peer library
once you’ve installed it to your local m2 repository you can include it in your lein deps with: http://docs.datomic.com/integrating-peer-lib.html#leiningen
http://docs.datomic.com/caching.html#memcached > You can set up more than one memcached, and each Datomic process can choose via configuration which one(s) it uses. Datomic uses only UUIDs for memcached keys, and so Datomic can coexist with other uses of a memcached installation. Additionally, if you specify more than one memcached server, Datomic will distribute values across all instances, effectively enabling a single cache the size of the sum of all the instances.