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
1
160
Effective Datomic Imports
Ryan Neufeld
March 24, 2014
Tweet
Share
More Decks by Ryan Neufeld
See All by Ryan Neufeld
Simulant in Anger; An Experience Report
rkneufeld
0
470
Datomic for the 96% - Redux
rkneufeld
5
770
So, you want to write a book?
rkneufeld
1
100
Web Apps on a Pedestal
rkneufeld
3
2k
Clojure Cookbook - Jam Session
rkneufeld
1
200
Other Decks in Programming
See All in Programming
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
250
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
270
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
230
GoのGenericsによるslice操作との付き合い方
syumai
3
680
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
1
200
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
840
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
110
エラーって何種類あるの?
kajitack
5
280
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
120
統一感のある Go コードを生成 AI の力で手にいれる
otakakot
1
3k
XP, Testing and ninja testing
m_seki
3
150
Benchmark
sysong
0
240
Featured
See All Featured
It's Worth the Effort
3n
184
28k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Statistics for Hackers
jakevdp
799
220k
How GitHub (no longer) Works
holman
314
140k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
670
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
940
Building Applications with DynamoDB
mza
95
6.5k
The Cult of Friendly URLs
andyhume
79
6.4k
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