Datomic

Database as a value

Developed by Rich Hickey (of Clojure fame)

a schema-full no sql database

Entities - like tables

Attributes - like columns

Create with a schema

named with entity_name/attribute_name

scalar types - integer, boolean, float, symbol

enums

reference

cardinality of 1 or n

Distributed Querying

peers maintain own indexes

Serialized Transactions

using a transactor

Yoko Harada

Long time maintainer of Diametric (Datomic gem)

NuBank

Use Clojure / Datomic for bank

Exploring Datomic's four superpowers

Diametric Sample code

Diametric Library (forked)

branch: mymaster

forked from:

Fork adds

  • Allows multiple databases per query
  • Adds functions basis_t and history
  • Adds logging
  • Adds mixins
  • Adds ability to group saves via transactions
  • Adds ability to set attributes to nil (i.e. retract)

Steve Tuckner

Short term maintainer of Diametric fork

@boberetezeke

Made with Slides.com