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
Baidu search engine promotion is still the domina...
Which virtual host data storage rental hosting se...
What kind of advertising is considered a "go...
"For us, although we have to thank the TikTo...
WeChat announced that the monthly revenue of seve...
Every time there is a holiday, every time a star ...
Contains 28 Crayon Shin-chan theatrical animations...
[[390997]] 01 Record screen and audio at the same...
1. Review of the national passenger car market in...
With the continuous efforts of domestic automaker...
The famous thinker and philosopher Bacon once sai...
Spinach, once left deep childhood memories for ma...
The epidemic continues in various places This gav...
Recently, Apple released iOS14 at the 2020 Worldw...
When I first started working with the Android dat...