Skip to content

Implement file based caching #17

@matthieugusmini

Description

@matthieugusmini

Implement file based caching to avoid querying the data everytime as they rarely change.

Suggestion

Implement a generic cache using generics so we can use it for bracket templates, stages, etc.

Some existing packages looks very interesting for implementing this feature:

We could probably implement an adapter around one of those.

To help us decide which one is the better fit here's some benchmarks. As this app doesn't have a high throughput and mostly performs read operations I'm leaning more toward bbolt but frankly speaking it doesn't really matter and any of these k/v store would fit just fine 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions