Professional Documents
Culture Documents
The impact of
mobility
2
Our brain
Reaction time Response time Memory
100 to 500 ms 100 to 500 ms
Average response time to
a question (ms)
Sources : Public Library of Science, Appdynamics, “Timing responses to questions in dialogue”, Sofia Strömbergsson, Anna 3
Hjalmarsson, Jens Edlund, David House - Department of Speech, Music and Hearing, KTH, Stockholm, Sweden
Effect of reaction time of an application
on humans
Reaction time
of an 0,1 0,5 1 2 3 4 5 10 Seconds
application
« normal »
« Instant »
Time
« very slow »
No waiting 30 to 40% drops
on the web
desktop
4
Effect of reaction time of an application
on humans
Reaction time
of an 0,1 0,5 1 2 3 4 5 10 Seconds
application
« very slow »
No waiting 30 to 40% drops
on the web
desktop
5
Effect of reaction time of an application
On humans
Reaction time
of an 0,1 0,5 1 2 3 4 5 10 Seconds
application Consequences
Why is performance
important ?
7
The sources of performance
Page
construction Request
Answers
Display Treatment
Performance
=
Device processing Latency
+ Debit
Time to communication Amount of Data
+ Quantity of requests
Server processing Protocol
8
The most common protocol (HTTP)
= 2 round trips
HTTP
TCP SYN « Hi !»
HTTP 200« OK »
Note: Secured version (SSL ), the dialogue before data recovery requires a turn and return to give
The " encryption keys "
9
Estimated latency of the different
types of network
Private local Network
ADSL
3G
EDGE/2G
Because 2 round trips are required by HTTP, first « useful » data reaches
application in 40ms for ADSL , in 300ms in 3G
Source : http://www.digitalsociety.org/2010/08/conflating-broadband-speed-with-internet-speed-is-misleading/ 10
http://www.dslreports.com/
4G delivers us ?
Yes, it multiple the But it reduces latency
download by 4 just by 40 %
How to test ?
The Impact of
mobility
Why is performance
important ?
12
Tools to analyse application performance
(APM : Application Performance Management)
13
Todays solutions
How to test ?
Yesterdays solution
The impact of
mobility
Why is performance
important ?
14
Time to communication
is a function of
Perception,
latency,
debit,
Amount of data,
Number of requests,
Protocol.
15
Time to communication
is a function of
Display items quickly
Perception, Programmation : flush , Post-load , pre-load
Infrastructures
debit, Bandwidth & CPU
Programming Quality
Number of requests, Reduce the number of request by grouping , Putting scripts after the
maximum requests , Avoid interdependent queries, Web: avoid CSS
expressions, Redirects , ... .
The impact of
mobility Todays solutions
Why is performance
important ?
17
Source of the mobility problem
Latency Latency
10 to 20ms 80 to 160 ms
18
Source of the mobility problem
Latency Latency
10 to 20ms 80 to 160 ms
19
19
Server
« middleware mobile »
Orchestration
Sources
Cache Cache
Agregation
20
(*) Especially the application requires interdependent calls ( if the value of A to be found in such a server is X, then search B in another server)
Compared to the conventional protocol and
two-way protocol
Bidirectional protocol
HTTP
Page 1
Page 1
« Hello !»
« Yes ?! » « Hello !»
« Cool ! » « Yes ?! »
« Cool ? »
« I want this »
« OK » « I want this »
« Here! » « OK »
« Tiens! »
« I want this » « OK »
« Here! »
« Here! »
Page 2
« Hello !» 2nd page
« Again?! »
« Cool ! »
« I want this »
« OK » «I want this »
« Here! »
« Here! »
21
Note: (* ) upgradeable scenario with long polling
The impact of these new solutions on the
quantity of transferred data
Transferred data for the same transaction Transferred data for the same transaction
Mobile application for trading Mobile application for sports betting
350 700
298 608
300 600
150 300
243
95
100 200
50 100 48
1.6
0 0
Web app Mobile app Motwin app Web app Mobile app Motwin app
22
Do It Yourself or BUY/RENT
Motwin Platform
23
Implementation of the Motwin platform
24
3 sensitive segments performance
25
Reactivity Disponibility Speed Maintenance Cost
deployment and Scalability
26
Thank You !
Stand : E32B
community@motwin.com
www.motwin.com
@motwin_inc
27