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
Image source: Unsplash When you have just finishe...
As more and more brands begin to use Xiaohongshu ...
Holidays are definitely the golden period for mar...
Friends who are new to Baidu bidding may have hea...
As soon as the Equity Crowdfunding Financing Mana...
Recently, Huang Chao, a doctoral student born in ...
Although the critical temperature of La3Ni2O7 has...
Recently, Xiao Nei saw a piece of news that made ...
Audit expert: Zheng Yuanpan, professor at Zhengzh...
In the field of two-dimensional video, Station A ...
More and more people in the circle of friends hav...
Eyes are the windows to the soul. Once you are ne...
On the first day of the 2024 Zhuhai Air Show, my ...
Paper may seem fragile, but it can attack your fi...
"Most beautiful things are not solid, colorf...