Apple encouraged iOS and macOS app developers to favor new web technologies. During a short presentation at WWDC 2020 June 22-26, Apple revealed some internal statistics to convince developers to use new technologies and protocols such as IPv6, HTTP / 2, TLS 1.3 and Multipatch TCP.
According to Apple Internet Technology Engineer Jiten Mehta, the popularity of IPv6 (the next version of the IP protocol after IPv4) is gradually growing. For example, in May 2020, IPv6 accounted for 26% of all connections on Apple devices. In 20% of cases, IPv6 connectivity was possible, but the protocol was not enabled on the server.
“With IPv6, the medial connection speed is 1.4 times faster than IPv4. This is mainly due to less use of NAT and improved routing, ”Mehta said.
According to Mehta, in May 2020, about 79% of all web page downloads in Safari were over HTTP / 2. The new version of the protocol provides page loading 1.8 times faster than HTTP / 1.1.
According to the company, now creating applications running on top of IPv6 and HTTP / 2 has become easier than ever – developers just need to use the latest versions of Apple’s network APIs. With URLSession and Network.framework, developers can be sure that their applications work by default on top of IPv6 and HTTP / 2 with the ability to switch to older versions if necessary.
Among other things, Apple is testing on macOS 11 and iOS 14, which should be released this fall, support for HTTP / 3. This protocol is the next version of HTTP currently undergoing standardization by the Internet Engineering Council (IETF).
So far, HTTP / 3 is deactivated by default and implemented on Apple devices for experimental purposes only. In order to use it, developers and users must enable it manually.
As Mehta noted, in May 2020, 49% of all HTTPS connections on modern Apple devices occurred using TLS 1.3. Compared to TLS 1.2, the new version of the protocol allows you to establish an HTTPS connection 1.3 times faster.
Another networking technology Apple is calling for is Multipath TCP, an extension for the Transmission Control Protocol (TCP) that allows you to transfer the same data across multiple network paths. The company uses it in its Apple Music service, due to which it was able to reduce interruptions in streaming audio by 13% and reduce the duration of “freezing” music by 22%.