luckyframework / luckyframework/lucky_cache

Look at preemptive optimistic cache updating

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

hacktoberfest
Dominant language
Crystal
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I came across this Go package https://github.com/naughtygopher/pocache and the idea is awesome, and makes sense.

TL;DR:

  • Cache set for 10 min
  • Threshold configured for 1 min
  • Cache accessed between the 9 and 10 min mark
  • Background fetches new value so right at the 10min mark new cache is already cached and available.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points. Start by reviewing the linked pocache example, then clarify the cache API, refresh threshold, background-update behavior, and acceptance tests that would define completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
crystal, go
Domain
backend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.