Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate caching mottos for performance and other purposes. #79

Open
madi-vh opened this issue Apr 23, 2021 · 2 comments
Open

Investigate caching mottos for performance and other purposes. #79

madi-vh opened this issue Apr 23, 2021 · 2 comments

Comments

@madi-vh
Copy link
Contributor

madi-vh commented Apr 23, 2021

No description provided.

@dwrss
Copy link
Collaborator

dwrss commented May 6, 2021

  • Probably start off with a dictionary in memory
  • Always fall back to DB when an entry isn't found
  • Refresh periodically outside the critical path?

@dwrss
Copy link
Collaborator

dwrss commented May 6, 2021

Potentially useful things to cache initially:

  • Mottos (to check for duplicates)
  • Member details (though this would have to be more than memorisation?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants