HTTP/3

 HTTP/3

The announcement of HTTP/3 at the start of November 2018 may have come as a surprise for a lot of us.

Indeed, compared to the 18 years that separated HTTP/1.1 et HTTP/2, this announcement comes only 4 years after the release of HTTP/2.

But the biggest surprise is under the hood, with a replacement of the transport layer.

In this talk, we will explain why this version 3 of the HTTP protocol has been designed, especially around the latency topic.

We will cover as well how technically this version works, and what it will bring to our applications, and what are the challenges, that us, DevOps, we will need to address, in order to fully benefit from this version.

6648bd4390fba79c9baa6045e58fa337?s=128

Benoit Jacquemont

June 07, 2019
Tweet

Transcript

  1. 1.

    HTTP/3 HTTP/3 It's All About The Transport! It's All About

    The Transport! Benoit Jacquemont Benoit Jacquemont @bjacquemont @bjacquemont
  2. 6.
  3. 7.
  4. 8.
  5. 9.
  6. 10.
  7. 11.
  8. 12.
  9. 13.
  10. 14.
  11. 15.
  12. 16.
  13. 19.
  14. 20.

    Chappe Telegraph A B C D E F Volume of

    data: 7 bit (92 symbols) Transport: light Speed: 3 symbols per minute
  15. 21.
  16. 22.
  17. 24.

    Truck Full Of SSD Transport: 15 TB SSD in a

    container Volume of data: 3 exabyte, aka 3 millions of TB (200k disks)
  18. 25.
  19. 26.
  20. 27.

    SSD Truck Performances Latency: 40 minutes (30 km at 50

    km/h average) Bandwidth: 10 Petabit/s (or 10.000 Tb/s)
  21. 29.

    Bandwidth And Latency Evolution Medium Bandwidth Latency 56k modem 40

    Kbit/s 150ms ADSL 18 Mbit/s 50ms Optical Fiber 200 Mbit/s 10ms Bandwidth: 5000x Better Latency: 15x Better
  22. 30.
  23. 31.

    Should I Care About Latency? The 3 Important Time Limits

    In UX Source: Jakob Nielsen, "Usability Engineering" 1993; Miller 1968 0.1s: instantaneous feeling limit 1s: ow of thought limit 10s: user attention limit Latency Is The #1 Enemy Of Web UX!
  24. 33.
  25. 34.
  26. 35.
  27. 36.
  28. 37.
  29. 38.
  30. 39.
  31. 40.
  32. 41.
  33. 42.
  34. 43.
  35. 44.
  36. 45.
  37. 48.

    Initiator Receiver SYN ACK SYN-ACK Client Hello Server Hello Client

    Key Exchange Server Finished Client Finished HTTP Request HTTP Response TCP TLS HTTP Time
  38. 54.
  39. 55.
  40. 56.
  41. 57.
  42. 58.
  43. 59.
  44. 60.
  45. 61.
  46. 62.
  47. 63.
  48. 64.
  49. 65.
  50. 66.
  51. 67.
  52. 68.
  53. 69.
  54. 73.
  55. 74.
  56. 75.
  57. 76.
  58. 77.
  59. 78.
  60. 79.
  61. 80.
  62. 81.
  63. 82.
  64. 83.
  65. 84.
  66. 86.
  67. 87.
  68. 88.
  69. 89.
  70. 90.
  71. 91.
  72. 92.
  73. 93.
  74. 94.
  75. 97.
  76. 98.
  77. 99.
  78. 100.
  79. 101.
  80. 102.
  81. 103.
  82. 104.
  83. 105.
  84. 106.
  85. 107.
  86. 108.
  87. 109.
  88. 110.
  89. 111.
  90. 112.
  91. 113.
  92. 114.
  93. 116.
  94. 117.
  95. 118.
  96. 119.
  97. 120.
  98. 121.
  99. 122.
  100. 123.
  101. 124.
  102. 125.
  103. 126.
  104. 127.
  105. 128.
  106. 129.
  107. 130.
  108. 131.
  109. 132.
  110. 133.
  111. 134.
  112. 135.
  113. 137.

    HTTP/3: What's In It For Me? HTTP/3 = QUIC HTTP/3

    doesn't change HTTP/2 semantics HTTP/3 is mostly a drop-in replacement for HTTP/2 Main (only?) change for web dev: streams priority Code for HTTP/2 and bene t from HTTP/3 when it's out!
  114. 139.
  115. 140.
  116. 141.
  117. 142.
  118. 143.
  119. 144.
  120. 145.
  121. 146.
  122. 147.
  123. 148.
  124. 149.
  125. 150.
  126. 151.
  127. 152.
  128. 153.
  129. 154.
  130. 155.
  131. 156.
  132. 157.
  133. 158.
  134. 159.
  135. 160.
  136. 161.
  137. 162.
  138. 163.
  139. 164.
  140. 165.

    QUIC Maturity Enabled by default in Chromium since 2013 Enabled

    on Chrome for Google web servers Ongoing standardisation by IETF 7 November 2018: rst interop connection between LiteSpeed and Facebook tools.ietf.org/html/draft-ietf-quic-http-24
  141. 166.

    HTTP/3 Key Takeaways QUIC latency is far better than TCP+TLS

    HTTP/3 allows HTTP/2 to meet its full potential Final HTTP/3 release date not yet de ned... ... but already battle tested Still a lot of work to make it happen