Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Secrets to Lightning Fast Mobile Design
Mike Krieger
December 06, 2011
Technology
253
170k
Secrets to Lightning Fast Mobile Design
Presentation given at Warm Gun 2011.
Mike Krieger
December 06, 2011
Tweet
Share
More Decks by Mike Krieger
See All by Mike Krieger
mikeyk
15
3.5k
mikeyk
159
47k
Other Decks in Technology
See All in Technology
siroemk
0
280
kraj
0
5.2k
_kensh
1
210
ryusa
2
400
nkjzm
1
870
yunon_phys
1
470
sho7650
0
360
sansanbuildersbox
PRO
0
140
yoshiki0705
0
560
sasakendayo
2
450
clustervr
0
170
ytaka23
5
1.8k
Featured
See All Featured
kneath
294
39k
erikaheidi
13
4.2k
brettharned
93
3k
mojombo
358
62k
morganepeng
17
1.1k
hatefulcrawdad
257
17k
trallard
13
660
bkeepers
52
4.2k
zakiwarfel
88
3.3k
colly
65
3k
jrom
114
7.1k
hursman
106
9.2k
Transcript
Secrets to Lightning- Fast Mobile Design Warm Gun 2011 Mike
Krieger Instagram 1
me - Co-founder, Instagram - Previously: UX & Front-end @
Meebo - Stanford HCI BS/MS - @mikeyk on everything 2
3
12 million users in 12 months 4
5
6
7
8
“Fast, beautiful photo sharing” 9
“Fast, beautiful photo sharing” 10
making your mobile experiences feel lightning-fast 11
not the code, but the experience 12
mobile design requires the ultimate in design & development collaboration
13
14
speed matters 15
mobile experiences fill gaps while we wait 16
no one wants to wait while they wait 17
JSON parsing UITableViewCell HTTP pipelining 18
creative design decisions 19
how speed can be a design feature 20
how design can be a speed feature 21
implementation details 22
details that need to be designed 23
3 secrets to apps that feel lightning-fast, even on 3G
24
1. perform actions optimistically 2. adaptively pre-load content 3. move
bits when no-one’s watching 25
perform actions optimistically 26
latency is what’ll get ya 27
make the user feel productive 28
29
30
request is going, but we register the like 31
32
33
request is going, but we register the comment 34
35
36
if it fails? 37
38
39
why it works 40
@thesarahnator 41
@stayintheshade 42
adaptive pre-loading 43
basic version: load content before it’s needed 44
“let’s load all the images in the feed once the
user loads the page” 45
fresh feed 30 photos to load 46
pitfall 47
48
49
50
51
52
53
54
55
56
instead... 57
re-prioritize based on interest 58
59
60
61
62
63
64
listen to what their flicks & taps are telling you
65
why it works 66
@miriamjasmine 67
move bits when no-one’s watching 68
sign-up 69
70
? 71
72
73
upload 74
75
76
77
78
79
80
81
most apps upload here we start uploading here 82
non-optimal engineering solution 83
2 requests, 2 round-trips + latency need to match up
84
but makes uploads feel really, really quick 85
send data/info as soon as part of it’s ready to
go; match up later 86
worth it even if you throw out the data on
cancel 87
why it works 88
where to go from here 89
“it works” isn’t enough 90
design & development collaboration 91
92
1. perform actions optimistically 2. adaptively pre-load content 3. move
bits when no-one’s watching 93
Qs? we’re hiring: jobs@instagram.com get in touch: @mikeyk 94