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
54
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
120
Rails and the Internet of Things
bryce
1
76
It's Not Ruby, But…
bryce
0
61
Ruby 2.5: What's New and What's Cool
bryce
0
73
docker for rubyists
bryce
0
120
Would You Like To Make A Game?
bryce
0
61
WebSockets and ActionCable
bryce
0
93
How I Learned to Stop Worrying and Like RSpec
bryce
0
80
How Do Computers Even Work?
bryce
1
210
Other Decks in Programming
See All in Programming
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
190
CSC307 Lecture 09
javiergs
PRO
1
830
AtCoder Conference 2025
shindannin
0
1k
SourceGeneratorのススメ
htkym
0
190
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
590
今から始めるClaude Code超入門
448jp
7
8.5k
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
Basic Architectures
denyspoltorak
0
660
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
Fragmented Architectures
denyspoltorak
0
150
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
141
7.3k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
210
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
62
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Deep Space Network (abreviated)
tonyrice
0
45
Abbi's Birthday
coloredviolet
1
4.7k
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
[email protected]
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