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
150
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
440
Datomic for the 96% - Redux
rkneufeld
5
640
So, you want to write a book?
rkneufeld
1
100
Web Apps on a Pedestal
rkneufeld
3
1.8k
Clojure Cookbook - Jam Session
rkneufeld
1
190
Other Decks in Programming
See All in Programming
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
500
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
39
18k
코틀린으로 멀티플랫폼 만들기
pangmoo
0
120
"config" ってなんだ? / What is "config"?
okashoi
0
220
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
180
Javaエンジニアのための Nodejs/Nuxt3入門
hidekatsu_izuno
0
280
Ruby Pattern Matching
bkuhlmann
0
920
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
100
Folding Cheat Sheet #2
philipschwarz
PRO
0
110
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
3.7k
Ruby Function Composition
bkuhlmann
1
330
Git Lint
bkuhlmann
4
740
Featured
See All Featured
Bash Introduction
62gerente
604
210k
How GitHub (no longer) Works
holman
304
140k
Building a Scalable Design System with Sketch
lauravandoore
455
32k
Being A Developer After 40
akosma
56
580k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Code Reviewing Like a Champion
maltzj
513
39k
Gamification - CAS2011
davidbonilla
76
4.6k
Designing with Data
zakiwarfel
95
4.8k
A Philosophy of Restraint
colly
196
16k
Designing for humans not robots
tammielis
247
25k
Documentation Writing (for coders)
carmenintech
59
3.9k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
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