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
Scaling Down (Running Large Sites Locally)
Search
Andrew Godwin
August 05, 2017
Programming
0
210
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
Reconciling Everything
andrewgodwin
1
210
Django Through The Years
andrewgodwin
0
88
Writing Maintainable Software At Scale
andrewgodwin
0
330
A Newcomer's Guide To Airflow's Architecture
andrewgodwin
0
240
Async, Python, and the Future
andrewgodwin
2
540
How To Break Django: With Async
andrewgodwin
1
580
Taking Django's ORM Async
andrewgodwin
0
590
The Long Road To Asynchrony
andrewgodwin
0
510
The Scientist & The Engineer
andrewgodwin
1
580
Other Decks in Programming
See All in Programming
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
170
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
120
Ruby Pattern Matching
bkuhlmann
0
930
Sheets API使ってみた
toshi0383
2
160
GraphQLサーバの構成要素を整理する #ハッカー鮨 #tsukijigraphql / graphql server technology selection
izumin5210
4
900
Git Lint
bkuhlmann
4
760
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
2
130
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
4
380
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
500
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
470
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.5k
Code Reviews
bkuhlmann
4
900
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
8
1.3k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
358
22k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Building Better People: How to give real-time feedback that sticks.
wjessup
356
18k
Ruby is Unlike a Banana
tanoku
96
10k
Producing Creativity
orderedlist
PRO
338
39k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.7k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Building Effective Engineering Teams - LeadDev
addyosmani
31
1.9k
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