简体   繁体   English

如何在Google Cloud上运行iOS应用程序,即使它缺乏对IPv6的支持

[英]How can you run iOS Apps on the Google Cloud even though it lacks support for IPv6

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 ). Apple的新应用商店政策已于6月1日生效,因此提交至App Store的所有应用必须支持仅限IPv6的网络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? 如何才能在Google Cloud Platform上托管仅支持IPv4的应用程序( https://cloud.google.com/compute/docs/networking )并仍然通过Apple的审核流程?

The server side of the app doesn't need to be reachable over IPv6 yet. 应用程序的服务器端不需要通过IPv6访问。 Most IPv6-only networks have a DNS64/NAT64 service to reach IPv4-only servers from IPv6-only clients. 大多数仅支持IPv6的网络都具有DNS64 / NAT64服务,可以从仅支持IPv6的客户端访问仅支持IPv4的服务器。

Take a look at RFC 6052 , RFC 6146 and RFC 6147 if you want to know more about the technology behind that. 如果您想了解更多有关背后技术的信息,请查看RFC 6052RFC 6146RFC 6147

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. 这当然会使您的应用程序依赖于丑陋的过渡机制,这些机制将(可能)降低客户的用户体验,因此确保您的服务器可通过IPv4和IPv6访问,这将使事情更好地运行。 Both Facebook and LinkedIn measurements show that user experience is better from mobile networks over IPv6. FacebookLinkedIn测量表明,移动网络优于IPv6的用户体验更好。 The performance improvements range from 10% to 40%, depending on the mobile network. 性能改进范围从10%到40%,具体取决于移动网络。

looks like this is the plausible solution: 看起来这是合理的解决方案:

https://cloud.google.com/compute/docs/load-balancing/ipv6 https://cloud.google.com/compute/docs/load-balancing/ipv6

but before using this solution, you should set up load balancing 但在使用此解决方案之前,您应该设置负载平衡

https://cloud.google.com/compute/docs/load-balancing/http/ https://cloud.google.com/compute/docs/load-balancing/http/

for setting up load balancing, you need to create the instance group 要设置负载平衡,您需要创建实例组

https://cloud.google.com/compute/docs/instance-groups/ https://cloud.google.com/compute/docs/instance-groups/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM