qpack | Web Quality/Metric Development Essentials Extension Pack | Monitoring library
kandi X-RAY | qpack Summary
kandi X-RAY | qpack Summary
Web Quality/Metric Development Essentials Extension Pack for Visual Studio Cod
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of qpack
qpack Key Features
qpack Examples and Code Snippets
Community Discussions
Trending Discussions on qpack
QUESTION
In HTTP/3 QPACK there exists an instruction for duplicating an existing entry in the dynamic table; supposedly it is used to avoid adding reference to an older entry which may block inserting new entries.
However, I fail to see how this is helpful.
If the dynamic table does not contain enough room for a new entry without evicting other entries, and the entries that would be evicted are not evictable, the encoder MUST NOT insert that entry into the dynamic table (including duplicates of existing entries).
...To ensure that the encoder is not prevented from adding new entries, the encoder can avoid referencing entries that are close to eviction. Rather than reference such an entry, the encoder can emit a Duplicate instruction (Section 4.3.4), and reference the duplicate instead.
ANSWER
Answered 2020-Aug-10 at 16:18Duplication of the old entry makes a new copy of that table entry; it does not take a reference to the old entry. This allows for the old entry to age out (be evicted).
The Duplicate instruction achieves three goals:
- it allows the old entry to be evicted (covered above).
- it allows for the continuous use of the dynamic table rather than the inserting a new entry (copy of the old entry) again and potentially risking a blocked hearer; and
- duplicating an old entry is cheaper -- from the perspective of number of bytes needed to send over the network -- than insertion of a new entry; this improves compression performance.
The QPACK Internet Draft touches upon when issuing Duplicate instruction may be profitable. Choosing when and whether to issue a Duplicate instruction is an important decision which is likely to affect compression performance greatly. Each encoder will select its own strategy.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install qpack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page