K

Kazuho Oku

blog.kazuhooku.com · Personal blog · on HN since 2013

Kazuho Oku, author of the H2O HTTP server, writes about HTTP/2 performance, parsers, sprintf optimization and libuv.

What HN saysHN commenters cite him on HTTP/2 push and cache awareness, and praise his qrintf sprintf-optimizing compiler as a neat find.
20HN people shared it
4linked it in comments
25stories submitted
475story points
4 years agolast shared
2013people per year2026

Most-shared posts

  1. 1
    The reasons I stopped using libuv
    4 people · 22 points · first shared 2014 · 1 comments on HN
  2. 2
  3. 3
  4. 4
    H2O HTTP/2 server 2.0.1 / 2.1.0-beta1 released
    2 people · 5 points · first shared 2016 · 1 comments on HN
  5. 5
  6. 6
    H2O 1.4.0 released with support for forward secrecy
    1 people · 40 points · first shared 2015 · 5 comments on HN
  7. 7
    Improving Parser Performance Using SSE Instructions
    1 people · 38 points · first shared 2014 · 7 comments on HN
  8. 8
    H2O Author: I joined Fastly
    1 people · 9 points · first shared 2017 · discussion on HN
  9. 9
    Show HN: The JSON SQL Injection Vulnerability
    1 people · 4 points · first shared 2014 · discussion on HN
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
    H2O version 2.1.0
    1 people · 2 points · first shared 2017 · discussion on HN

What HN people wrote when they linked it

foobarbazetc · 2018-04-25
The main problem with http2 push and why it’s pointless is that it’s not cache aware. So you’re pushing unrequested data to everyone regardless. h2o tries to solve this problem with a special cookie. More here: http://blog.kazuhooku.com/2015/12/optimizing-performance-of-multi-tier… But without something like that it’s a feature that will never really gain traction.
jdblair · 2017-03-03
The most interesting thing I learned from this article is the sprintf() pre-compiler (http://blog.kazuhooku.com/2014/10/announcing-qrintf-and-qrintf-gcc.htm… That's awesome. The rest, well, its a helpful check on over enthusiasm to be familiar with the shortcomings of UNIX. By dint of its popularity, diversity and long lineage, UNIX and its derivatives are particularly rich in warts. Yet, I think it must be true of all real-world operating systems with a long life that cruft, workarounds and ossified bad ideas accumulate.
rakoo · 2018-04-25
That's the thing, it doesn't. HTTP2 Push is one of the big "open field" of HTTP2, and to know whether a document needs to be pushed will rely on good heuristics and black magic. There is however a small standard that's emerging, pioneered by h2o, called casper (https://h2o.examp1e.net/configure/http2_directives.html#http2-casper). The idea is that all resources ever sent to the client are stored in a probabilistic data structure in a cookie. On every request the structure is sent back to the server, which can then check whether the resource has good chances to be already known by the browser. By the way there are some benchmarks done by h2o's author here: http://blog.kazuhooku.com/2015/10/performance-of-http2-push-and-server… The conclusion is all yours.

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close