
Overview

Syllabus
Intro
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
Datomic's Architecture
Datomic's Data Model
Capturing Events - Schema Type Qualifiers
Capturing Events - Example
Capturing Events - Refs
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 redundantly in the indexes
EAVT and AEVT
Capturing Events - EAVT
AVET and VAET
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 new root
Indexing - Append
Anatomy of an Entity ID
A Change In Approach
The Code
Taught by
Strange Loop Conference