Using Riak as a Storage Service for Datomic

Using Riak as a Storage Service for Datomic

This deck explores the architecture of Datomic and discusses why Riak is an attractive storage service for it. It also focuses on specifics around enabling Riak as a storage service for Datomic.

A Vagrant project to spin up an instance of Datomic backed by Riak can be found here: https://github.com/hectcastro/vagrant-datomic-riak

Hector Castro

April 15, 2014

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

54 slides
  1. $  riak-­‐admin  cluster  join  [email protected]   $  riak-­‐admin  cluster  join

     [email protected]   $  riak-­‐admin  cluster  join  [email protected]   $  riak-­‐admin  cluster  join  [email protected]   $  riak-­‐admin  cluster  plan   $  riak-­‐admin  cluster  commit
  2. $  curl  "http://127.0.0.1:8098/buckets/datomic/keys/config\\zookeeper"  /     -­‐X  PUT    

    -­‐d  "127.0.0.1:2181,127.0.0.1:2182,127.0.0.1:2183"  /     -­‐H  "Content-­‐Type:  text/plain;  charset=utf-­‐8"
  3. $  curl  "http://127.0.0.1:8098/buckets/datomic/keys/config\\zookeeper"  /     -­‐X  PUT    

    -­‐d  "127.0.0.1:2181,127.0.0.1:2182,127.0.0.1:2183"  /     -­‐H  "Content-­‐Type:  text/plain;  charset=utf-­‐8"
  4. $  curl  "http://127.0.0.1:8098/buckets/datomic/keys/config\\zookeeper"  /     -­‐X  PUT    

    -­‐d  "127.0.0.1:2181,127.0.0.1:2182,127.0.0.1:2183"  /     -­‐H  "Content-­‐Type:  text/plain;  charset=utf-­‐8"
  5. $  curl  "http://127.0.0.1:8098/buckets/datomic/keys/config\\zookeeper"  /     -­‐X  PUT    

    -­‐d  "127.0.0.1:2181,127.0.0.1:2182,127.0.0.1:2183"  /     -­‐H  "Content-­‐Type:  text/plain;  charset=utf-­‐8"

More Decks by Hector Castro

Other Decks in Technology