NGINX structural enhancements for HTTP/2 performance

Click for: original source

The blog post from pen of Nick Jones published on cloudflare.com. It is about experience of his team which deals with features related to: TCP, QUIC, TLS and Secure Certificate management, HTTP/1 and HTTP/2. They were responsible for implementing the Enhanced HTTP/2 Prioritization product.

They had a number of interesting realisations about NGINX: the HTTP oriented server onto which Cloudflare currently deploys its software infrastructure. We quickly became certain that our Enhanced HTTP/2 Prioritization project could not achieve even moderate success if the internal workings of NGINX were not changed.

Enhanced HTTP/2 Prioritization aims to do one thing to web traffic flowing between a client and a server: it provides a means to shape the many HTTP/2 streams as they flow from upstream (server or origin side) into a single HTTP/2 connection that flows downstream (client side).

Write queue construction in NGINX Source: https://blog.cloudflare.com/nginx-structural-enhancements-for-http-2-performance/

The article then dives in some detail into:

  • Identification of some key pain points in NGINX
  • HTTP/2 frame write queue reclamation
  • HTTP/2 frame write event re-ordering
  • Upstream buffer partial re-use
  • TLS layer Buffering

The team is eager to share cloudflare modifications to NGINX with the community, so they have opened this ticket, through which they will discuss upstreaming the event re-ordering change and the buffer partial re-use change with the NGINX team.

Good information please follow the link to original article to learn more!

[Read More]

Tags nginx performance web-development