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

Add shared caches for Balrog public app #2767

Open
bhearsum opened this issue Dec 20, 2022 · 2 comments
Open

Add shared caches for Balrog public app #2767

bhearsum opened this issue Dec 20, 2022 · 2 comments
Labels
public public Balrog app/api (aus5.mozilla.org; aus-api.mozilla.org)

Comments

@bhearsum
Copy link
Contributor

At the moment, the only caching we do at the app level is in-memory. This has two major drawbucks:

  • We have to rebuild the cache whenever pods cycle up - which happens often
  • The caches cannot be shared by multiple nodes - and there's no technical reason why they can't be

We could improve both of these things by adding memcache or something similar to the mix.

@bhearsum bhearsum added the public public Balrog app/api (aus5.mozilla.org; aus-api.mozilla.org) label Dec 20, 2022
@jbuck
Copy link
Contributor

jbuck commented Jan 10, 2023

I'd prefer to use redis over memcache, but this sounds like a good idea to me

@bhearsum
Copy link
Contributor Author

I'd prefer to use redis over memcache, but this sounds like a good idea to me

I have no strong opinion, so let's say that unless someone has a reason not to :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
public public Balrog app/api (aus5.mozilla.org; aus-api.mozilla.org)
Projects
None yet
Development

No branches or pull requests

2 participants