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

Effective Datomic Imports

Effective Datomic Imports

Avatar for Ryan Neufeld

Ryan Neufeld

March 24, 2014
Tweet

More Decks by Ryan Neufeld

Other Decks in Programming

Transcript

  1. 100

  2. (def real-tx d/transact) ! (with-redefs [d/transact (fn [conn tx-data] (println

    tx-data) @(real-tx conn tx-data))] ;; A bunch of business logic ) Gross Hacks
  3. Take-aways • Separate Tx from Tx’ing • Batch to 100

    datoms/tx • Pipeline txes asynchronously • Use realistic backend/ settings • Use CloudWatch to watch StorageBackoff and AlarmBackPressure (carefully!) • Capacity Planning Docs
  4. Staples is hiring! http:/ /careers.staples.com/sanmateo/ • Clojure Engineers • Data

    Scientists • Product Managers • Quality Assurance • DevOps Engineers • UI/UX Designer