Skip to content

Look at preemptive optimistic cache updating #14

Description

@jwoertink

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    hacktoberfestValid Issue for Hacktoberfest

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions