commit | 48bcbe692ae7172479e8d71a91d1c779577186c9 | [log] [tgz] |
---|---|---|
author | Masaori Koshiba <masaori@apache.org> | Mon Jan 20 13:57:53 2020 +0900 |
committer | Masaori Koshiba <masaori@apache.org> | Fri Jan 24 13:31:24 2020 +0900 |
tree | 9d5257f3cbac393e54a8b8cb79e99ebd61ad432f | |
parent | aa27feaae844d211313e9209a4494eb3c9c6c2b4 [diff] |
Perf: Optimize sending HTTP/2 frame Prior to this change, HTTP/2 was almost 30% slower than HTTP/1.1 (over TLS) on downloading a huge file (over 1GB). Improvements: - Avoid unnecessary IOBufferBlock allocation for all type of frame - Avoid unnecessary copy on sending DATA frame - Adjust IOBufferBlock size of Http2ClientSession::write_buffer Cleanups: - Decouple receiving & sending HTTP/2 Frame - Remove unnecessary SCOPED_MUTEX_LOCK