When we start to pay attention to the user experience of App, network connectivity and interface fluency are important indicators to ensure the usability of App. Recently, I conducted a simple analysis of the network data in the project and conducted research on some solutions in the industry, so I wrote this article to sort out the knowledge. When we use an App, if we often encounter loading failures or the App keeps spinning in circles, it is likely that there is a problem with the App's network performance, and R&D personnel are urgently needed to optimize it. For developers, it is very difficult to locate network problems, because the users who have network problems are often far away, and you cannot debug and locate them. Therefore, it is very important to establish a complete network monitoring system to accurately locate network problems through the analysis of massive data.
Through data analysis, research, and user feedback, we found that mobile networks often have the following problems:
There are many solutions to the above problems in the industry. I will briefly list some of them here. How to solve this problem in the face of such a network? In the case of DNS hijacking, the main approach in the industry is HTTPDNS or built-in Server IP list. The client directly accesses the HttpDNS interface to obtain the IP with the lowest access delay configured by the business on the domain name configuration management system. After obtaining the IP, the business protocol request is directly sent to this IP, without the need to use the local operator to resolve the domain name, so the hijacking problem is fundamentally avoided, and the network delay can be reduced and the connection success rate can be increased. The establishment of a Server IP list is to cache an IP mapping table locally. This table can be dynamically issued and updated when the App is started, and the IP is directly used to send a request when accessing the server. The transmitted payload also directly affects the delay and the success rate. For data compression, many companies in the industry have begun to use the ProtoBuf protocol. I have not yet accurately concluded the optimization percentage, but from everyone's feedback, the optimization effect is obvious. For data compression, you can also consider accessing HTTP 2.0. After all, this is a trend. Many companies have also joined HTTP 2.0. HTTP 2.0 also helps you reduce the transmitted payload through header compression and other methods. Many of the above questions actually involve the issue of long and short connections. There are many questions that can be considered for this issue.
There are some other points to consider.
|
<<: How to design a good consumer-oriented App product
>>: Apple's ten years of courting China
The flood season has arrived. Geological disaster...
An engineer named Alex Sourov from Facebook recent...
How to make Baidu bidding promotion more effectiv...
Drinking water is an essential part of our daily l...
C4D+Octane+PS [E-commerce Product Compulsory Cours...
Guangdong is China's southern gate and is loca...
Is it easy to join the Zhaotong luggage mini prog...
Recently, I have been busy communicating with dif...
recently In the sky of Zibo, Shandong A "two...
Research has found that 9.77% of all strokes occu...
According to statistics and analysis by the China...
As we all know, black holes are at the top of the...
Strategy Self-operation of WeChat platform I thin...
The trend of "involution" in the automo...
Before talking about the operation of an App , it...