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
Simon Willison
January 31, 2013
Technology
2
130
Cheap tricks for startups
My talk from Monki Gras 2013 -
Simon Willison
January 31, 2013
Tweet
Share
More Decks by Simon Willison
See All by Simon Willison
Big Opportunities in Small Data
simon
0
490
Massively increase your productivity on personal projects with comprehensive documentation and automated tests
simon
1
2.8k
Datasette (CSVConf 2019)
simon
1
350
Instant serverless APIs, powered by SQLite
simon
1
1.8k
Datasette
simon
1
830
The denormalized query engine design pattern
simon
2
2.1k
Exploring complex data with Elasticsearch and Python
simon
1
830
Django Origins (and some things I have built with Django)
simon
1
270
Monitoring and Introspecting Django
simon
2
3.4k
Other Decks in Technology
See All in Technology
Greatest Disaster Hits in Web Performance
guaca
0
330
量子クラウドシステムと運用
oqtopus
0
150
Cosmos World Foundation Model Platform for Physical AI
takmin
0
1k
衛星画像即時マッピングサービスの実現に向けて
lehupa
1
240
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
1.4k
22nd ACRi Webinar - 1Finity Tamura-san's slide
nao_sumikawa
0
130
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
150
AIエージェントに必要なのはデータではなく文脈だった/ai-agent-context-graph-mybest
jonnojun
1
580
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
670
LLMOpsのこれまでとこれからを学ぶ
nsakki55
2
530
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
300
Context Engineeringの取り組み
nutslove
0
440
Featured
See All Featured
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Balancing Empowerment & Direction
lara
5
910
The untapped power of vector embeddings
frankvandijk
1
1.6k
Docker and Python
trallard
47
3.7k
Exploring anti-patterns in Rails
aemeredith
2
260
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
260
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
120
The Spectacular Lies of Maps
axbom
PRO
1
540
エンジニアに許された特別な時間の終わり
watany
106
230k
How to build a perfect <img>
jonoalderson
1
5.2k
Building the Perfect Custom Keyboard
takai
2
690
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