Repository navigation
Use global LRU cache for layer sizes - #11558
Conversation
8c519b9 to
1cf021e
Compare
|
What performance improvement does this yield? A quick benchmark would be helpful to set context. |
|
I cannot disagree with having the benchmark. The PR looks good to me though. |
|
For this I'd ask you to create a reusable benchmark that is somewhat relevant that exposes that this does improve the problem. |
Signed-off-by: Gladkov Alexey <[email protected]>
1cf021e to
4354f1f
Compare
|
@smarterclayton @miminar I added a test showing that an additional requests are not happening to already loaded layers. This means that the cache will reduce the number of network requests in case of import the converted images (v2 -> v1). |
|
[test] |
|
Evaluated for origin test up to 4354f1f |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10721/) (Base Commit: 125ed10) |
|
Great, thanks. |
|
Any other comments? Otherwise this LGTM |
|
[merge] On Thu, Oct 27, 2016 at 2:44 PM, Michal Minář [email protected]
|
|
Evaluated for origin merge up to 4354f1f |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10721/) (Base Commit: 6c62ba0) (Image: devenv-rhel7_5263) |
Fix #9779
@miminar please review.