Features of mobile Internet system architecture

Source: Internet
Author: User

[ArticleAuthor: Sun Li link: http://www.cnblogs.com/sunli/ updated by: 2011-2-19]

Today, I attended the Baidu technology Salon held by infoq, "Analysis of basic mobile Internet technologies-wireless search and HTML5 development ", in the last open space session, I presided over the topic "characteristics of the mobile Internet system architecture". Now I will record some of the points of the discussion.

(1) concurrency

Compared with wired Internet, the network speed of mobile Internet is still in the narrow band period, and most network accesses are slow connections. A request takes longer network connection time than a request on the wired Internet. Under the same server QPS, the number of concurrent connections is higher than that in the wired Internet mode. Although the number of concurrent connections on the Web server is very easy to expand by adding machines, pay attention to this problem. Use Asynchronous Network I/O whenever possible.

(2) Traffic

Compared with the subscription billing method of wired Internet, mobile Internet users are basically limited by-traffic subscription mode, which is expensive. Users prefer low-traffic systems, which is the reason for the success of UC browser.

Therefore, in the system architecture, if the client browser supports gzip, try to compress the content as much as possible. For the app clientProgram, It is best to use compressed transmission content.

The web page content should be as concise as possible, URL connections should be compressed as much as possible, and baseurl should be omitted.

(3) Security

Online payment for wired Internet is currently very mature. When you make a payment, you can jump to a bank's website or client to make a payment, making users feel safe. However, the mobile Internet service may make payments through API, and users may feel insecure. In this way, some websites may also steal users' money. However, the bank can solve this problem through text message authentication.

The property loss caused by the loss of mobile phones may cause malicious payment. Then the report function is provided. A friend from Feixin said that Feixin could launch a mobile phone number to report the loss and solve the problem successfully.

(4) Speed Optimization

Because of the slow speed of the mobile network, the speed optimization should be paid more attention. For example, JavaScript and CSS files are merged.

Whether the interaction between the app and the server is accelerated using the custom protocol.

Network Operation Failure Handling.

(5) Compatibility

The mobile internet terminal type, screen resolution, and browser type are ever-changing. Even the same browser of a mobile phone can adapt to the screen mode and zoom mode. So many types make page compatibility development very difficult. There are usually dozens of mobile terminal testing machines in the company. Although some vendors provide such service testing services, it is not difficult for developers. For wired Internet websites, You Need To debug IE, Firefox, and chrome browsers.

(6) integration with wired Internet

Most websites are dominated by wired Internet, and mobile Internet versions are also released. However, the features of mobile versions are often reduced, leading to some missing features. Therefore, functions should be unified from the product perspective.

Therefore, the functions of wired Internet, mobile websites, and app clients are unified.

(7) Statistical Analysis

The user behavior analysis statistics of the app client software can be periodically sent to the server. The client collects user operations first, analyzes them, and periodically compresses the results and sends them to the server. Mobile websites can collect statistics by means of server logs and JS probes (only supported by mobile phones in WAP2.0.

(8) test environment simulation

Some people say that the company has developed an app client which is perfect for testing in the company. One day, when developers took out their cell phones on the train and used them on the subway, they found frequent crashes when the network was unstable. So how can we conduct a simulated test in this scenario?

(9) Monitoring of real user access speed

Although some vendors currently perform Speed monitoring and analysis on the mobile Internet over mobile networks. However, their points are basically fixed, which may be good signals. So what is the real user access speed of our applications? How can we make statistics?

According to the application type, some applications may be used at home, companies, and other places with WiFi and good signals. In many cases, some applications are used in poor signals, so the use of third-party monitoring is not completely reliable.

(10) demand changes are more frequent

Due to the characteristics of mobile businesses, real-time requirements for demand changes are higher. How can we quickly and efficiently implement demand changes without affecting system performance? This poses some challenges to mobile developers. Can I only work overtime?

Summary

The above figure shows the characteristics of the mobile Internet architecture compared with the wired Internet, most of which are the same as the wired Internet architecture, such as the database architecture and Storage Architecture.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.