Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Unified Log Architecture
Search
Zach Pendleton
January 25, 2016
Programming
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Unified Log Architecture
An introduction to using unified logs for systems architecture and real-time processing.
Zach Pendleton
January 25, 2016
Other Decks in Programming
See All in Programming
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
310
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
1.3k
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Abbi's Birthday
coloredviolet
4
10k
Accessibility Awareness
sabderemane
1
250
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
sira's awesome portfolio website redesign presentation
elsirapls
0
460
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
RailsConf 2023
tenderlove
30
1.6k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
310
Making Projects Easy
brettharned
120
6.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
530
Transcript
Unified log architecture
None
#chinchillafacts
–Alan Perlis, “Epigrams on Programming” “It is better to have
100 functions operate on one data abstraction than 10 functions on 10 data structures.”
Hello Food Bar Fetch Cap Fool Arch Fooled
Hello Food Bar Fetch Cap Fool Arch Fooled *
Hello Food Bar Fetch Cap Fool Arch Fooled * *
Hello Food Bar Fetch Cap Fool Arch Fooled * *
*
F O E O D L E D T C
H * * * *
“F”: [“Food”, “Fetch”, “Fool”, “Fooled”] “FO”: [“Food”, “Fool”, “Fooled”] “FOO”:
[“Food”, “Fool”, “Fooled”] “FOOD”: [“Food”] “FOOL”: [“Fool”, “Fooled”] “FOOLE”: [“Fooled”] “FOOLED”: [“Fooled”] “FE”: [“Fetch”] “FET”: [“Fetch”] “FETC”: [“Fetch”] “FETCH”: [“Fetch”]
cat input.txt | sort | uniq | wc -l
(the other D&D)
Distributed systems n systems linked by a network Communicate through
message passing Concurrency of components Independent component failure
–Jay Z (father of concurrent computing) “I’ve got problems 99
a system but ain’t concurrent one.”
Consensus Who did what when?
None
#chinchillafacts
A relational sidebar
0 100 200 * * 0 50 100 * *
100 150 200 * *
Write-ahead log (WAL) 01 02 03 04 05 06 07
08 09 10
WAL Leader Follower
–Alan Perlis, “Structure and Interpretation of Computer Programs” “It is
better to have 100 functions operate on one data abstraction than 10 functions on 10 data structures.”
None
The log Append-only event sequence Ordered by time
Advantages Resiliency Messaging guarantees Unified Single source of truth
None
amazon kinesis
Terminology Event Stream/topic Partition/shard
Up and running
Architecture with a unified log
LMS
LMS Monitoring service
LMS Monitoring service Messaging Service
LMS Reporting Service Monitoring service Messaging Service
LMS Reporting Service Attachments Service Monitoring service Messaging Service
None
Log-based architecture Log Producers Consumers
Unified Log
Unified Log LMS Permissions Service Reporting Service Email Service Attachments
Service
Example application
Real-time processing
None
#chinchillafacts
Consumer patterns Single event Multiple event
None
Storm topology Spout
Storm topology Spout Bolt
Storm topology Spout Bolt Bolt Bolt
Storm topology Spout Bolt Bolt Bolt Bolt
Advantages Supports Kafka, Kinesis as spouts Distributed, high performance system
Single abstraction for all workers Multi-language support
Example application
Example application Trending courses or topics Real-time alerting and notifications
Fraud detection
Word counter
[“Be not afeard; the isle is full of noises, sounds
and sweet airs, that give delight and hurt not.”] Spout
[“Be”, “not”, “afeard”, “the”, “isle”, “is”, “full”, “of”, “noises”, “sounds”,
“and”, “sweet”, “airs”, “that”, “give”, “delight”, “and”, “hurt”, “not”] Spout Bolt
[“afeard”, “isle”, “full”, “noises”, “sounds”, “sweet”, “airs”, “give”, “delight”, “hurt”]
Spout Bolt Bolt
{“afeard”: 1, “isle”: 1, “full”: 1, “noises”: 1, “sounds”: 1,
“sweet”: 1, “airs”: 1, “give”: 1, “delight”: 1, “hurt”: 1} Spout Bolt Bolt Bolt
{“afeard”: 13, “isle”: 2, “full”: 100, “noises”: 25, “sounds”: 13,
“sweet”: 17, “airs”: 31, “give”: 310, “delight”: 72, “hurt”: 5} Spout Bolt Bolt Bolt Database Tick Tuple
{“afeard”: 13, “isle”: 2, “full”: 100, “noises”: 25, “sounds”: 13,
“sweet”: 17, “airs”: 31, “give”: 310, “delight”: 72, “hurt”: 5} Spout Bolt Bolt Bolt Database Tick Tuple Bolt Bolt Bolt Bolt
Questions?