Rethinking the design of the app by "8 Myths of Distributed Systems" third fallacy 3: Bandwidth is infinite

Source: Internet
Author: User

Bandwidth is not unlimited, and it is expensive. It's not easy to understand that downloading large amounts of data can be a long-consuming problem.

1, an app with more than 20MB is not likely to be installed via the mobile network: take part in Apple's official App Market Review Handbook.

2, if your app is needed to play video, then more than 10 minutes of video, and five minutes long video file larger than 5MB, I recommend using real-time video streaming scheme. The first way to download and watch is only for short videos.

With real-time video streaming through the web, you need at least one 64kbps of video streaming to support even lower bandwidth. (Low-bandwidth streaming files mean only sound, or sound with a static picture).

3, the audio stream content generally does not exceed 5MB/5 minutes.

Most users ' mobile phone traffic is limited, so your app needs to use the total bandwidth is definitely a big problem.

The network is unreliable and intermittent, for large requests that take some time to complete (translators: Requests that require a lot of data to participate in the calculation, which can take the server some time to process), are likely to handle failures. If your app doesn't resume, it's likely to transfer the previous 80% data again, or disconnect it, or start over again.

Users are also unreliable, they will close the app, or put the app back in the background, and this time the app may be transferring data.

Testing: Setting up a test environment for various bandwidths

I used Charles to create jittery network bandwidth to test the performance of the app in low-bandwidth situations.

The Settings feature on the iphone provides a simple tool (set-up, general-purpose usage) to measure the bandwidth usage of your phone;

Original link: http://blog.carbonfive.com/2010/11/22/iphone-distributed-computing-fallacy-3-bandwidth-is-infinite/

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Rethinking the design of the app by "8 Myths of Distributed Systems" third fallacy 3: Bandwidth is infinite

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.