Upgrade to Pro — share decks privately, control downloads, hide ads and more …

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
Tweet

More Decks by Hector Castro

Other Decks in Technology

Transcript

  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"