I put 7 years of meal data in Datomic - Here's what I learned - Christian Johansen

  Рет қаралды 5,894

NDC Conferences

NDC Conferences

Күн бұрын

Пікірлер: 3
@mikl2345
@mikl2345 4 жыл бұрын
Great talk, one key point to note though - datomic creators suggest the term accumulate-only, not append-only, to describe datomic. The docs state "Datomic is not an append-only system, and does not have the performance characteristics associated with append-only systems". It does give you a lot more out-of-the-box leverage as a database, though...
@mikl2345
@mikl2345 4 жыл бұрын
I'd be curious to know how Eventum faired regarding what is mentioned around 42:40 in the video. Specifically, the idea that datomic manages the time aspect of a domain for you. That seems to be a potential trap because the time aspect "managed for you" (via transaction time and hence history) cannot be updated later. That is, if domain time means to you time you can update, then the transaction time is not a place to store domain times. I'm not saying eventum got this wrong, they may well have understood it well, from what is on the video, but from reading around it is something that a few people have tripped up on when first encountering datomic so seems worth special care. Long story short, if you need times that you are going to want to change, you shouldn't think datomic's history feature will solve that for you with no effort. The history feature is only for when the database came to know about a fact, and to reflect that semantic, those times *cannot* be updated later (= the transaction log itself cannot be reordered). So it seems perhaps more helpful to think of the history feature as an extra thing that picks up where your modelling left off, rather than "managing (domain) time for you". So, so long this is fully understood, there isn't a problem. But for a casual user who expects the same freedom an update in place database gives (for those "timestamps" - they're not ordinary timestamps), it can come as a shock. A very sharp tool, study well before use! Full disclosure, I'm currently only two months into using & designing with datomic, so should not be considered an authority on this.
@clickrush
@clickrush 4 жыл бұрын
I agree. Datomic is by default unitemporal. To get bitemporality one needs to design their data to accomodate that, typically with a time period accociated with facts.
Intro to Datomic - Stuart Sierra
52:34
Zhang Jian
Рет қаралды 2,7 М.
Datalog all the way down - Christopher Small
42:37
ClojureTV
Рет қаралды 13 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 33 МЛН
路飞做的坏事被拆穿了 #路飞#海贼王
00:41
路飞与唐舞桐
Рет қаралды 26 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 20 МЛН
C# 7 - Jon Skeet
1:04:53
NDC Conferences
Рет қаралды 15 М.
Rich Hickey - The Database as a Value
56:23
jasonofthel33t
Рет қаралды 9 М.
Writing Datomic in Clojure - Rich Hickey
1:01:31
Zhang Jian
Рет қаралды 6 М.
The Value of Values with Rich Hickey
31:44
InfoQ
Рет қаралды 135 М.
Rails Conf 2012 Keynote: Simplicity Matters by Rich Hickey
36:53
How to Build a Database - Liam McLennan - CPH DevFest 2024
52:22
NDC Conferences
Рет қаралды 2,3 М.
Datomic Made Easy Datomic in the Cloud - Stuart Halloway
37:31
Datomic with Rich Hickey
51:22
Java
Рет қаралды 19 М.