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
470
Datomic for the 96% - Redux
rkneufeld
5
710
So, you want to write a book?
rkneufeld
1
100
Web Apps on a Pedestal
rkneufeld
3
1.9k
Clojure Cookbook - Jam Session
rkneufeld
1
190
Other Decks in Programming
See All in Programming
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.3k
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
360
Arm移行タイムアタック
qnighy
0
340
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
150
Remix on Hono on Cloudflare Workers
yusukebe
1
300
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
270
イベント駆動で成長して委員会
happymana
1
340
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
350
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
170
みんなでプロポーザルを書いてみた
yuriko1211
0
280
Featured
See All Featured
The Cult of Friendly URLs
andyhume
78
6k
Speed Design
sergeychernyshev
25
620
Documentation Writing (for coders)
carmenintech
65
4.4k
Why Our Code Smells
bkeepers
PRO
334
57k
Unsuck your backbone
ammeep
668
57k
A Philosophy of Restraint
colly
203
16k
Typedesign – Prime Four
hannesfritz
40
2.4k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
A designer walks into a library…
pauljervisheath
204
24k
4 Signs Your Business is Dying
shpigford
180
21k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
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