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 Your Team
Search
Alex Gaynor
October 04, 2012
Programming
12
1.5k
Scaling Your Team
Talk presented at PyCon South Africa, 2012.
Alex Gaynor
October 04, 2012
Tweet
Share
More Decks by Alex Gaynor
See All by Alex Gaynor
Quantifying Memory Unsafety and Reactions to It
alex
0
72
Learning from Failure: Post-mortems
alex
2
270
The cobbler's children have no shoes, or building better tools for ourselves
alex
1
230
Techniques for Debugging Hard Problems
alex
1
520
Building Communities with Code Review
alex
4
250
Documenting Domain Specific Knowledge
alex
1
310
Pickles are for Delis, not for Software
alex
0
300
Code Review in Open Source Software
alex
4
730
Why Ruby isn't slow
alex
10
3.7k
Other Decks in Programming
See All in Programming
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Italy
prof18
0
150
From Translations to Multi Dimension Entities
alexanderschranz
2
130
Jakarta EE meets AI
ivargrimstad
0
230
良いユニットテストを書こう
mototakatsu
5
1.9k
Full stack testing :: basic to basic
up1
1
930
Cloudflare MCP ServerでClaude Desktop からWeb APIを構築
kutakutat
1
540
useSyncExternalStoreを使いまくる
ssssota
6
1k
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
2
460
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
第5回日本眼科AI学会総会_AIコンテスト_3位解法
neilsaw
0
170
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Designing for Performance
lara
604
68k
Being A Developer After 40
akosma
87
590k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Designing for humans not robots
tammielis
250
25k
It's Worth the Effort
3n
183
28k
Transcript
Friday, October 5, 12
Scaling Your Project Alex Gaynor PyCon South Africa, 2012 Friday,
October 5, 12
Me • Software Engineer at rdio.com • Python Software Foundation
member • Django software Foundation board member • Django, PyPy, and CPython core developer Friday, October 5, 12
What is scaling? Friday, October 5, 12
Scaling is not performance Friday, October 5, 12
Scalability is the ability of a project to handle more
users/traffic/customers linearly with resources Friday, October 5, 12
A website is scalable if adding N more server lets
it handle N times more traffic than adding one server Friday, October 5, 12
A software project is scalable if adding N more engineers
lets you ship code N times faster than adding one more engineer Friday, October 5, 12
“9 women can’t have a baby in one month” Friday,
October 5, 12
How to scale a project and a team? Friday, October
5, 12
“Bus factor” Friday, October 5, 12
One-click deployment Friday, October 5, 12
• fabric • Roll out any revision at any time
• Rollback to a known working state at any time Friday, October 5, 12
• Seems to be a relatively new idea. • Python
tools for this aren’t great yet. • Chef, puppet, salt One click infrastructure Friday, October 5, 12
New developer onboarding Friday, October 5, 12
$ git clone http://url.to/your/project $ mkvirtualenv your-project $ pip install
-r requirements.txt $ supervisord start Friday, October 5, 12
Developing for the web 5 years ago • HTTP server
• Database Friday, October 5, 12
Developing for the web now • HTTP server • Databases
• Queue workers • Custom daemons Friday, October 5, 12
Enter supervisord • It supervises processes • A good idea
in production • Potentially really useful in development Friday, October 5, 12
Automated Testing Friday, October 5, 12
How do we avoid breaking software? • Intuition about what
can break • Manual testing • Automated testing Friday, October 5, 12
Automated testing changes how we write software Friday, October 5,
12
Code Review Friday, October 5, 12
• Rietveld, github, phabricator • Code review every single patch
• Helps defeat the bus factor Friday, October 5, 12
Make new developers do code reviews Friday, October 5, 12
Embrace the community Friday, October 5, 12
Cost to implement yourself vs. Cost to learn something Friday,
October 5, 12
Community standards mean your developers come pre-trained Friday, October 5,
12
Maintain high code quality Friday, October 5, 12
Code Quality • PEP 8 • Good naming • Commenting
Friday, October 5, 12
Measure and Analyze Friday, October 5, 12
• Useful logging • Powerful error analysis (Sentry) • Measurements
(mmstats, statsd) Friday, October 5, 12
• Automate everything • Embrace the community • Make getting
started easy Recap Friday, October 5, 12
Thank you! Questions? https://speakerdeck.com/u/alex Friday, October 5, 12