Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
75
It's Not Ruby, But…
bryce
0
56
Ruby 2.5: What's New and What's Cool
bryce
0
70
docker for rubyists
bryce
0
110
Would You Like To Make A Game?
bryce
0
60
WebSockets and ActionCable
bryce
0
87
How I Learned to Stop Worrying and Like RSpec
bryce
0
80
How Do Computers Even Work?
bryce
1
200
Other Decks in Programming
See All in Programming
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.3k
AIエージェントの設計で注意するべきポイント6選
har1101
5
1.4k
dotfiles 式年遷宮 令和最新版
masawada
1
800
Rediscover the Console - SymfonyCon Amsterdam 2025
chalasr
2
180
20251212 AI 時代的 Legacy Code 營救術 2025 WebConf
mouson
0
200
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
1.5k
ゆくKotlin くるRust
exoego
1
120
【Streamlit x Snowflake】データ基盤からアプリ開発・AI活用まで、すべてをSnowflake内で実現
ayumu_yamaguchi
1
120
GISエンジニアから見たLINKSデータ
nokonoko1203
0
170
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
160
認証・認可の基本を学ぼう後編
kouyuume
0
240
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
1k
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
0
190
Raft: Consensus for Rubyists
vanstee
141
7.2k
How GitHub (no longer) Works
holman
316
140k
Building AI with AI
inesmontani
PRO
1
560
Scaling GitHub
holman
464
140k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
99
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
57
37k
The SEO Collaboration Effect
kristinabergwall1
0
300
Balancing Empowerment & Direction
lara
5
810
Building the Perfect Custom Keyboard
takai
1
660
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
63
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
63
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