Apple tells app devs to use IPv6 as it’s 1.4 times faster than IPv4

Apple tells app devs to use IPv6 as it’s 1.4 times faster than IPv4

 9 total views

2020-06-30 20:31:24

Apple is encouraging builders to prioritize newer net applied sciences inside their iOS and macOS purposes.

In a short technical presentation on the WWDC 2020 convention final week, Apple shared some inside statistics within the hope of convincing app builders to undertake new net applied sciences and protocols, reminiscent of IPv6, HTTP/2, TLS 1.3, and Multipatch TCP.


One of many newer applied sciences that Apple would love builders to implement is IPv6, the following iteration of the IP protocol, set to exchange the older IPv4 model.

“Apple platforms have had native IPv6 assist for quite a lot of years, together with assist for IPv6-only networks,” mentioned Jiten Mehta, Web Applied sciences Engineer at Apple.

“There was a rising pattern of IPv6 utilization on the web. If we have a look at the final month of connections made worldwide by Apple units, we see that IPv6 now accounts for 26% of all connections made,” Mehta added. “20% of the time, the connection may have used IPv6, however the server did not have it enabled.

“And when IPv6 is in use, the median connection setup is 1.Four instances quicker than IPv4. That is primarily on account of decreased NAT utilization and improved routing.”



One other know-how that Apple is attempting to get app builders to undertake is HTTP/2, the present and newest model of HTTP, the protocol used to load web sites on the web.

Mehta mentioned that within the final month, round 79% of all net pages loaded in Safari have been loaded by way of an HTTP/2 connection, which have been often 1.eight instances quicker to load than the older HTTP/1.1 connections.


Apple says that writing apps that work on prime of IPv6 and HTTP/2 is now simpler than ever. All that app builders should do is to make use of the most recent variations of the corporate’s networking APIs — reminiscent of URLSession and Network.framework — which can assure the apps will work on IPv6 and HTTP/2 by default, with fallbacks to older protocols, when wanted.

Moreover, Apple can be wanting forward. The corporate can even add experimental assist in macOS 11 and iOS 14 — set to be launched this fall — for HTTP/3, the following main model of the HTTP protocol, at the moment present process standardization on the IETF (Web Engineering Job Pressure).

TLS 1.Three assist is, nevertheless, disabled by default, and is barely included on Apple units for experimental functions — with customers/app devs being required to flip a change for it to work.


TLS 1.3

As well as, Mehta additionally reported excellent news on the safety entrance, the place the newer TLS 1.3 safety protocol has been broadly deployed after the corporate added assist for it in iOS 13.4 (November 2019).

Mehta mentioned that over the previous month, 49% of all HTTPS community connections on fashionable Apple units have been working TLS 1.3, the place HTTPS connections have been being established 1.Three instances quicker than connections dealt with by way of the older TLS 1.2.


Multipath TCP

And the ultimate community know-how that Apple hopes app builders selected to assist is Multipath TCP, an extension of the Transmission Management Protocol (TCP) that permits connections to make use of a number of community paths to load the identical information.

Mehta mentioned Apple makes use of this know-how to permit apps to proceed working with out glitches at the same time as customers change their web community.

At Apple, Mehta mentioned the corporate has had “nice success” utilizing this new know-how for Apple Music, the place the corporate reported a 13% discount in stream stalls and a 22% discount in stream stall length, because the Apple Music service was capable of operate with out re-starting downloads when customers modified networks.

Final week, on the similar WWDC 2020 convention, Apple additionally announced full support for encrypted DNS on iOS and macOS, with plans to assist DNS-over-HTTPS and DNS-over-TLS beginning macOS 11 and iOS 14.

Supply Hyperlink

Leave a Reply