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
Recently, there is a popular saying on the Intern...
Produced by: Science Popularization China Produce...
“Be an emotionally stable person” Gradually becom...
As a powerful means to attract users, flash sale ...
Be a long-termist and try to maximize the experie...
Today I bring you the latest traffic rankings of ...
After reading this article, I hope you can improv...
Apple has once again released a beta version of i...
On July 4, Threads, a Twitter competitor develope...
Youliang Advertising is an advertising product th...
[[131851]] Beijing time, April 15th morning news,...
What you sell on Douyin is not important, how you...
A new report says Apple may be considering bringi...
In every recent update of WeChat, there is no spe...
Recently, Pechoin ’s amazing advertisement was al...