Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Effective Datomic Imports
Search
Ryan Neufeld
March 24, 2014
Programming
180
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Effective Datomic Imports
Ryan Neufeld
March 24, 2014
More Decks by Ryan Neufeld
See All by Ryan Neufeld
Simulant in Anger; An Experience Report
rkneufeld
0
480
Datomic for the 96% - Redux
rkneufeld
5
830
So, you want to write a book?
rkneufeld
1
120
Web Apps on a Pedestal
rkneufeld
3
2k
Clojure Cookbook - Jam Session
rkneufeld
1
220
Other Decks in Programming
See All in Programming
AI時代のUIはどこへ行く?その2!
yusukebe
22
7.6k
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
130
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
220
スマートグラスで並列バイブコーディング
hyshu
0
260
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
760
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
980
はてなアカウント基盤 State of the Union
cockscomb
1
960
Inside Stream API
skrb
1
800
TAKTでAI駆動開発の品質を設計する
j5ik2o
7
1.5k
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
350k
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
140
dRuby over BLE
makicamel
2
390
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
660
GitHub's CSS Performance
jonrohan
1033
470k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
300
Done Done
chrislema
186
16k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
870
Evolving SEO for Evolving Search Engines
ryanjones
0
230
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
490
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
340
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Thoughts on Productivity
jonyablonski
76
5.2k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.6k
Why Our Code Smells
bkeepers
PRO
340
58k
Transcript
Effective Datomic Imports
Ryan Neufeld @rkneufeld
Ryan Neufeld @rkneufeld
Effective Datomic Imports
Staples Innovation Labs
Big Reporting
Trouble Out
Trouble Out Trouble In
Stop.
Craig Time.
100
(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
Tip: Separate Tx Data from Txing
Pipeline
Pipeline Shape
Real-life Transactor
DynamoDB
Did I use 500 write units… or six?
Throttled
Free & Clear
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
Staples is hiring! http:/ /careers.staples.com/sanmateo/ • Clojure Engineers • Data
Scientists • Product Managers • Quality Assurance • DevOps Engineers • UI/UX Designer
So is Cognitect! http:/ /cognitect.com/jobs • Datomic Support Engineer •
Clojure Developers (Contract)
Questions? Ryan Neufeld @rkneufeld rkn.io