istio / old_mixer_repo

Deprecated home of Istio's Mixer and its adapters, now in istio/istio's mixer dir
https://github.com/istio/istio/tree/master/mixer
Apache License 2.0
67 stars 93 forks source link

Add support for Check result caching #1474

Open geeknoid opened 7 years ago

geeknoid commented 7 years ago

Introduce a cache in Mixer to elide calls into adapters for CHECK variety adapters. We can cache evaluation results based on the input instances given to the adapter. This supports need to be configurable per adapter (on/off, cache size, TTL).

Additionally, or instead of, we could put a cache higher up in the pipeline that's based on input attributes. Based on the set of incoming attributes to Mixer, we can promptly respond to Check calls.

We should measure the effectiveness of either approach and decide if either or both are desirable.