Unofficial guide to Datomic internals @ tonsky.me