Skip to content

Defer cache index touch writes - #19

Merged
jerenkrantz merged 1 commit into
mainfrom
justin.erenkrantz/defer-index-touches
Sep 2, 2026
Merged

Defer cache index touch writes#19
jerenkrantz merged 1 commit into
mainfrom
justin.erenkrantz/defer-index-touches

Conversation

@jerenkrantz

@jerenkrantz jerenkrantz commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • admit only expired LRU entries to a bounded, deduplicating touch worker
  • move LRU bookkeeping off cache-hit paths and batch deferred timestamp updates
  • avoid syncing eviction hints per read; refcount mutations retain their synchronous durability
  • cover freshness filtering, coalescing, and non-blocking local reads

Verification

  • go build ./...
  • go vet ./...
  • go test -race ./...

Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
@jerenkrantz
jerenkrantz force-pushed the justin.erenkrantz/defer-index-touches branch from fe6209e to dd675c4 Compare September 2, 2026 02:14
@jerenkrantz
jerenkrantz merged commit 8a3a72d into main Sep 2, 2026
1 check passed
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.

1 participant