Skip to content

Incremental suggestion caching #768

@fricklerhandwerk

Description

@fricklerhandwerk

Whenever we change the data model of cached suggestions, we currently have to recache all the suggestions. Since #714 this will make all views that contain suggestions go 500 because the unconditionally rely on the cached value. The downtime will go up linearly with number of suggestions...

Implementation notes

  • Show a placeholder when a given suggestion is pending a cached value
  • Trigger recaching on access
  • Bonus points for auto-replacement via websocket when done

Metadata

Metadata

Assignees

No one assigned

    Labels

    datasomething about quality or quantity of ingested dataperformance

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions