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
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
CSC509 Lecture 12
javiergs
PRO
0
160
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
130
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
290
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
flutterkaigi_2024.pdf
kyoheig3
0
130
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
330
CSC509 Lecture 13
javiergs
PRO
0
110
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
How STYLIGHT went responsive
nonsquared
95
5.2k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
The Invisible Side of Design
smashingmag
298
50k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
A better future with KSS
kneath
238
17k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
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