akka/akka-http

Http2: Optimize HPACK header encoding for high entropy headers

Ouverte

#2 892 ouverte le 16 janv. 2020

 (1 commentaire) (0 réaction) (0 personne assignée)Scala (598 forks)batch import
1 - triagedhackathonhelp wantedt:coret:http2t:performance

Métriques du dépôt

Stars
 (1 311 étoiles)
Métriques de merge PR
 (Merge moyen 1j 10h) (2 PRs mergées en 30 j)

Description

As @surendarchandra noticed, our HPACK header tries to encode as many header values as possible into dynamic table entries. The effect can be that high entropy headers like Date or Content-Length evict more useful headers from the dynamic table.

The HPACK implementation from twitter that we use, allows to pass the sensitive flag to encodeHeader which prevents that the values are put into the dynamic table. We should consider to encode high entropy header using the sensitive flag for better use of the dynamic header table.

Guide contributeur