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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Alex Gaynor
October 04, 2012
Programming
1.6k
12
Share
Scaling Your Team
Talk presented at PyCon South Africa, 2012.
Alex Gaynor
October 04, 2012
More Decks by Alex Gaynor
See All by Alex Gaynor
Quantifying Memory Unsafety and Reactions to It
alex
0
130
Learning from Failure: Post-mortems
alex
2
310
The cobbler's children have no shoes, or building better tools for ourselves
alex
1
290
Techniques for Debugging Hard Problems
alex
1
630
Building Communities with Code Review
alex
4
330
Documenting Domain Specific Knowledge
alex
1
420
Pickles are for Delis, not for Software
alex
0
510
Code Review in Open Source Software
alex
4
800
Why Ruby isn't slow
alex
10
3.8k
Other Decks in Programming
See All in Programming
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
5
2.4k
20260320登壇資料
pharct
0
140
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
750
Codex の「自走力」を高める
yorifuji
0
1.3k
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
380
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
420
Ruby and LLM Ecosystem 2nd
koic
1
1.4k
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
110
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
170
PHPで TLSのプロトコルを実装してみる
higaki_program
0
720
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
3
2.7k
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
910
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
470
Facilitating Awesome Meetings
lara
57
6.8k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Designing Experiences People Love
moore
143
24k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
700
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
The browser strikes back
jonoalderson
0
870
Become a Pro
speakerdeck
PRO
31
5.9k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
320
Music & Morning Musume
bryan
47
7.1k
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