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
Growing Distributed Systems: Abril Pro Ruby
Search
Bryce "BonzoESC" Kerley
April 26, 2014
Programming
61
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Growing Distributed Systems: Abril Pro Ruby
The Abril Pro Ruby version of my Growing Distributed Systems talk.
Bryce "BonzoESC" Kerley
April 26, 2014
More Decks by Bryce "BonzoESC" Kerley
See All by Bryce "BonzoESC" Kerley
Ruby in 2020
bryce
1
130
Rails and the Internet of Things
bryce
1
95
It's Not Ruby, But…
bryce
0
94
Ruby 2.5: What's New and What's Cool
bryce
0
99
docker for rubyists
bryce
0
130
Would You Like To Make A Game?
bryce
0
69
WebSockets and ActionCable
bryce
0
97
How I Learned to Stop Worrying and Like RSpec
bryce
0
97
How Do Computers Even Work?
bryce
1
230
Other Decks in Programming
See All in Programming
The Rails Doctrine Decade
koic
2
570
Workers Cache を知る
syumai
0
360
Simple Storage Service(S3) is not simple
iwatsukayura
0
280
すこし踏み込む CancellationToken
htkym
2
1.7k
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
450
気持ちぃ〜角丸 Squircle
ryu1013
0
300
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
0
230
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
360
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
Bash Introduction
62gerente
615
220k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
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