Skip to Content
Web Caching
book

Web Caching

by Duane Wessels
June 2001
Intermediate to advanced
320 pages
9h 18m
English
O'Reilly Media, Inc.
Content preview from Web Caching

Message Format

A Cache Digest message consists of a fixed 128-octet header (see Figure E-3 followed by a variable-sized Bloom filter. The header definitions are as follows:

Cache Digest header

Figure E-3. Cache Digest header

CURRENT

This is the version number of the digest. The CURRENT version number is incremented whenever a significant feature is added to the Cache Digest protocol. When the digest recipient decodes a message, the CURRENT value indicates which protocol features are included.

REQUIRED

This is the minimum version number required to correctly interpret the digest message. In other words, this specifies the last version this message is backward-compatible with. It can also be used to “eliminate” serious bugs. If a bug is found with the Version X implementation, a sender can set the REQUIRED value to X+1. Then, all buggy implementations that support only Version X are forced to ignore the cache digest message.

CAPACITY

This is an estimate of the number of objects for which the digest was built. It is in the header for informational purposes only. A digest user does not need to know the CAPACITY to decode the digest.

COUNT

This is the actual number of objects encoded by this digest. It may be larger or smaller than CAPACITY. This value also is not needed to decode the digest.

DEL_COUNT

This is a counter that tracks the number of objects removed from the cache since the digest was last created. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

How Netflix scales microservices with application data caching

How Netflix scales microservices with application data caching

Scott Mansfield
Web Caching and Replication

Web Caching and Replication

Michael Rabinovich, Oliver Spatscheck
NGINX Cookbook

NGINX Cookbook

Tim Butler

Publisher Resources

ISBN: 156592536XCatalog PageErrata