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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
490
Datomic for the 96% - Redux
rkneufeld
5
840
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
源内ハンズオン概要編
hideg
0
190
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
470
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
190
VibeCodingからAgenticWorkflowへ
starfish719
0
560
数百円から始めるRuby電子工作
tarosay
0
160
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
5
1.5k
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
340
「人を評価する AI」の設計と実装
ryoyanara
0
210
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
560
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
700
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
590
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
510
Featured
See All Featured
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Code Reviewing Like a Champion
maltzj
528
40k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
470
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
How to train your dragon (web standard)
notwaldorf
97
6.8k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Utilizing Notion as your number one productivity tool
mfonobong
4
550
A Tale of Four Properties
chriscoyier
163
24k
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