Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Scaling Down (Running Large Sites Locally)
Andrew Godwin
August 05, 2017
Programming
0
180
Scaling Down (Running Large Sites Locally)
A talk I gave at PyCon AU 2017.
Andrew Godwin
August 05, 2017
Tweet
Share
More Decks by Andrew Godwin
See All by Andrew Godwin
A Newcomer's Guide To Airflow's Architecture
andrewgodwin
0
98
Async, Python, and the Future
andrewgodwin
1
370
How To Break Django: With Async
andrewgodwin
1
310
Taking Django's ORM Async
andrewgodwin
0
340
The Long Road To Asynchrony
andrewgodwin
0
380
The Scientist & The Engineer
andrewgodwin
1
380
Pioneering Real-Time
andrewgodwin
0
150
Just Add Await: Retrofitting Async Into Django
andrewgodwin
2
1.1k
Terrain, Art, Python and LiDAR
andrewgodwin
1
240
Other Decks in Programming
See All in Programming
UI Testing of Jetpack Compose Apps, AppDevCon
alexzhukovich
0
140
Swift Regex
usamik26
0
150
Running Laravel/PHP on AWS (AWS Builders Day Taiwan 2022)
dwchiang
0
140
1時間半で克服するJavaScriptの非同期処理/async_javascript_kokufuku
marchin1989
2
610
GoogleI/O2022 LT報告会資料
shinsukefujita1126
0
310
シェーダー氷山発掘記
logilabo
0
140
JetPackComposeは宣言型プログラミングパラダイムって実はよくわかってないんですが、別に使ってもいいんですよね、
conigashima
0
180
JSのウェブフレームワークで高速なルーターを実装する方法
usualoma
1
1.7k
即、New Relic / New Relic NOW!
uzulla
0
310
ISUCON12 事前講習
rosylilly
3
4.3k
Terraform Plan/Apply結果の自動通知
ymmy02
0
280
git on intellij
hiroto_kitamura
0
170
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
219
17k
Intergalactic Javascript Robots from Outer Space
tanoku
261
25k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
237
19k
Large-scale JavaScript Application Architecture
addyosmani
499
110k
The Pragmatic Product Professional
lauravandoore
19
3k
Creatively Recalculating Your Daily Design Routine
revolveconf
207
10k
Six Lessons from altMBA
skipperchong
14
1.4k
Statistics for Hackers
jakevdp
781
210k
In The Pink: A Labor of Love
frogandcode
131
21k
VelocityConf: Rendering Performance Case Studies
addyosmani
316
22k
The Language of Interfaces
destraynor
148
20k
Teambox: Starting and Learning
jrom
123
7.7k
Transcript
Andrew Godwin
Hi, I’m Andrew Godwin
2013
None
None
2017
None
~150 Docker containers
~24GB of RAM
None
docker-compose
docker-compose
bay
None
None
None
Containers & Links
Django Core MySQL Payments Audit MySQL Redis
Django Core MySQL Payments Audit MySQL Redis
Django Core MySQL Payments Audit MySQL Redis
Django Core MySQL Redis “tiny”
Did it boot yet?
Docker containers run only one thing
None
None
None
What if you don’t have a custom init?
None
Rebuilding is Bad
Rebuilding core is about 10 mins
Mounts (“devmodes”) Core mount ➜ Library mount ➜
None
Our dependencies change every few hours
Docker images are portable
Pull rather than build
None
What’s Next?
Automated image building
Running images remotely
Running whole stacks remotely
Trying not to reinvent the wheel
github.com/eventbrite/bay
Thanks. github.com/eventbrite/bay