Skip to content

Graceful service degradation #1102

@isoos

Description

@isoos

We don't cache the results from search service, but we could introduce a network-first caching strategy for it:

  • we query the service the same way as now
  • we store the result in memcache (TTL = 1 hour)
  • when the service is down, we fall back to the cached results

This would not have prevented #1098 because its original cause was a memcache issue, but could be helpful in other cases, for short outages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions