This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-09
Channels
- # aleph (4)
- # beginners (31)
- # boot (33)
- # cider (7)
- # cljs-dev (263)
- # cljsrn (1)
- # clojure (33)
- # clojure-austin (2)
- # clojure-dev (1)
- # clojure-russia (6)
- # clojure-spec (19)
- # clojure-uk (7)
- # clojurescript (79)
- # cursive (21)
- # datascript (1)
- # datomic (13)
- # dirac (12)
- # emacs (15)
- # hoplon (26)
- # lein-figwheel (3)
- # leiningen (1)
- # luminus (5)
- # lumo (20)
- # mount (1)
- # off-topic (17)
- # om (13)
- # onyx (24)
- # parinfer (70)
- # pedestal (2)
- # re-frame (19)
- # reagent (1)
- # ring-swagger (3)
- # unrepl (8)
- # untangled (58)
- # yada (2)
What would be the “cheapest” infrastructure to run Datomic on? e.g. on a very low load system, what is the minimum amount of RAM required for the transactor and the peers to operate?
(I have read the recommendations on the doc, but I am interested in the bare minimum to operate, not the optimal setup)
I am considering using Datomic for a non-profit application which should initially have low traffic, but will also generate no revenue so we cannot afford the luxury of running the transactor on a 2GB ram EC2 instance and each peer on their own 2GB instance.
I can run a transactor in dev for a project with a small amount of data in a container with a memory limit of 384MB, and a peer in a similarly sized container. I'm sure it's possible to go even smaller.
Some caveats about Datomic's time-travel features: http://vvvvalvalval.github.io/posts/2017-07-08-Datomic-this-is-not-the-history-youre-looking-for.html
@val_waeselynck great, thanks!
@val_waeselynck when you say "The problem is, ... this won't work!" do you mean that it will return an error, return nil, or return a partial result with missing tags?
@val_waeselynck I ended up just doing post-processing, as you suggested. it was just hard to forego the convenience of being able to do it in a query. it seems as though it is almost possible in those predicate and transform functions -- the problem being that for an attribute the value type of which is a reference, all that's available to those functions is the eid. at least that is I think what was going on, and it appeared not possible and a bit awkward to try to pull the values assocaited with that eid in the middle of the query process.