Skip to content

Use global LRU cache for layer sizes - #11558

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
legionus:cache-layers-size-globally
Oct 28, 2016
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
legionus:cache-layers-size-globally

Conversation

@legionus

Copy link
Copy Markdown
Contributor

Fix #9779

@miminar please review.

@legionus
legionus force-pushed the cache-layers-size-globally branch from 8c519b9 to 1cf021e Compare October 25, 2016 14:51
@smarterclayton

Copy link
Copy Markdown
Contributor

What performance improvement does this yield? A quick benchmark would be helpful to set context.

@miminar

miminar commented Oct 26, 2016

Copy link
Copy Markdown

I cannot disagree with having the benchmark. The PR looks good to me though.

@smarterclayton

Copy link
Copy Markdown
Contributor

For this I'd ask you to create a reusable benchmark that is somewhat relevant that exposes that this does improve the problem.

@legionus
legionus force-pushed the cache-layers-size-globally branch from 1cf021e to 4354f1f Compare October 27, 2016 12:04
@legionus

Copy link
Copy Markdown
Contributor Author

@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).

@legionus

Copy link
Copy Markdown
Contributor Author

[test]

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 4354f1f

@openshift-bot

Copy link
Copy Markdown
Contributor

@smarterclayton

Copy link
Copy Markdown
Contributor

Great, thanks.

@smarterclayton

Copy link
Copy Markdown
Contributor

Any other comments? Otherwise this LGTM

@miminar miminar left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well

@smarterclayton

Copy link
Copy Markdown
Contributor

[merge]

On Thu, Oct 27, 2016 at 2:44 PM, Michal Minář [email protected]
wrote:

@miminar approved this pull request.

LGTM as well

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11558 (review),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG_p1dg1TfEiw4Jh_myjmLxT_-GWSHHks5q4PEKgaJpZM4KgETh
.

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 4354f1f

@openshift-bot

openshift-bot commented Oct 28, 2016 •

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10721/) (Base Commit: 6c62ba0) (Image: devenv-rhel7_5263)

@openshift-bot
openshift-bot merged commit 835d236 into openshift:master Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants