Rethinking the design of the app by "8 Myths of Distributed Systems" eighth fallacy 8: Network configuration is similar

Source: Internet
Author: User

Fallacy 8: The network configuration is similar.

Mobile devices are always unexpected, relative to web openness. For an application, it is possible that most users are in a similar network configuration. Unfortunately, this assumption can lead to some problems in some cases.

Similar to fallacy 6, not all networks have the same configuration. For example, some WiFi networks allow point-to-point communication between devices, some of which are not supported. Making mobile apps communicate with other devices (for example, with desktop software) can be difficult, even if they're in the same network. TN2152 "Some policies for transferring files" briefly summarizes the technologies that communicate between some devices and between remote services.

A Web service may have been developed for the first time in order to use it for iOS apps, even though it won't be too difficult to open apps for other devices later. The service may therefore need to provide a variety of data formats, the client can also choose to receive the data type (Xml,json), anyway, how convenient. Binary and attribute data formats are difficult to parse across multiple devices. This is not a big deal for services that revolve around a core server, because it provides the client with the data format that it needs and can interpret different types of data. But for applications that need to provide point-to-point communication (for example, Gamekit), an iOS app communicates with an Android app, or a different version of the app, which can be a big hassle.

Original address: http://blog.carbonfive.com/2010/12/06/iphone-distributed-computing-fallacy-8-the-network-is-homogeneous/

Translator Summary: Lasted 8 days finally put this "masterpiece" translation completed, a good temper under their perseverance. This article has very good usability, now there are not many single-machine apps, more or less need to communicate in the network, this series of articles pointed out a lot of app development in the pit. Of course, I think this series of content also need to add more, not to see these all can make a silky-like app.

The more you learn, the faster you learn and the more you do. The speed of development is increased by efficiency rather than overtime.

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" eighth fallacy 8: Network configuration is similar

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.