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
Search
Bryce "BonzoESC" Kerley
March 07, 2014
Programming
0
410
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
87
Rails and the Internet of Things
bryce
1
56
It's Not Ruby, But…
bryce
0
45
Ruby 2.5: What's New and What's Cool
bryce
0
59
docker for rubyists
bryce
0
99
Would You Like To Make A Game?
bryce
0
50
WebSockets and ActionCable
bryce
0
77
How I Learned to Stop Worrying and Like RSpec
bryce
0
69
How Do Computers Even Work?
bryce
1
180
Other Decks in Programming
See All in Programming
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
330
今からはじめるAndroidアプリ開発 2024 / DevFest 2024
star_zero
0
1k
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
130
Go の GC の不得意な部分を克服したい
taiyow
2
770
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
370
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
4
210
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
760
Cloudflare MCP ServerでClaude Desktop からWeb APIを構築
kutakutat
1
540
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
270
命名をリントする
chiroruxx
1
390
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
460
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
What's in a price? How to price your products and services
michaelherold
243
12k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Facilitating Awesome Meetings
lara
50
6.1k
Making Projects Easy
brettharned
116
5.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
Typedesign – Prime Four
hannesfritz
40
2.4k
Thoughts on Productivity
jonyablonski
67
4.4k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
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