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
1.6k
12
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
150
Learning from Failure: Post-mortems
alex
2
360
The cobbler's children have no shoes, or building better tools for ourselves
alex
1
300
Techniques for Debugging Hard Problems
alex
1
660
Building Communities with Code Review
alex
4
340
Documenting Domain Specific Knowledge
alex
1
440
Pickles are for Delis, not for Software
alex
0
560
Code Review in Open Source Software
alex
4
820
Why Ruby isn't slow
alex
10
3.9k
Other Decks in Programming
See All in Programming
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
260
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
460
[DroidKaigi 26] How We Moved from Android Studio to Slack
thisaay
0
150
プロポーザルを書いてもらう
pvcresin
0
600
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
1
130
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
800
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
130
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
420
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
270
MySQLとPostgreSQLって何が違うの?
akagami
PRO
0
160
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
2
940
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.3k
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Are puppies a ranking factor?
jonoalderson
2
3.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Designing Powerful Visuals for Engaging Learning
tmiket
1
520
Mobile First: as difficult as doing things right
swwweet
225
10k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
The Limits of Empathy - UXLibs8
cassininazir
1
630
Designing for Performance
lara
611
70k
sira's awesome portfolio website redesign presentation
elsirapls
0
390
Optimising Largest Contentful Paint
csswizardry
37
3.9k
Side Projects
sachag
455
43k
The Cost Of JavaScript in 2023
addyosmani
55
10k
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