Progress of HTTP/2 implementation for ATS and future work
description
Transcript of Progress of HTTP/2 implementation for ATS and future work
Progress of HTTP/2 impland future work
Yahoo Japan Corporation
Ryo Okubo
Agenda
• The story of HTTP/2 impl and
progress
• Future work
• How to backpost to an origin server
• Discussion
The story of HTTP/2 impl
• TS-2729
• Initial patch used nghttp2 (obsoleted)
• Current patch doesn’t depends on
this (WIP)
Progress
• Opening/closing HTTP/2 sessions
– Already merged
• Handling HTTP/2 requests and responses
– Implemented as prototype
Y! Japan web page with HTTP/2
// Above screenshot was taken in experimental environment
How to use current patches
• Get and apply a patch attached on TS-2729
– h2_prototype.patch
• Build ATS as usual
• Enable https
• Access the ATS with HTTP/2 client
– nghttp, Chrome Canary, Firefox Nightly
Demo
Future work
• Rethinking how to handle
backposting
• Debugging, refactoring and testing
• Implementing rest of essential
features
How to backpost with HTTP/1.1?
• Use FetchSM?
• Use HttpSM directly?
• I’d like to use FetchSM at first
– Redesign and migrate to HttpSM in
future
FetchSM
• SPDY code uses it
• Simple and easy solution
• But, it has a little overhead
– e.g. memcpy()
HttpSM
• It can reduce overhead
• But, HttpSM needs some modification
– Redesign?
– Or add interfaces for backposting?
Discussion points
• How to backpost
– FetchSM, HttpSM, etc
• Release schedule
• Another topics
End of Slides
• Please give me advices if any
– IRC nickname: rokubo (rokubo_)