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
Growing Distributed Systems: Abril Pro Ruby
Search
Bryce "BonzoESC" Kerley
April 26, 2014
Programming
0
49
Growing Distributed Systems: Abril Pro Ruby
The Abril Pro Ruby version of my Growing Distributed Systems talk.
Bryce "BonzoESC" Kerley
April 26, 2014
Tweet
Share
More Decks by Bryce "BonzoESC" Kerley
See All by Bryce "BonzoESC" Kerley
Ruby in 2020
bryce
1
100
Rails and the Internet of Things
bryce
1
63
It's Not Ruby, But…
bryce
0
49
Ruby 2.5: What's New and What's Cool
bryce
0
60
docker for rubyists
bryce
0
110
Would You Like To Make A Game?
bryce
0
52
WebSockets and ActionCable
bryce
0
81
How I Learned to Stop Worrying and Like RSpec
bryce
0
71
How Do Computers Even Work?
bryce
1
180
Other Decks in Programming
See All in Programming
generative-ai-use-cases(GenU)の推しポイント ~2025年4月版~
hideg
1
340
Java 24まとめ / Java 24 summary
kishida
3
510
Unlock the Potential of Swift Code Generation
rockname
0
280
Browser and UI #2 HTML/ARIA
ken7253
2
150
サービスレベルを管理してアジャイルを加速しよう!! / slm-accelerate-agility
tomoyakitaura
1
190
Being an ethical software engineer
xgouchet
PRO
0
220
Vibe Coding の話をしよう
schroneko
12
3.4k
ASP.NETアプリケーションのモダナイゼーションについて
tomokusaba
0
190
サービスクラスのありがたみを発見したときの思い出 #phpcon_odawara
77web
4
700
flutter_kaigi_mini_4.pdf
nobu74658
0
130
RubyKaigi Dev Meeting 2025
tenderlove
1
750
The Evolution of the CRuby Build System
kateinoigakukun
1
740
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Speed Design
sergeychernyshev
29
910
The World Runs on Bad Software
bkeepers
PRO
68
11k
For a Future-Friendly Web
brad_frost
177
9.7k
It's Worth the Effort
3n
184
28k
Statistics for Hackers
jakevdp
798
220k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
400
VelocityConf: Rendering Performance Case Studies
addyosmani
329
24k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.3k
Building Applications with DynamoDB
mza
94
6.3k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
104
19k
Transcript
Growing Distributed Systems
Hello Bryce Kerley @bonzoesc basho
None
None
None
None
None
None
Distributed Systems What even are they?
Distributed Systems
Distributed Systems Always Broken
Distributed Systems Light Cones
Mutual visibility Soldier Fires Sniper Fires
Distributed Systems A distributed system is one in which the
failure of a computer you didn’t even know existed can render your own computer unusable. Lamport, 1987
Distributed Systems •Rules and Theory •Inconsistency and Unavailability •Distributed Rails
Byzantine Generals Two armies One town
Byzantine Generals Horse messengers
Byzantine Generals Consensus on when to attack
Byzantine Generals No Right Answer
Criticality •Amazon S3, July 2008 •GitHub, Dec. 2012 •Northeast US,
2003
Murphy’s Law at Scale •Backblaze •Gears of War 2
CAP Theorem Consistency Availability Partition tolerance
Rules, Theory, and Practice Compromise
Distributed Systems •Rules and Theory •Inconsistency and Unavailability •Distributed Rails
CAP Theorem lose Consistency or Availability during Partitions
Partitions
Partitions
CP Systems Zookeeper
Unavailability Don’t fill requests
Unavailability oonbeamlabs
AP Systems Riak
Inconsistency Accept writes Perform reads
Inconsistency
Hybrid Multiple Stores
Hybrid Where It Counts
Hybrid Riak 2 Strong Consistency
Distributed Systems •Rules and Theory •Inconsistency and Unavailability •Distributed Rails
Distributed Rails You’re Already Distributed
Distributed Rails Rails
Distributed Rails Rails Web DB
Distributed Rails SQL Rules
Distributed Rails NoSQL No Rules
Distributed Rails Temptation
Temptation “We’ll put everything in Rails models.”
None
Distributed Rails Service Oriented Architecture
Service Oriented Extract Parts
Service Oriented Documented Protocols
Service Oriented Smaller Deployments
Service Oriented Simpler Organization
Service Oriented Break Coupling
Service Oriented Flexible Implementation
Testing Unit Tests
Testing Service Tests
Testing Acceptance Tests
Testing Refactoring [GitHub] with Science Wynn Netherland, Big Ruby, Feb.
2014
Offline Apps Latency Garbage Collection Packet loss Airplane rides Local
internet
Offline Apps Smarter clients
Offline Apps You’re Already Doing It
Offline Strategies Conflicts
Offline Strategies Operational Transform
Offline Strategies Git
Offline Strategies Vesper
Distributed Systems •Rules and Theory •Inconsistency and Unavailability •Distributed Rails
Ruby Works
Make Something Awesome
Grow When You Need To
Thanks Bryce Kerley @bonzoesc bkerley@brycekerley.net http://bitly.com/aprb-dist
Bonus Slides
Consensus Algorithm Paxos 1989
None
None
Consensus Algorithm Raft 2013
Harvest & Yield Harvest: fraction of data Yield: probability of
success
None
NoSQL and Rails SQL ACID
NoSQL and Rails Atomicity Consistency Isolation Durability
NoSQL and Rails NoSQL BASE
NoSQL and Rails Basically Available Soft-state Eventually consistent
Offline Libraries Breeze PouchDB Lawnchair
Must Watch Jeff Hodges “Practicalities of Productionizing Distributed Systems” youtu.be/BKqgGpAOv1w