You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we want to use http2 to encode headers to optimise data transport.
as DefaultHttp2HeadersEncoder HeaderTableSize default 4096
when we add headers size over 4096 can not be compression in grpc
io.netty.handler.codec.http2.HpackEncoder#ensureCapacity
size over 4096 will note be compress
and for grpc server i can not find any way to config thsi properties
The text was updated successfully, but these errors were encountered:
"content type" is over 4 KiB in size? How is it so large? Are you saying you are sending something in the headers instead of a message so that you can use HPACK's window? How often is the value identical between requests?
Increasing the table size increases the memory used for the connection for the life of the connection, even when it is idle.
"content type" is over 4 KiB in size? How is it so large? Are you saying you are sending something in the headers instead of a message so that you can use HPACK's window? How often is the value identical between requests?
Increasing the table size increases the memory used for the connection for the life of the connection, even when it is idle.
some trace context parameter,which will be pass all over the route。
in our situation,header over 4kib may be a normal request。
if can be compress it may be a significantly enhance.
(1) can still be applied to the 4 KiB header. (2) only helps if the same identical value is used for multiple requests. So it is important whether the value is identical between requests. If the value varies, then just getting huffman encoding is fine.
we want to use http2 to encode headers to optimise data transport.
as DefaultHttp2HeadersEncoder HeaderTableSize default 4096
when we add headers size over 4096 can not be compression in grpc
and for grpc server i can not find any way to config thsi properties
The text was updated successfully, but these errors were encountered: