I Phone Dev Summit Prezo Guy Naor FinalPresentation Transcript
Scaling Your iPhone
Guy Naor, CTO
A Self Introduction
Been involved with technology since 1981
Led development of GoldMine for 4 years
CTO of Famundo, LLC
Contributed libraries and educational
materials as open source
Currently CTO for Morph Labs, Inc.
The Need to Scale
Future is Uncertain
Save Money and Effort
Time is Short
What can we scale?
What technologies should
Simple to start with
Able to grow
Easy to replace
Know what you are doing
Rails caching, memcached
HAProxy, Pound, nginx
PgPool II, MySQL Proxy,
Oracle cluster, Slony
How do you plan scaling?
No “one size-ﬁts-all” solution -
depends on the speciﬁc application
Check, measure, test and repeat
Start from real bottlenecks - not from
Choose the path of least resistance!
Easy vs. Complex
Do you know what’s easy?
Better code and caching covers 90% of
Don’t overdo it
Do you really need the “it”?
20 machine DB cluster?
CDN for 10,000 pages
Can you estimate your future needs now?
Do you have time to test and analyze all
Repeatability - Testing
Tracks @ Morph
Open source app that implements
Originally stand-alone, now its a
multi-tenant SaaS app (c/o Morph)
iPhone Mobile Safari compatible
Thousand of users since we
launched it (mid 2008)