docker-archive / deploykit

A toolkit for creating and managing declarative, self-healing infrastructure.
Apache License 2.0
2.25k stars 264 forks source link

Cache results from DescribeInstances #900

Closed chungers closed 6 years ago

chungers commented 6 years ago

This PR allows caching of results from DescribeInstances to reduce qps load on the backend. This is useful and is on by default for the resource plugin.

Signed-off-by: David Chung david.chung@docker.com

codecov[bot] commented 6 years ago

Codecov Report

Merging #900 into master will decrease coverage by 0.06%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #900      +/-   ##
=========================================
- Coverage   48.56%   48.5%   -0.07%     
=========================================
  Files          84      84              
  Lines        7837    7837              
=========================================
- Hits         3806    3801       -5     
- Misses       3721    3725       +4     
- Partials      310     311       +1
Impacted Files Coverage Δ
pkg/rpc/mux/server.go 42.7% <0%> (-5.21%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3653576...4520aac. Read the comment docs.