Envoy: health check filter: cache response body

Created on 1 Jun 2018  路  5Comments  路  Source: envoyproxy/envoy

Currently the health check filter only caches the status code of health checks. It would be nice to be able to cache the entire response body to allow other clients that might care about the body go through envoy and the health checking filter.

enhancement help wanted

Most helpful comment

FYI I am working on a design for a general caching infrastructure for Envoy. Health-check caching could be an interest application beyond general http response caching.

Color me subscribed to this; maybe we can collaborate if we you are still interested.

All 5 comments

@mattklein123 Someone to do it?If not I'd be glad to

Sure @zyfjeff feel free to work on it.

FYI I am working on a design for a general caching infrastructure for Envoy. Health-check caching could be an interest application beyond general http response caching.

Color me subscribed to this; maybe we can collaborate if we you are still interested.

@jmarantz I am interested the "a general caching infrastructure for Envoy". I am looking for (or need to create) an AuthZ filter, which either accepts or denies the incoming request based on a set of policies; the AuthZ policy data is cached locally and updated periodically from external source. But based on envoy thread model: "Once a connection is accepted by a listener, the connection spends the rest of its lifetime bound to a single worker thread", how can this AuthZ filter running at different worker threads share same policy data? So, I guess your caching feature is what is needed. Can you share your thought or design if it is okay?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anatolebeuzon picture anatolebeuzon  路  3Comments

vpiduri picture vpiduri  路  3Comments

lps0535 picture lps0535  路  3Comments

sabiurr picture sabiurr  路  3Comments

rshriram picture rshriram  路  3Comments