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 caching to get_users #924

Merged
merged 3 commits into from Oct 13, 2020
Merged

Add shared caching to get_users #924

merged 3 commits into from Oct 13, 2020

Conversation

piazzatron
Copy link
Contributor

Description

Add shared cache to get_users route, which we call repeatedly in feed.

Services

  • Discovery Provider
  • Creator Node
  • Identity Service
  • Libs
  • Contracts
  • Service Commands
  • Mad Dog

Does it touch a critical flow like Discovery indexing, Creator Node track upload, Creator Node gateway, or Creator Node file system?

Delete an option.

  • ✅ Nope

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide repro instructions & any configuration.
Include log analysis if applicable.

Locally against snapshot.

def get_unpopulated_users():
def get_users_and_ids():

can_user_shared_cache = (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@piazzatron piazzatron merged commit 86a67dc into master Oct 13, 2020
@piazzatron piazzatron deleted the piazz-users-cache-api branch October 13, 2020 20:55
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

Successfully merging this pull request may close these issues.

None yet

2 participants