envoyproxy/envoy

CacheFilter: Handle slow cache insertion

Open

#10,022 opened on Feb 12, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
area/cachehelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

CacheFilter currently assumes that caches can accept inserts much faster than clients can accept responses. This should be true for reasonable deployments, but CacheFilter should handle caches that are too slow to accept inserts. If a cache is slow enough, insertion should be abandoned.

Contributor guide