Skip to main content

Module post_bundle_feedback_caching

Module post_bundle_feedback_caching 

Source
Expand description

§Post-bundle feedback read cache

Sister of crate::server::post_bundle_caching for the feedback layer. One key difference: feedback is pre-merged by the client before it arrives at the server, so the cache stores a single canonical entry per location_id instead of one per originator. This also means the cached value is typically much smaller (~8 KB placeholder weight vs. the post-bundle cache’s 4 MB), so more entries fit into the same memory budget.

Cache-request token issuance and the hit-count heuristic work identically to the post-bundle cache, so hot feedback gets gossiped out in the same way hot bundles do.

Structs§

PostBundleFeedbackCache
Intermediate-server cache for EncodedPostBundleFeedbackV1 data.