Title: Add LRU cache service · Issue #142 · scijava/scijava-common · GitHub
Open Graph Title: Add LRU cache service · Issue #142 · scijava/scijava-common
X Title: Add LRU cache service · Issue #142 · scijava/scijava-common
Description: in #141 we stated the need for caching but not the method by which we would cache. In the long term we should have a generalized LRU cache that we can use to enforce memory constraints but allow caching of items that end up being used fr...
Open Graph Description: in #141 we stated the need for caching but not the method by which we would cache. In the long term we should have a generalized LRU cache that we can use to enforce memory constraints but allow ca...
X Description: in #141 we stated the need for caching but not the method by which we would cache. In the long term we should have a generalized LRU cache that we can use to enforce memory constraints but allow ca...
Opengraph URL: https://github.com/scijava/scijava-common/issues/142
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add LRU cache service","articleBody":"in https://github.com/scijava/scijava-common/issues/141 we stated the need for caching but not the method by which we would cache.\n\nIn the long term we should have a generalized LRU cache that we can use to enforce memory constraints but allow caching of items that end up being used frequently.\n\nAPI considerations\n- I would prefer that consumers do not have to manually release references when complete, but it would be nice if the cache could ensure certain items would be held in memory for a period of time. Maybe this is impossible though.. ?\n\nPotential design:\ngive the cache an object and the way to re-generate the object when needed... cache stores both, returns an object that then accesses the object and knows how to re-create it if needed. This seems maybe too dangerous though..?\n","author":{"url":"https://github.com/hinerm","@type":"Person","name":"hinerm"},"datePublished":"2015-01-27T21:48:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/142/scijava-common/issues/142"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:995abf6a-059b-d0cd-1eff-7fdb4c2625ee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD5C:385F9F:5F84E8:84577A:696A7AB1 |
| html-safe-nonce | 07563253b785354a4ae04131e2215b117a09445aea5e2b49e9b9109ed6e176ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDVDOjM4NUY5Rjo1Rjg0RTg6ODQ1NzdBOjY5NkE3QUIxIiwidmlzaXRvcl9pZCI6IjE0NzAwMTY0MTYzOTgzNDI4MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 70485e2a281ef10523ac392abbe2944ec5a22f6f001c97a57fd99d007b2047bc |
| hovercard-subject-tag | issue:55679340 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scijava/scijava-common/142/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f0832f944daa63cf9ee0343677e9dcfab0810ebfc9c33b14d9d5cc0ea023e244/scijava/scijava-common/issues/142 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f0832f944daa63cf9ee0343677e9dcfab0810ebfc9c33b14d9d5cc0ea023e244/scijava/scijava-common/issues/142 |
| og:image:alt | in #141 we stated the need for caching but not the method by which we would cache. In the long term we should have a generalized LRU cache that we can use to enforce memory constraints but allow ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hinerm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5b774e44f85c14a75886edd04ddda4e5a25ddebbb241bcbb590b08a3048730e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 3594497 |
| octolytics-dimension-repository_nwo | scijava/scijava-common |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3594497 |
| octolytics-dimension-repository_network_root_nwo | scijava/scijava-common |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cc5f4eee261b3601c1e98e217ceaf28508b9567e |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width