Real-World Datomic - An Experience Report

Real-World Datomic - An Experience Report

Strange Loop Conference via YouTube Direct link

Intro

1 of 16

1 of 16

Intro

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Real-World Datomic - An Experience Report

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 The Problem • Provide a summary of sales funnel events for Room Key • Users move through the website impression - hotel details - lead - booking . Want per-day event counts by hotel & event type
  3. 3 Datomic's Architecture
  4. 4 Datomic's Data Model
  5. 5 Capturing Events - Schema Type Qualifiers
  6. 6 Capturing Events - Example
  7. 7 Capturing Events - Refs
  8. 8 Storing and Retrieving Data in Datomic • One or more EAV tuples submitted to the transactor All are given the same value . Datoms written transactionally to the log . All datoms also stored redundant…
  9. 9 EAVT and AEVT
  10. 10 Capturing Events - EAVT
  11. 11 AVET and VAET
  12. 12 Index Storage and Retrieval . Datoms are stored in compressed chunks called segments • Segments are stored as a tree • Segments are immutable once written • Each transaction conceptually creates a ne…
  13. 13 Indexing - Append
  14. 14 Anatomy of an Entity ID
  15. 15 A Change In Approach
  16. 16 The Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.