即使谷歌云缺乏对 IPv6 的支持,你如何在谷歌云上运行 iOS 应用程序 [英] How can you run iOS Apps on the Google Cloud even though it lacks support for IPv6

查看:31
本文介绍了即使谷歌云缺乏对 IPv6 的支持,你如何在谷歌云上运行 iOS 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple 的一项新应用商店政策已于 6 月 1 日生效,提交到 App Store 的所有应用都必须支持仅 IPv6 网络(https://developer.apple.com/news/?id=05042016a).如何在仅支持 IPv4 的 Google Cloud Platform 上托管应用程序 (https://cloud.google.com/compute/docs/networking) 并且仍然通过 Apple 的审核流程?

A new app store policy by Apple has taken effect on June 1 so that all apps submitted to the App Store must support IPv6-only networking (https://developer.apple.com/news/?id=05042016a). How is it possible to host an app on Google Cloud Platform that only supports IPv4 (https://cloud.google.com/compute/docs/networking) and still passes Apple's review process?

推荐答案

应用的服务器端还不需要通过 IPv6 访问.大多数纯 IPv6 网络都有 DNS64/NAT64 服务,可从纯 IPv6 客户端访问纯 IPv4 服务器.

The server side of the app doesn't need to be reachable over IPv6 yet. Most IPv6-only networks have a DNS64/NAT64 service to reach IPv4-only servers from IPv6-only clients.

看看RFC 6052RFC 6146RFC 6147 如果您想了解更多有关其背后的技术.

Take a look at RFC 6052, RFC 6146 and RFC 6147 if you want to know more about the technology behind that.

这当然会使您的应用程序依赖于丑陋的转换机制,这会(可能)降低您客户的用户体验,因此确保您的服务器可通过 IPv4 和 IPv6 访问将使事情变得更好.FacebookLinkedIn 测量表明用户体验移动网络优于 IPv6.性能提升幅度从 10% 到 40% 不等,具体取决于移动网络.

This of course does make your application dependent on ugly transition mechanisms which will (probably) lower the user experience of your customers, so making sure that your servers are reachable over both IPv4 and IPv6 will make things work better. Both Facebook and LinkedIn measurements show that user experience is better from mobile networks over IPv6. The performance improvements range from 10% to 40%, depending on the mobile network.

这篇关于即使谷歌云缺乏对 IPv6 的支持,你如何在谷歌云上运行 iOS 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆