This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-17
Channels
- # adventofcode (2)
- # bangalore-clj (1)
- # beginners (45)
- # boot (26)
- # cljs-dev (8)
- # cljsrn (25)
- # clojure (41)
- # clojure-austin (2)
- # clojure-belgium (6)
- # clojure-mke (3)
- # clojure-russia (37)
- # clojure-sanfrancisco (3)
- # clojure-spec (57)
- # clojure-taiwan (1)
- # clojure-uk (7)
- # clojurescript (27)
- # clr (1)
- # code-reviews (3)
- # core-async (1)
- # datascript (5)
- # datomic (19)
- # emacs (12)
- # hoplon (59)
- # lambdaisland (9)
- # lein-figwheel (3)
- # off-topic (4)
- # om (1)
- # onyx (51)
- # pedestal (1)
- # protorepl (2)
- # re-frame (12)
Okay, so, it seems like datomic a is pretty well suited for replacement for append only relational models. Is there anywhere online that details a) how to build a relational, append-only database model and b) where that strategy falls apart. I need to be able to answer the question "what problem are we trying to solve here?" when I sell this as our database system for our next service
@idiomancy “what problem are we trying to solve” doesn’t seem related to questions a. and b.?
this is an interesting talk on that topic though https://www.infoq.com/presentations/Impedance-Mismatch
In my particular case, its highly related. We'll be doing a change history table in cassandra or sql if I cant make the case for datomic
@idiomancy ok well i’ve worked with revision history tables before in sql
with version ids, etc.
it’s not as powerful or elegant as being able to run queries “as at” a time, or being able to apply “what if” diffs to a db
certainly trying to emulate exactly what datomic does by hand in sql sounds like a bad idea
revision history might not be the right way to put it. we're actually maintaining a record of all the changes that happen to customers. (so when they change their birthday in the system or opt in to other features, or what have you)
Is the Datomic DynamoDB schema public and considered stable API? I’m building a dataset that I think datomic will be useful for at some point — I’d like to make it as easy as possible to sprinkle some sample Datomic on it down the line.
@lvh: Datomic uses all storage backends as simple key-value stores to hold compressed chunks of its indexes. You cannot mix storage-native queries or data with Datomic data.
@idiomancy even if you maintain a record of all the changes for a customer, how do you build functionality on top of that?
how does it tie into an orm?
how does sql help you replay/snapshot history?
if all you want is conceptually just a log, then sql is probably fine
but trying to ask historical questions of a relational db, even if it is append only, sounds like a lot of gnarly code to write