ares icon indicating copy to clipboard operation
ares copied to clipboard

persistent nock caching

Open matthew-levan opened this issue 1 year ago • 4 comments

Implements UIP-0103 for Ares. See https://github.com/urbit/vere/pull/508 for more. This PR depends on #143 to fix the "double jamming" problem, and also for an interface by which to implement cache reclamation/eviction for the persistent cache (keep).

Resolves #148.

matthew-levan avatar Dec 12 '23 15:12 matthew-levan

@matthew-levan aside from the PMA what does this need? We discussed eviction strategies, what is done in vere?

eamsden avatar Dec 16 '23 01:12 eamsden

Schmitt algorithm is implemented, see here: https://github.com/urbit/vere/pull/549

On Fri, Dec 15, 2023 at 8:05 PM Edward Amsden @.***> wrote:

@matthew-levan https://github.com/matthew-levan aside from the PMA what does this need? We discussed eviction strategies, what is done in vere?

— Reply to this email directly, view it on GitHub https://github.com/urbit/ares/pull/176#issuecomment-1858653420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV2DQRE5VBWZFFKZ4ZRTXPTYJTXWFAVCNFSM6AAAAABARU3AWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYGY2TGNBSGA . You are receiving this because you were mentioned.Message ID: @.***>

matthew-levan avatar Dec 16 '23 01:12 matthew-levan

I still need to test this too-- a couple bugs from earlier this week prevented me from booting and testing when I was writing this.

On Fri, Dec 15, 2023 at 8:55 PM Matthew LeVan @.***> wrote:

Schmitt algorithm is implemented, see here: https://github.com/urbit/vere/pull/549

On Fri, Dec 15, 2023 at 8:05 PM Edward Amsden @.***> wrote:

@matthew-levan https://github.com/matthew-levan aside from the PMA what does this need? We discussed eviction strategies, what is done in vere?

— Reply to this email directly, view it on GitHub https://github.com/urbit/ares/pull/176#issuecomment-1858653420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV2DQRE5VBWZFFKZ4ZRTXPTYJTXWFAVCNFSM6AAAAABARU3AWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYGY2TGNBSGA . You are receiving this because you were mentioned.Message ID: @.***>

matthew-levan avatar Dec 16 '23 01:12 matthew-levan

in vere, the underlying HAMT is also capped, with CLOCK eviction.

joemfb avatar Dec 16 '23 02:12 joemfb