Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Progress of HTTP/2 impl 
and 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 (WI...
Progress 
• Opening/closing HTTP/2 sessions 
– Already merged 
• Handling HTTP/2 requests and responses 
– Implemented as ...
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 
• Ena...
Demo
Future work 
• Rethinking how to handle backposting 
• Debugging, refactoring and testing 
• Implementing rest of essentia...
How to backpost with HTTP/1.1? 
• Use FetchSM? 
• Use HttpSM directly? 
• I’d like to use FetchSM at first 
– Redesign and...
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_)
Upcoming SlideShare
Loading in …5
×

Progress of HTTP/2 implementation for ATS and future work

5,299 views

Published on

This slide was used on HTTP/2 session of Fall 2014 ATS Summit (https://cwiki.apache.org/confluence/display/TS/Fall+2014+Summit).

2014 年秋の ATS (Apache Traffic Server) Summit の HTTP/2 セッションで用いた発表資料です。

  • Dating direct: ❶❶❶ http://bit.ly/36cXjBY ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Follow the link, new dating source: ❤❤❤ http://bit.ly/36cXjBY ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Progress of HTTP/2 implementation for ATS and future work

  1. 1. Progress of HTTP/2 impl and future work Yahoo Japan Corporation Ryo Okubo
  2. 2. Agenda • The story of HTTP/2 impl and progress • Future work • How to backpost to an origin server • Discussion
  3. 3. The story of HTTP/2 impl • TS-2729 • Initial patch used nghttp2 (obsoleted) • Current patch doesn’t depends on this (WIP)
  4. 4. Progress • Opening/closing HTTP/2 sessions – Already merged • Handling HTTP/2 requests and responses – Implemented as prototype
  5. 5. Y! Japan web page with HTTP/2 // Above screenshot was taken in experimental environment
  6. 6. 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
  7. 7. Demo
  8. 8. Future work • Rethinking how to handle backposting • Debugging, refactoring and testing • Implementing rest of essential features
  9. 9. 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
  10. 10. FetchSM • SPDY code uses it • Simple and easy solution • But, it has a little overhead – e.g. memcpy()
  11. 11. HttpSM • It can reduce overhead • But, HttpSM needs some modification – Redesign? – Or add interfaces for backposting?
  12. 12. Discussion points • How to backpost – FetchSM, HttpSM, etc • Release schedule • Another topics
  13. 13. End of Slides • Please give me advices if any – IRC nickname: rokubo (rokubo_)

×