Skip to content

Optionally Cache DB Entities #761

@RohanNagar

Description

@RohanNagar

Describe the problem that this feature would solve

As a potential enhancement, we can add an option of a cache. Thunder will cache user entities that it fetches from the DB so that for frequently accessed users we don't have to go to the database.

Problems to consider:

  • When Thunder is running with more than one instance, how do we ensure any local cache is not stale?

Describe the solution you'd like

Additional context

https://github.com/google/guava/wiki/CachesExplained

Metadata

Metadata

Assignees

Labels

P3Low priority. No set deadline to address.Size: LargeThe work involved in addressing this issue is substantial. Multiple days or weeks of work.Status: AvailableWork on this issue has not yet started and is available to be worked on.Type: FeatureAddresses adding a new feature to the application.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions