Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Growing Distributed Systems
Search
Bryce "BonzoESC" Kerley
March 07, 2014
Programming
0
440
Growing Distributed Systems
Ruby on Ales, Mar. 7 2014
Bryce "BonzoESC" Kerley
March 07, 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
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
88
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
クラウドに依存しないS3を使った開発術
simesaba80
0
170
まだ間に合う!Claude Code元年をふりかえる
nogu66
5
900
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
170
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
0
190
Cap'n Webについて
yusukebe
0
150
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
120
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
280
GISエンジニアから見たLINKSデータ
nokonoko1203
0
180
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
260
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
160
Python札幌 LT資料
t3tra
7
1.1k
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
280
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
How to make the Groovebox
asonas
2
1.8k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
720
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
2
66
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
130
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
What's in a price? How to price your products and services
michaelherold
246
13k
Being A Developer After 40
akosma
91
590k
Docker and Python
trallard
47
3.7k
Transcript
Growing Distributed Systems
None
None
None
Hello Bryce Kerley @bonzoesc basho
Distributed Systems What even are they?
Distributed Systems
Distributed Systems Always Broken
None
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 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
CP Systems Zookeeper
Unavailability Don’t fill requests
Unavailability
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
None
Distributed Rails Service Oriented Architecture
Service Oriented Extract Parts
Service Oriented Documented Protocols
Service Oriented Smaller Deployments
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/roa-dist
Bonus Slides
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
Why Extract? Break coupling Easier deploys Simpler responsibility Forced abstraction
Prevent introspection Standardization Flexible backends
Offline Libraries Breeze PouchDB Lawnchair
Must Watch Jeff Hodges “Practicalities of Productionizing Distributed Systems” youtu.be/BKqgGpAOv1w