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.6k
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
93
Learning from Failure: Post-mortems
alex
2
290
The cobbler's children have no shoes, or building better tools for ourselves
alex
1
260
Techniques for Debugging Hard Problems
alex
1
570
Building Communities with Code Review
alex
4
280
Documenting Domain Specific Knowledge
alex
1
380
Pickles are for Delis, not for Software
alex
0
350
Code Review in Open Source Software
alex
4
760
Why Ruby isn't slow
alex
10
3.8k
Other Decks in Programming
See All in Programming
Design Foundational Data Engineering Observability
sucitw
3
200
AI時代のUIはどこへ行く?
yusukebe
18
9.1k
時間軸から考えるTerraformを使う理由と留意点
fufuhu
16
4.8k
はじめてのMaterial3 Expressive
ym223
2
900
Laravel Boost 超入門
fire_arlo
3
220
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
870
詳解!defer panic recover のしくみ / Understanding defer, panic, and recover
convto
0
250
Navigation 2 を 3 に移行する(予定)ためにやったこと
yokomii
0
340
Deep Dive into Kotlin Flow
jmatsu
1
370
概念モデル→論理モデルで気をつけていること
sunnyone
3
300
AI Coding Agentのセキュリティリスク:PRの自己承認とメルカリの対策
s3h
0
230
ProxyによるWindow間RPC機構の構築
syumai
3
1.2k
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2k
GraphQLとの向き合い方2022年版
quramy
49
14k
Optimizing for Happiness
mojombo
379
70k
4 Signs Your Business is Dying
shpigford
184
22k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Music & Morning Musume
bryan
46
6.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
530
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
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