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
Cheap tricks for startups
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Simon Willison
January 31, 2013
Technology
140
2
Share
Cheap tricks for startups
My talk from Monki Gras 2013 -
Simon Willison
January 31, 2013
More Decks by Simon Willison
See All by Simon Willison
Big Opportunities in Small Data
simon
0
550
Massively increase your productivity on personal projects with comprehensive documentation and automated tests
simon
1
2.8k
Datasette (CSVConf 2019)
simon
1
360
Instant serverless APIs, powered by SQLite
simon
1
1.8k
Datasette
simon
1
840
The denormalized query engine design pattern
simon
2
2.2k
Exploring complex data with Elasticsearch and Python
simon
1
840
Django Origins (and some things I have built with Django)
simon
1
280
Monitoring and Introspecting Django
simon
2
3.4k
Other Decks in Technology
See All in Technology
スクラムを支える内部品質の話
iij_pr
0
110
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
290
Bref でサービスを運用している話
sgash708
0
220
Sansanの認証基盤を支えるアーキテクチャとその振り返り
sansantech
PRO
1
120
20260323_データ分析基盤でGeminiを使う話
1210yuichi0
0
210
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Microsoft Fabricで考える非構造データのAI活用
ryomaru0825
0
570
15年メンテしてきたdotfilesから開発トレンドを振り返る 2011 - 2026
giginet
PRO
2
260
JEDAI認定プログラム JEDAI Order 2026 受賞者一覧 / JEDAI Order 2026 Winners
databricksjapan
0
420
Datadog で実現するセキュリティ対策 ~オブザーバビリティとセキュリティを 一緒にやると何がいいのか~
a2ush
0
180
脳が溶けた話 / Melted Brain
keisuke69
1
1.2k
AI時代のIssue駆動開発のススメ
moongift
PRO
0
330
Featured
See All Featured
Balancing Empowerment & Direction
lara
5
1k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Un-Boring Meetings
codingconduct
0
250
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
420
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.5k
Into the Great Unknown - MozCon
thekraken
40
2.3k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
190
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
420
Are puppies a ranking factor?
jonoalderson
1
3.2k
Become a Pro
speakerdeck
PRO
31
5.9k
Optimizing for Happiness
mojombo
378
71k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
Transcript
Cheap tricks for Startups Lanyrd.com Simon Willison @simonw Monki Gras,
31st January 2013 http://lanyrd.com/sccqcy
Early-stage startup engineering is different
What are the quickest tools to build that provide the
most value?
Cheap experimentation
FEATURE_FLAGS = { 'new_maps': 'Uses MapBox rather than Google', 'login_picker':
'/signin/ page with picker', 'login_linkedin': 'Sign in with LinkedIn', # ... }
@login_required @flag_required('topic_tracking') def topic_track(request, slug): topic = get_object_or_404(Topic, slug=slug) #
... if user.has_flag('topic_enhancements'): # ...
<div class="secondary"> {% flag topic_tracking %} <div class="icon-feature feature-topic"> <em
class="title">Keep exploring</em> <p class="med"><a href="/topics/"> Browse and track events by topic</a></p> </div> {% flagactive topic_tracking %} BETA ONLY {% endflagactive %} {% endflag %} <!-- ... --> </div>
Feature flags apply to individual users and/or user tags, e.g.
alpha, beta, lanyrd-team
“preview” tag controls flags available on private preview.lanyrd.com (for testing
logged-out features)
Feature flags help keep trunk deployable
Cheap deployment
$ fab e:live deploy $ fab e:staging target:feature/linkedin deploy
None
None
Deployment should be... Easy Fast Cheap
Everyone deploys on their first day!
Read only mode
MySQL on EC2 PostgreSQL on SoftLayer with no downtime http://lanyrd.com/blog/2012/lanyrds-big-move/
Cheap analytics
The History table
Internal metrics • created_at field on EVERY table, no exceptions
• Makes building graphs of site growth trivial • updated_at useful but not essential
Our report system • Reports are arbitrary calculations • Run
daily by cron • Backfill available on date-field based reports • Points are stored in the database • Site can graph any report • We can export any report to a spreadsheet
None
Cheap tricks Feature flags Read only mode History table Daily
calculated reports http://lanyrd.com/sccqcy
None
None