Skip to content

Production-Level Caching #63

Open
Open
@josh-byster

Description

@josh-byster

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Though we will be talking to Salesforce often as our "single source of truth" for data in production, it may be extremely useful to have caching functionality so that we don't have to keep hitting our Salesforce backend every time we want to do a search.

Say the time it takes Salesforce to respond to our API request is 2 seconds. If we want to, say, respond with updated search results every few key presses while the user is typing in the search field (i.e. debounce) then this wouldn't be feasible unless we had some intermediate cache layer.

Describe the solution you'd like
A clear and concise description of what you want to happen.

We could investigate multiple routes. One way is to use a fast key-value store such as Redis, however we'd want to investigate how we'd structure that data in a way that's meaningful to us, since it's purely key-value and not meant for storing JSON (though I've done it [maybe not the best way] in my personal projects).

Additional context
Add details, any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions