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
230
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
330
Django Through The Years
andrewgodwin
0
220
Writing Maintainable Software At Scale
andrewgodwin
0
460
A Newcomer's Guide To Airflow's Architecture
andrewgodwin
0
370
Async, Python, and the Future
andrewgodwin
2
680
How To Break Django: With Async
andrewgodwin
1
740
Taking Django's ORM Async
andrewgodwin
0
740
The Long Road To Asynchrony
andrewgodwin
0
680
The Scientist & The Engineer
andrewgodwin
1
780
Other Decks in Programming
See All in Programming
Conquering Massive Traffic Spikes in Ruby Applications with Pitchfork
riseshia
0
160
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
140
株式会社 Sun terras カンパニーデック
sunterras
0
260
どの様にAIエージェントと 協業すべきだったのか?
takefumiyoshii
2
630
クラシルを支える技術と組織
rakutek
0
200
AI Coding Meetup #3 - 導入セッション / ai-coding-meetup-3
izumin5210
0
650
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
2k
Cursorハンズオン実践!
eltociear
2
660
デミカツ切り抜きで面倒くさいことはPythonにやらせよう
aokswork3
0
220
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
160
Pythonスレッドとは結局何なのか? CPython実装から見るNoGIL時代の変化
curekoshimizu
5
1.7k
CSC305 Lecture 03
javiergs
PRO
0
240
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Raft: Consensus for Rubyists
vanstee
139
7.1k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Agile that works and the tools we love
rasmusluckow
331
21k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
The Cost Of JavaScript in 2023
addyosmani
53
9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
GraphQLとの向き合い方2022年版
quramy
49
14k
Designing for Performance
lara
610
69k
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