This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-07-08
Channels
- # beginners (52)
- # boot (230)
- # cider (67)
- # clojure (166)
- # clojure-canada (1)
- # clojure-dev (91)
- # clojure-japan (6)
- # clojure-korea (1)
- # clojure-russia (2)
- # clojure-uk (10)
- # clojurescript (222)
- # core-async (27)
- # datomic (5)
- # editors (13)
- # euroclojure (12)
- # ldnclj (10)
- # off-topic (12)
- # om (16)
- # onyx (4)
- # other-lisps (2)
- # overtone (1)
- # re-frame (4)
- # sim-testing (1)
I have a data modelling/querying question. I want to store a heartbeat that a client sends every hour. Datomic recommends using noHistory
for things like counters, which makes sense, but I also want to use the heartbeat for billing, i.e. I bill you based on number of heartbeats per month as a proxy of usage. Is it possible to build that query with the tx log even if I have history turned off for an attribute?
if I filter a db to contain only datoms of a certain partition is that a performance win or not?
stijn, the filter would still have to consider all datoms that your datalog looks at, so i’m thinking no
@robert-stuttaford: that’s what I thought as well
@max: the tx log will contain everything that happened, so you could use it for no-history changes. just be aware that reading from the log doesn’t take advantage of any peer caching