Задумывались ли вы, что стоит между вами и картинкой милого котика в вашем смартфоне? Почему мордочка котика грузится так медленно? Может ли эта картинка может стоить вам разряженой батареи и почему? И что разработчики мобильных приложений могут сделать, чтобы котики и пользователи были счастливы?
Это, а возможно и не только, будет интересно и тестировщикам (и мобильных, и веб-приложений) и просто владельцам умного телефона.
6. BANDWIDTH - MAXIMUM
THROUGHPUT OF A LOGICAL OR
PHYSICAL COMMUNICATION
PATH
QAFEST 2017
• add more fibers into our fiber-optic links
• deploy more links across the congested routes
• improve the WDM techniques to transfer more data
through existing links
7. LATENCY - THE TIME FROM THE
SOURCE SENDING A PACKET TO
THE DESTINATION RECEIVING IT
QAFEST 2017
Propagation delay
+
Transmission
delay
+
Processing delay
+
Queuing delay
+
…
8. LATENCY – CAN WE BE
FASTER?
The speed of light places a hard limit on the
minimum latency.
We can’t make light move faster, but we can:
reduce round trips of data;
move the data closer to the client;
build applications that can hide the latency through
caching, pre-fetching, and a variety of similar
techniques
QAFEST 2017
11. TYPES OF WIRELESS
NETWORKS
QAFEST 2017
Type Range Applications Standards
Personal area
network (PAN)
Within reach of
a person
Cable
replacement for
peripherals
Bluetooth,
ZigBee, NFC
Local area
network (LAN)
Within a
building
Wireless
extension of
wired network
IEEE 802.11
(WiFi)
Metropolitan
area network
(MAN)
Within a city
Wireless inter-
network
connectivity
IEEE 802.15
(WiMAX)
Wide area
network (WAN)
Worldwide
Wireless
network access
Cellular (UMTS,
LTE, etc.)
12. CHANNEL CAPACITY
C - channel capacity, measured in bits per second.
BW - available bandwidth, is measured in hertz.
S - signal, measured in watts.
N - noise, measured in watts.
QAFEST 2017
14. GENERATIONS OF MOBILE
NETWORKS
Generatio
n
Peak data
rate
Data rate Latency
1G No data
2G Kbit/s 100–400
Kbit/s
300–1000
ms
3G Mbit/s 0.5–5 Mbit/s 100–500
ms
4G Gbit/s 1–50 Mbit/s < 100 ms
QAFEST 2017
22. REDUCE CONNECTIONS
Eliminate Periodic and Inefficient Data Transfers
Batch Transfers and Connections
Reduce Connections
Idle whenever is possible
QAFEST 2017
23. SAVE DATA IN ADVANCE
Pre-fetch data
Cache things
QAFEST 2017
25. A FEW FACTORS THAT MAY
AFFECT THE PERFORMANCE OF
YOUR WIRELESS NETWORK
Distance between receiver and
sender
Background noise
Interference from users in intra-cell
Interference from users in inter-cell
Available transmit power
Amount of processing power and
the chosen modulation scheme
QAFEST 2017
26. WHAT MAY HAPPEN
Internet router failure
Route change
Router/Link overload (with queues being full)
Router being loaded, but not overloaded. AQM fires in
Traffic Shaper on the way
Last mile – electromagnetic interference
Firewalls
QAFEST 2017
Last mile oversubscription
Modem retrain
Heavy download (overload of last mile downstream)
LTE last mile – poor weather (fog or rain)
Sudden IP change
Poor Wi-Fi
Wi-Fi interference
27. HOW WE MAY OBSERVE IT
100% packet loss
Random packet loss
Burstable packet loss
“Hanged” connections
Long responses
QAFEST 2017
28. TEST IN-LAB
Simulate patterns of packet loss to see how your server can
handle it
Handle “hanged connection” (without forcing user to close-
and-reopen-app)
Prepare to handle “mass disconnects”
QAFEST 2017
29. TEST OUT OF LAB
Go out and have poor connection!
QAFEST 2017
Near-far problem - a condition in which a receiver captures a strong signal and thereby makes it impossible for the receiver to detect a weaker signal, effectively "crowding out" the weaker signal.
Cell-breathing - a condition in which the coverage area, or the distance of the signal, expands and shrinks based on the cumulative noise and interference levels.
User equipment - any device used directly by an end-user to communicate
Full power: Used when a connection is active, allowing the device to transfer data at its highest possible rate.
Low power: An intermediate state that uses around 50% of the battery power at the full state.
Standby: The minimal energy state during which no network connection is active or required.