Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look at preemptive optimistic cache updating #14

Open
jwoertink opened this issue Oct 11, 2024 · 0 comments
Open

Look at preemptive optimistic cache updating #14

jwoertink opened this issue Oct 11, 2024 · 0 comments
Labels
hacktoberfest Valid Issue for Hacktoberfest

Comments

@jwoertink
Copy link
Member

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.
@jwoertink jwoertink added the hacktoberfest Valid Issue for Hacktoberfest label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Valid Issue for Hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant