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
As March approaches, the final negotiations on th...
For some new sites, sometimes we publish articles...
Review expert: Wang Guoyi, Postdoctoral Fellow in...
Today's article is the fifth in the series of...
How much does it cost to develop a cake shop WeCh...
As competition in the Internet TV industry contin...
Recently, two primary school students in Tianjin ...
The causal logic of the capital winter must be ma...
If you think "Flappy Bird" and "204...
[[133967]] Consumers who are familiar with comput...
Mixed Knowledge Specially designed to cure confus...
Recently, it was reported online that Zhiji had l...
In order to save his/her affection, would you com...
The most important thing for user-oriented produc...
Many times, the most effective marketing is to ma...