Fork me on GitHub
#datomic
<
2017-09-18
>
Ertugrul Cetin07:09:27

Does anyone know what might cause Datomic to delete databases?: https://stackoverflow.com/questions/46269961/datomic-deletes-databases

uwo13:09:15

@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)))

itaied19:09:25

in order to use the peer-api I need to use the gpg tutorial to install the library?

marshall19:09:52

@itaied You can download the distribution and install it locally using the bin/maven-install script

marshall19:09:04

you can download it as a zip from the http://my.datomic.com dashboard

marshall19:09:28

the gpg method is intended for use by automated systems (i.e. CI or build systems) that need to get the peer library

itaied19:09:47

how can I use it in a lein project?

marshall19:09:49

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

marshall19:09:20

so something like [com.datomic/datomic-pro "0.9.5561.56"]

itaied19:09:47

ok thanks ill try it

apsey20:09:21

When is Datomic going to support multiple Cache clusters for Datomic peers?

apsey20:09:32

Do you guys have plans to support DAX for DynamoDB?

marshall20:09:42

@apsey Datomic supports using multiple memcached instances, if that’s what you mean

marshall20:09:36

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.

apsey20:09:59

Not that. We have a use case that a peer needs to access different databases. Because of that, we use the same memcached config for every transactor and peer:

-Ddatomic.memcachedServers=

apsey20:09:59

Oh, I just saw that I could have:

-Ddatomic.memcachedServers=